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

Unified Diff: chrome/browser/views/toolbar_view.h

Issue 3033036: Toolbar layout changes for M6 theme. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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/views/toolbar_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/toolbar_view.h
===================================================================
--- chrome/browser/views/toolbar_view.h (revision 53894)
+++ chrome/browser/views/toolbar_view.h (working copy)
@@ -117,6 +117,13 @@
virtual void Paint(gfx::Canvas* canvas);
virtual void OnThemeChanged();
+ // The apparent horizontal space between most items, and the vertical padding
+ // above and below them.
+ static const int kStandardSpacing;
+ // The top of the toolbar has an edge we have to skip over in addition to the
+ // standard spacing.
+ static const int kVertSpacing;
+
protected:
// Overridden from AccessibleToolbarView
@@ -149,7 +156,7 @@
// Gets a canvas with the icon for the app menu. It will possibly contain
// an overlaid badge if an update is recommended.
- SkBitmap GetAppMenuIcon();
+ SkBitmap GetAppMenuIcon(views::CustomButton::ButtonState state);
scoped_ptr<BackForwardMenuModel> back_menu_model_;
scoped_ptr<BackForwardMenuModel> forward_menu_model_;
« no previous file with comments | « no previous file | chrome/browser/views/toolbar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698