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

Unified Diff: chrome/browser/ui/views/detachable_toolbar_view.h

Issue 12013004: alternate ntp: unpinned bookmark bar in ntp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/views/detachable_toolbar_view.h
diff --git a/chrome/browser/ui/views/detachable_toolbar_view.h b/chrome/browser/ui/views/detachable_toolbar_view.h
index 9d57f7a93d6a3b3326c07cd1bd54982c05c3c74a..13f0309162afbe780533ddc7610934314fa69e1a 100644
--- a/chrome/browser/ui/views/detachable_toolbar_view.h
+++ b/chrome/browser/ui/views/detachable_toolbar_view.h
@@ -30,10 +30,6 @@ class DetachableToolbarView : public views::AccessiblePaneView {
// Gets the current amount of overlap atop the browser toolbar.
virtual int GetToolbarOverlap() const = 0;
- // Gets the Left/Right margins to use, if any.
- virtual int GetLeftMargin() const = 0;
- virtual int GetRightMargin() const = 0;
-
// Paints the background (including the theme image behind content area) when
// the bar/shelf is attached to the top toolbar. |background_origin| is the
// origin to use for painting the theme image.
@@ -54,16 +50,10 @@ class DetachableToolbarView : public views::AccessiblePaneView {
double* roundness,
views::View* view);
- // Paint the horizontal border separating the shelf/bar from the page content,
- // with COLOR_TOOLBAR_SEPARATOR.
+ // Paint the horizontal border separating the shelf/bar from the page content.
static void PaintHorizontalBorder(gfx::Canvas* canvas,
DetachableToolbarView* view);
- // Similar to PaintHorizontalBorder but with the specified |border_color|.
- static void PaintHorizontalBorderWithColor(gfx::Canvas* canvas,
- DetachableToolbarView* view,
- SkColor border_color);
-
// Paint the background of the content area (the surface behind the
// bookmarks). |rect| is the rectangle to paint the background within.
// |roundness| describes the roundness of the corners.
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc ('k') | chrome/browser/ui/views/detachable_toolbar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698