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

Unified Diff: chrome/browser/ui/panels/panel_window_controller_cocoa.h

Issue 7734003: Implement basic theming for panel titlebars. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 4 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/panels/panel_window_controller_cocoa.h
diff --git a/chrome/browser/ui/panels/panel_window_controller_cocoa.h b/chrome/browser/ui/panels/panel_window_controller_cocoa.h
index 94df28d5650656d07b6fd555cb0caa9f7531de90..6445b304d2752eb3a43bdf382f83dd0cde500cf9 100644
--- a/chrome/browser/ui/panels/panel_window_controller_cocoa.h
+++ b/chrome/browser/ui/panels/panel_window_controller_cocoa.h
@@ -14,6 +14,10 @@
#import "base/mac/cocoa_protocols.h"
#include "base/memory/scoped_ptr.h"
+namespace ui {
+class ThemeProvider;
+};
+
@class FindBarCocoaController;
class PanelBrowserWindowCocoa;
@class PanelTitlebarViewCocoa;
@@ -27,6 +31,8 @@ class PanelBrowserWindowCocoa;
// Load the browser window nib and do any Cocoa-specific initialization.
- (id)initWithBrowserWindow:(PanelBrowserWindowCocoa*)window;
+- (ui::ThemeProvider*)themeProvider;
Dmitry Titov 2011/08/25 00:08:21 ThemedBrowserWindow looks for 3 selectors on the c
dcheng 2011/08/25 18:48:54 We probably need all 3 eventually, but as I mentio
Dmitry Titov 2011/08/25 19:24:51 Since you are adding plumbing in this patch, I thi
dcheng 2011/08/26 23:04:42 I've implemented the other two methods. There's so
+
// Returns the TabContents' native view. It renders the content of the web page
// in the Panel.
- (NSView*)tabContentsView;

Powered by Google App Engine
This is Rietveld 408576698