Skip to content

Commit

Permalink
fixup! Add BrowserWindowInterface mock for split view tests
Browse files Browse the repository at this point in the history
  • Loading branch information
emerick committed Sep 8, 2024
1 parent 7b2189a commit 953c6d9
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at https://mozilla.org/MPL/2.0/. */

#ifndef BRAVE_BROWSER_UI_TABS_TEST_BROWSER_WINDOW_INTERFACE_TEST_TAB_STRIP_DELEGATE_H_
#define BRAVE_BROWSER_UI_TABS_TEST_BROWSER_WINDOW_INTERFACE_TEST_TAB_STRIP_DELEGATE_H_

#include <memory>

#include "chrome/browser/ui/browser_window/public/browser_window_features.h"
Expand Down Expand Up @@ -62,7 +65,7 @@ class BrowserWindowInterfaceTestTabStripModelDelegate
base::CallbackListSubscription RegisterDidBecomeActive(
DidBecomeActiveCallback callback) override;
base::CallbackListSubscription RegisterDidBecomeInactive(
DidBecomeInactiveCallback callback) override;
DidBecomeInactiveCallback callback) override;
ExclusiveAccessManager* GetExclusiveAccessManager() override;
BrowserActions* GetActions() override;
BrowserWindowInterface::Type GetType() const override;
Expand Down Expand Up @@ -96,3 +99,5 @@ class BrowserWindowInterfaceTestTabStripModelDelegate
private:
std::unique_ptr<BrowserWindowInterface> interface_;
};

#endif // BRAVE_BROWSER_UI_TABS_TEST_BROWSER_WINDOW_INTERFACE_TEST_TAB_STRIP_DELEGATE_H_

0 comments on commit 953c6d9

Please sign in to comment.