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

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

Issue 11876036: Alternate NTP: Don't hide bookmark bar on instant (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: a Created 7 years, 11 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/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 c7932e1a4e82be119473347c5e143bbb352e2ec0..e6dea300bca18a68e3827a7f9dc96cd941c1ff6e 100644
--- a/chrome/browser/ui/cocoa/browser_window_controller.h
+++ b/chrome/browser/ui/cocoa/browser_window_controller.h
@@ -114,10 +114,6 @@ class WebContents;
// nil for those which don't).
scoped_nsobject<NSView> floatingBarBackingView_;
- // Tracks whether the floating bar is above or below the bookmark bar, in
- // terms of z-order.
- BOOL floatingBarAboveBookmarkBar_;
-
// The borderless window used in fullscreen mode. Lion reuses the original
// window in fullscreen mode, so this is always nil on Lion.
scoped_nsobject<NSWindow> fullscreenWindow_;
@@ -163,6 +159,10 @@ class WebContents;
// The Extension Command Registry used to determine which keyboard events to
// handle.
scoped_ptr<ExtensionKeybindingRegistryCocoa> extension_keybinding_registry_;
+
+ // The offset between the bottom of the toolbar and web contents. This is used
kuan 2013/01/17 18:25:51 nit: s/used/used to/
sail 2013/01/17 18:54:55 Done.
+ // push the web contents below the bookmark bar.
+ CGFloat toolbarToWebContentsOffset_;
}
// A convenience class method which gets the |BrowserWindowController| for a
@@ -325,6 +325,8 @@ class WebContents;
returnCode:(NSInteger)code
context:(void*)context;
+- (void)updateBookmarkStateForInstantPreview;
+
@end // @interface BrowserWindowController

Powered by Google App Engine
This is Rietveld 408576698