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

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

Issue 1133283006: [PermissionBubble] Handle ownership management x-platform. Base URL: https://chromium.googlesource.com/chromium/src.git@argfix
Patch Set: And remove the platform-specific stuff. Created 5 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/ui/browser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.h
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
index 0fee68b7c1e9c9e33e3d884a9da82c28cf688834..964300bdcc5c87864b6a2bf1ebd9d7e8f23ef206 100644
--- a/chrome/browser/ui/browser.h
+++ b/chrome/browser/ui/browser.h
@@ -65,6 +65,7 @@ class SearchModel;
class StatusBubble;
class TabStripModel;
class TabStripModelDelegate;
+class PermissionBubbleView;
class ValidationMessageBubble;
struct WebApplicationInfo;
@@ -822,6 +823,11 @@ class Browser : public TabStripModelObserver,
// BrowserWindow if necessary.
void UpdateBookmarkBarState(BookmarkBarStateChangeReason reason);
+ // Transfers the permission bubble view between tabs, updating it
+ // according to the new tab's state.
+ void TransferPermissionBubble(content::WebContents* old_contents,
+ content::WebContents* new_contents);
+
bool ShouldHideUIForFullscreen() const;
// Creates a BackgroundContents if appropriate; return true if one was
@@ -978,6 +984,8 @@ class Browser : public TabStripModelObserver,
scoped_ptr<ValidationMessageBubble> validation_message_bubble_;
+ scoped_ptr<PermissionBubbleView> permission_bubble_;
+
// The following factory is used for chrome update coalescing.
base::WeakPtrFactory<Browser> chrome_updater_factory_;
« no previous file with comments | « no previous file | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698