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

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

Issue 798283002: Cleanup: Move PaintVerticalDivider() into bookmark_bar_view.cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 bee06e406ae529f43007d7921effa27e4fb4d84f..8cff9c16c7582bd16118f07585220a48be487fd6 100644
--- a/chrome/browser/ui/views/detachable_toolbar_view.h
+++ b/chrome/browser/ui/views/detachable_toolbar_view.h
@@ -8,8 +8,6 @@
#include "chrome/browser/ui/host_desktop.h"
#include "ui/views/accessible_pane_view.h"
-struct SkRect;
-
// DetachableToolbarView contains functionality common to views that can detach
// from the Chrome frame, such as the BookmarkBarView and the Extension shelf.
class DetachableToolbarView : public views::AccessiblePaneView {
@@ -43,21 +41,6 @@ class DetachableToolbarView : public views::AccessiblePaneView {
bool at_top,
SkColor color);
- // Paint a themed gradient divider at location |x|. |height| is the full
- // height of the view you want to paint the divider into, not the height of
- // the divider. The height of the divider will become:
- // |height| - 2 * |vertical_padding|.
- // The color of the divider is a gradient starting with |top_color| at the
- // top, and changing into |middle_color| and then over to |bottom_color| as
- // you go further down.
- static void PaintVerticalDivider(gfx::Canvas* canvas,
- int x,
- int height,
- int vertical_padding,
- SkColor top_color,
- SkColor middle_color,
- SkColor bottom_color);
-
private:
DISALLOW_COPY_AND_ASSIGN(DetachableToolbarView);
};
« 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