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

Unified Diff: chrome/browser/views/frame/standard_extender.cc

Issue 329009: CompactNavigationBar for toolkit views build, with some design change per Cole's request. (Closed)
Patch Set: updates per review Created 11 years, 2 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 | « chrome/browser/views/frame/browser_view.cc ('k') | chrome/browser/views/location_bar_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/frame/standard_extender.cc
diff --git a/chrome/browser/views/frame/standard_extender.cc b/chrome/browser/views/frame/standard_extender.cc
index 3f32fa66d219ca942b3abf0743f3147ea5367254..c7370b8d916c690238d29c510a3d4fb2d0207bc5 100644
--- a/chrome/browser/views/frame/standard_extender.cc
+++ b/chrome/browser/views/frame/standard_extender.cc
@@ -18,11 +18,14 @@ class StandardExtender : public BrowserExtender {
private:
// BrowserExtender overrides.
virtual void Init() {}
+ virtual gfx::Rect Layout(const gfx::Rect& bounds) { return bounds; }
virtual bool NonClientHitTest(const gfx::Point& point) { return false; }
virtual void Show() {}
virtual void Close() {}
virtual void UpdateTitleBar() {}
virtual void ActivationChanged() {}
+ virtual bool ShouldForceHideToolbar() { return false; }
+ virtual void ToggleCompactNavigationBar() {}
DISALLOW_COPY_AND_ASSIGN(StandardExtender);
};
« no previous file with comments | « chrome/browser/views/frame/browser_view.cc ('k') | chrome/browser/views/location_bar_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698