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

Side by Side Diff: ui/views/controls/button/checkbox.h

Issue 10827271: Replace views::Event with ui::Event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/views/controls/button/button_dropdown.cc ('k') | ui/views/controls/button/checkbox.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) 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 UI_VIEWS_CONTROLS_BUTTON_CHECKBOX_H_ 5 #ifndef UI_VIEWS_CONTROLS_BUTTON_CHECKBOX_H_
6 #define UI_VIEWS_CONTROLS_BUTTON_CHECKBOX_H_ 6 #define UI_VIEWS_CONTROLS_BUTTON_CHECKBOX_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 21 matching lines...) Expand all
32 32
33 protected: 33 protected:
34 // Overridden from View: 34 // Overridden from View:
35 virtual gfx::Size GetPreferredSize() OVERRIDE; 35 virtual gfx::Size GetPreferredSize() OVERRIDE;
36 virtual std::string GetClassName() const OVERRIDE; 36 virtual std::string GetClassName() const OVERRIDE;
37 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; 37 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE;
38 virtual void OnPaintFocusBorder(gfx::Canvas* canvas) OVERRIDE; 38 virtual void OnPaintFocusBorder(gfx::Canvas* canvas) OVERRIDE;
39 39
40 private: 40 private:
41 // Overridden from Button: 41 // Overridden from Button:
42 virtual void NotifyClick(const views::Event& event) OVERRIDE; 42 virtual void NotifyClick(const ui::Event& event) OVERRIDE;
43 43
44 // Overridden from TextButtonBase: 44 // Overridden from TextButtonBase:
45 virtual ui::NativeTheme::Part GetThemePart() const OVERRIDE; 45 virtual ui::NativeTheme::Part GetThemePart() const OVERRIDE;
46 virtual gfx::Rect GetThemePaintRect() const OVERRIDE; 46 virtual gfx::Rect GetThemePaintRect() const OVERRIDE;
47 virtual void GetExtraParams( 47 virtual void GetExtraParams(
48 ui::NativeTheme::ExtraParams* params) const OVERRIDE; 48 ui::NativeTheme::ExtraParams* params) const OVERRIDE;
49 virtual gfx::Rect GetTextBounds() const OVERRIDE; 49 virtual gfx::Rect GetTextBounds() const OVERRIDE;
50 50
51 // True if the checkbox is checked. 51 // True if the checkbox is checked.
52 bool checked_; 52 bool checked_;
53 53
54 DISALLOW_COPY_AND_ASSIGN(Checkbox); 54 DISALLOW_COPY_AND_ASSIGN(Checkbox);
55 }; 55 };
56 56
57 } // namespace views 57 } // namespace views
58 58
59 #endif // UI_VIEWS_CONTROLS_BUTTON_CHECKBOX_H_ 59 #endif // UI_VIEWS_CONTROLS_BUTTON_CHECKBOX_H_
OLDNEW
« no previous file with comments | « ui/views/controls/button/button_dropdown.cc ('k') | ui/views/controls/button/checkbox.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698