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

Side by Side Diff: chrome/browser/ui/views/about_chrome_view.h

Issue 9562038: ui/gfx: Make gfx::Canvas inherit from gfx::CanvasSkia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes Created 8 years, 9 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_UI_VIEWS_ABOUT_CHROME_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_ABOUT_CHROME_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_ABOUT_CHROME_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_ABOUT_CHROME_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 public: 43 public:
44 explicit AboutChromeView(Profile* profile); 44 explicit AboutChromeView(Profile* profile);
45 virtual ~AboutChromeView(); 45 virtual ~AboutChromeView();
46 46
47 // Initialize the controls on the dialog. 47 // Initialize the controls on the dialog.
48 void Init(); 48 void Init();
49 49
50 // Overridden from views::View: 50 // Overridden from views::View:
51 virtual gfx::Size GetPreferredSize() OVERRIDE; 51 virtual gfx::Size GetPreferredSize() OVERRIDE;
52 virtual void Layout() OVERRIDE; 52 virtual void Layout() OVERRIDE;
53 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 53 virtual void OnPaint(gfx::CanvasSkia* canvas) OVERRIDE;
54 virtual void ViewHierarchyChanged(bool is_add, 54 virtual void ViewHierarchyChanged(bool is_add,
55 views::View* parent, 55 views::View* parent,
56 views::View* child) OVERRIDE; 56 views::View* child) OVERRIDE;
57 57
58 // Overridden from views::DialogDelegate: 58 // Overridden from views::DialogDelegate:
59 virtual string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE; 59 virtual string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE;
60 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; 60 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE;
61 virtual bool IsDialogButtonVisible(ui::DialogButton button) const OVERRIDE; 61 virtual bool IsDialogButtonVisible(ui::DialogButton button) const OVERRIDE;
62 virtual int GetDefaultDialogButton() const OVERRIDE; 62 virtual int GetDefaultDialogButton() const OVERRIDE;
63 virtual bool CanResize() const OVERRIDE; 63 virtual bool CanResize() const OVERRIDE;
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 // The version Google Update reports is available to us. 141 // The version Google Update reports is available to us.
142 string16 new_version_available_; 142 string16 new_version_available_;
143 143
144 // Whether text direction is left-to-right or right-to-left. 144 // Whether text direction is left-to-right or right-to-left.
145 bool text_direction_is_rtl_; 145 bool text_direction_is_rtl_;
146 146
147 DISALLOW_COPY_AND_ASSIGN(AboutChromeView); 147 DISALLOW_COPY_AND_ASSIGN(AboutChromeView);
148 }; 148 };
149 149
150 #endif // CHROME_BROWSER_UI_VIEWS_ABOUT_CHROME_VIEW_H_ 150 #endif // CHROME_BROWSER_UI_VIEWS_ABOUT_CHROME_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698