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

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

Issue 10662032: alternate ntp (cros/partial-win): add tab-related stuff and toolbar/tab background change (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed scott's comments Created 8 years, 6 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 52374c0f43477641e6a09c4a5b971c023a498046..f4214f25e252dc910dad88dc78fbaa1bfc191405 100644
--- a/chrome/browser/ui/views/detachable_toolbar_view.h
+++ b/chrome/browser/ui/views/detachable_toolbar_view.h
@@ -8,6 +8,10 @@
#include "ui/views/accessible_pane_view.h"
+namespace gfx {
+class ImageSkia;
+}
+
struct SkRect;
// DetachableToolbarView contains functionality common to views that can detach
@@ -34,9 +38,12 @@ class DetachableToolbarView : public views::AccessiblePaneView {
// 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.
- static void PaintBackgroundAttachedMode(gfx::Canvas* canvas,
- views::View* view,
- const gfx::Point& background_origin);
+ static void PaintBackgroundAttachedMode(
+ gfx::Canvas* canvas,
+ views::View* view,
+ const gfx::Point& background_origin,
+ SkColor toolbar_background_color,
+ gfx::ImageSkia* toolbar_background_image);
// Calculate the rect for the content area of the bar/shelf. This is only
// needed when the bar/shelf is detached from the Chrome frame (otherwise the
« no previous file with comments | « chrome/browser/ui/views/ash/browser_non_client_frame_view_ash.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