Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2649)

Unified Diff: chrome/browser/ui/browser_window.h

Issue 877413004: Refactor away the Browser* dependency in exclusive_access (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix broken mac change Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/browser_window.h
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h
index 7f416fce125d480b19e8c00790a96fbbe9525dea..ea17ad5fa919a767756b98561f2fdf50b9a318f5 100644
--- a/chrome/browser/ui/browser_window.h
+++ b/chrome/browser/ui/browser_window.h
@@ -22,6 +22,7 @@
class Browser;
class DownloadShelf;
+class ExclusiveAccessContext;
class FindBar;
class GlobalErrorBubbleViewBase;
class GURL;
@@ -131,7 +132,7 @@ class BrowserWindow : public ui::BaseWindow {
ExclusiveAccessBubbleType bubble_type,
bool with_toolbar) = 0;
virtual void ExitFullscreen() = 0;
- virtual void UpdateFullscreenExitBubbleContent(
+ virtual void UpdateExclusiveAccessExitBubbleContent(
const GURL& url,
ExclusiveAccessBubbleType bubble_type) = 0;
@@ -395,6 +396,9 @@ class BrowserWindow : public ui::BaseWindow {
virtual void ExecuteExtensionCommand(const extensions::Extension* extension,
const extensions::Command& command) = 0;
+ // Returns object implementing ExclusiveAccessContext interface.
+ virtual ExclusiveAccessContext* GetExclusiveAccessContext() = 0;
+
protected:
friend class BrowserCloseManager;
friend class BrowserView;
« no previous file with comments | « chrome/browser/ui/browser_command_controller_unittest.cc ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698