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_; |