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

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

Issue 16632009: Set AllowOverlappingViews for history overlay (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/cocoa/browser_window_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/browser_window_controller.h
diff --git a/chrome/browser/ui/cocoa/browser_window_controller.h b/chrome/browser/ui/cocoa/browser_window_controller.h
index 7311745771e0abbafa73c3034455886024620b99..d11e7523b6cddd2eccba6b4a1ea4edb11c054d8c 100644
--- a/chrome/browser/ui/cocoa/browser_window_controller.h
+++ b/chrome/browser/ui/cocoa/browser_window_controller.h
@@ -162,6 +162,9 @@ class WebContents;
// The offset between the bottom of the toolbar and web contents. This is used
// to push the web contents below the bookmark bar.
CGFloat toolbarToWebContentsOffset_;
+
+ // The number of history overlay views being shown.
+ size_t historyOverlayCount_;
Robert Sesek 2013/06/10 23:02:12 NSUInteger seems more apt.
sail 2013/06/11 19:20:13 Done.
}
// A convenience class method which gets the |BrowserWindowController| for a
@@ -341,10 +344,21 @@ class WebContents;
returnCode:(NSInteger)code
context:(void*)context;
+// Updates the bookmark bar visibility based on the instant overlay state.
- (void)updateBookmarkBarStateForInstantOverlay;
+// Called when the find bar visibility changes. This is used to update the
+// allowOverlappingViews state.
- (void)onFindBarVisibilityChanged;
+// Called when a history overlay is shown. This is used to update the
+// allowOverlappingViews state.
+- (void)onHistoryOverlayShown;
+
+// Called when a history overlay is hidden. This is used to update the
+// allowOverlappingViews state.
+- (void)onHistoryOverlayHidden;
+
@end // @interface BrowserWindowController
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698