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

Side by Side Diff: ui/views/examples/table_example.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/examples/tabbed_pane_example.cc ('k') | ui/views/examples/table_example.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_EXAMPLES_TABLE_EXAMPLE_H_ 5 #ifndef UI_VIEWS_EXAMPLES_TABLE_EXAMPLE_H_
6 #define UI_VIEWS_EXAMPLES_TABLE_EXAMPLE_H_ 6 #define UI_VIEWS_EXAMPLES_TABLE_EXAMPLE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 // TableViewObserver: 47 // TableViewObserver:
48 virtual void OnSelectionChanged() OVERRIDE; 48 virtual void OnSelectionChanged() OVERRIDE;
49 virtual void OnDoubleClick() OVERRIDE; 49 virtual void OnDoubleClick() OVERRIDE;
50 virtual void OnMiddleClick() OVERRIDE; 50 virtual void OnMiddleClick() OVERRIDE;
51 virtual void OnKeyDown(ui::KeyboardCode virtual_keycode) OVERRIDE; 51 virtual void OnKeyDown(ui::KeyboardCode virtual_keycode) OVERRIDE;
52 virtual void OnTableViewDelete(TableView* table_view) OVERRIDE; 52 virtual void OnTableViewDelete(TableView* table_view) OVERRIDE;
53 virtual void OnTableView2Delete(TableView2* table_view) OVERRIDE; 53 virtual void OnTableView2Delete(TableView2* table_view) OVERRIDE;
54 54
55 // ButtonListener: 55 // ButtonListener:
56 virtual void ButtonPressed(Button* sender, const Event& event) OVERRIDE; 56 virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE;
57 57
58 private: 58 private:
59 // The table to be tested. 59 // The table to be tested.
60 TableView* table_; 60 TableView* table_;
61 61
62 Checkbox* column1_visible_checkbox_; 62 Checkbox* column1_visible_checkbox_;
63 Checkbox* column2_visible_checkbox_; 63 Checkbox* column2_visible_checkbox_;
64 Checkbox* column3_visible_checkbox_; 64 Checkbox* column3_visible_checkbox_;
65 Checkbox* column4_visible_checkbox_; 65 Checkbox* column4_visible_checkbox_;
66 66
67 SkBitmap icon1_; 67 SkBitmap icon1_;
68 SkBitmap icon2_; 68 SkBitmap icon2_;
69 69
70 DISALLOW_COPY_AND_ASSIGN(TableExample); 70 DISALLOW_COPY_AND_ASSIGN(TableExample);
71 }; 71 };
72 72
73 } // namespace examples 73 } // namespace examples
74 } // namespace views 74 } // namespace views
75 75
76 #endif // UI_VIEWS_EXAMPLES_TABLE_EXAMPLE_H_ 76 #endif // UI_VIEWS_EXAMPLES_TABLE_EXAMPLE_H_
OLDNEW
« no previous file with comments | « ui/views/examples/tabbed_pane_example.cc ('k') | ui/views/examples/table_example.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698