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

Unified Diff: chrome/browser/ui/views/frame/browser_non_client_frame_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: removed images from cl 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/frame/browser_non_client_frame_view.h
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view.h b/chrome/browser/ui/views/frame/browser_non_client_frame_view.h
index 5084ab0d6b969bbec020228337f7015808e04611..8b57383691e695248d56dad179d040746fe4d79a 100644
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view.h
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view.h
@@ -7,8 +7,13 @@
#pragma once
#include "base/memory/scoped_ptr.h"
+#include "chrome/browser/ui/search/search_types.h"
#include "ui/views/window/non_client_view.h"
+namespace gfx {
+class ImageSkia;
+} // namespace gfx
+
class AvatarMenuButton;
class BrowserFrame;
class BrowserView;
@@ -46,6 +51,12 @@ class BrowserNonClientFrameView : public views::NonClientFrameView {
// Updates the title and icon of the avatar button.
void UpdateAvatarInfo();
+ // Returns the toolbar background color.
+ SkColor GetToolbarBackgroundColor(chrome::search::Mode::Type mode);
+
+ // Returns the toolbar background image.
+ gfx::ImageSkia* GetToolbarBackgroundImage(chrome::search::Mode::Type mode);
+
private:
// The frame that hosts this view.
BrowserFrame* frame_;

Powered by Google App Engine
This is Rietveld 408576698