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

Side by Side Diff: chrome/browser/views/toolbar_view.h

Issue 113443: ChromeCanvas->gfx::Canvas (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 | « chrome/browser/views/theme_helpers.cc ('k') | chrome/browser/views/toolbar_view.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_TOOLBAR_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_TOOLBAR_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_TOOLBAR_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_TOOLBAR_VIEW_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/ref_counted.h" 10 #include "base/ref_counted.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 public AutocompletePopupPositioner { 47 public AutocompletePopupPositioner {
48 public: 48 public:
49 explicit BrowserToolbarView(Browser* browser); 49 explicit BrowserToolbarView(Browser* browser);
50 virtual ~BrowserToolbarView(); 50 virtual ~BrowserToolbarView();
51 51
52 // Create the contents of the Browser Toolbar 52 // Create the contents of the Browser Toolbar
53 void Init(Profile* profile); 53 void Init(Profile* profile);
54 54
55 // views::View 55 // views::View
56 virtual void Layout(); 56 virtual void Layout();
57 virtual void Paint(ChromeCanvas* canvas); 57 virtual void Paint(gfx::Canvas* canvas);
58 virtual void DidGainFocus(); 58 virtual void DidGainFocus();
59 virtual void WillLoseFocus(); 59 virtual void WillLoseFocus();
60 virtual bool OnKeyPressed(const views::KeyEvent& e); 60 virtual bool OnKeyPressed(const views::KeyEvent& e);
61 virtual bool OnKeyReleased(const views::KeyEvent& e); 61 virtual bool OnKeyReleased(const views::KeyEvent& e);
62 virtual gfx::Size GetPreferredSize(); 62 virtual gfx::Size GetPreferredSize();
63 virtual bool GetAccessibleName(std::wstring* name); 63 virtual bool GetAccessibleName(std::wstring* name);
64 virtual bool GetAccessibleRole(AccessibilityTypes::Role* role); 64 virtual bool GetAccessibleRole(AccessibilityTypes::Role* role);
65 virtual void SetAccessibleName(const std::wstring& name); 65 virtual void SetAccessibleName(const std::wstring& name);
66 virtual void ThemeChanged(); 66 virtual void ThemeChanged();
67 67
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 scoped_refptr<GetProfilesHelper> profiles_helper_; 208 scoped_refptr<GetProfilesHelper> profiles_helper_;
209 209
210 // Controls whether or not a home button should be shown on the toolbar. 210 // Controls whether or not a home button should be shown on the toolbar.
211 BooleanPrefMember show_home_button_; 211 BooleanPrefMember show_home_button_;
212 212
213 // The display mode used when laying out the toolbar. 213 // The display mode used when laying out the toolbar.
214 DisplayMode display_mode_; 214 DisplayMode display_mode_;
215 }; 215 };
216 216
217 #endif // CHROME_BROWSER_VIEWS_TOOLBAR_VIEW_H_ 217 #endif // CHROME_BROWSER_VIEWS_TOOLBAR_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/theme_helpers.cc ('k') | chrome/browser/views/toolbar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698