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

Side by Side Diff: chrome/browser/views/frame/browser_frame_win.h

Issue 115729: Really theme the find bar. We were previously getting the DefaultThemeProvide... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/views/frame/browser_frame_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_WIN_ 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_WIN_
6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_WIN_ 6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_WIN_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "chrome/browser/views/frame/browser_frame.h" 9 #include "chrome/browser/views/frame/browser_frame.h"
10 #include "views/window/window_win.h" 10 #include "views/window/window_win.h"
(...skipping 26 matching lines...) Expand all
37 // BrowserFrame implementation. 37 // BrowserFrame implementation.
38 virtual views::Window* GetWindow(); 38 virtual views::Window* GetWindow();
39 virtual void TabStripCreated(TabStrip* tabstrip); 39 virtual void TabStripCreated(TabStrip* tabstrip);
40 virtual int GetMinimizeButtonOffset() const; 40 virtual int GetMinimizeButtonOffset() const;
41 virtual gfx::Rect GetBoundsForTabStrip(TabStrip* tabstrip) const; 41 virtual gfx::Rect GetBoundsForTabStrip(TabStrip* tabstrip) const;
42 virtual void UpdateThrobber(bool running); 42 virtual void UpdateThrobber(bool running);
43 virtual ThemeProvider* GetThemeProviderForFrame() const; 43 virtual ThemeProvider* GetThemeProviderForFrame() const;
44 44
45 // Overridden from views::Widget. 45 // Overridden from views::Widget.
46 virtual ThemeProvider* GetThemeProvider() const; 46 virtual ThemeProvider* GetThemeProvider() const;
47 virtual ThemeProvider* GetDialogThemeProvider() const; 47 virtual ThemeProvider* GetDefaultThemeProvider() const;
48 48
49 BrowserView* browser_view() const { return browser_view_; } 49 BrowserView* browser_view() const { return browser_view_; }
50 50
51 protected: 51 protected:
52 // Overridden from views::WidgetWin: 52 // Overridden from views::WidgetWin:
53 virtual bool AcceleratorPressed(views::Accelerator* accelerator); 53 virtual bool AcceleratorPressed(views::Accelerator* accelerator);
54 virtual bool GetAccelerator(int cmd_id, views::Accelerator* accelerator); 54 virtual bool GetAccelerator(int cmd_id, views::Accelerator* accelerator);
55 virtual void OnEnterSizeMove(); 55 virtual void OnEnterSizeMove();
56 virtual void OnEndSession(BOOL ending, UINT logoff); 56 virtual void OnEndSession(BOOL ending, UINT logoff);
57 virtual void OnInitMenuPopup(HMENU menu, UINT position, BOOL is_system_menu); 57 virtual void OnInitMenuPopup(HMENU menu, UINT position, BOOL is_system_menu);
(...skipping 29 matching lines...) Expand all
87 BrowserRootView* root_view_; 87 BrowserRootView* root_view_;
88 88
89 bool frame_initialized_; 89 bool frame_initialized_;
90 90
91 Profile* profile_; 91 Profile* profile_;
92 92
93 DISALLOW_COPY_AND_ASSIGN(BrowserFrameWin); 93 DISALLOW_COPY_AND_ASSIGN(BrowserFrameWin);
94 }; 94 };
95 95
96 #endif // #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_WIN_ 96 #endif // #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_WIN_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/views/frame/browser_frame_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698