OLD | NEW |
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_TEXTFIELD_TEXTFIELD_CONTROLLER_H_ | 5 #ifndef UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_CONTROLLER_H_ |
6 #define UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_CONTROLLER_H_ | 6 #define UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_CONTROLLER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/string16.h" | 10 #include "base/strings/string16.h" |
11 #include "ui/base/dragdrop/os_exchange_data.h" | 11 #include "ui/base/dragdrop/os_exchange_data.h" |
12 #include "ui/views/views_export.h" | 12 #include "ui/views/views_export.h" |
13 | 13 |
14 namespace ui { | 14 namespace ui { |
15 class KeyEvent; | 15 class KeyEvent; |
16 class MouseEvent; | 16 class MouseEvent; |
17 class SimpleMenuModel; | 17 class SimpleMenuModel; |
18 } // namespace ui | 18 } // namespace ui |
19 | 19 |
20 namespace views { | 20 namespace views { |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 // Execute context menu command specified by |command_id|. | 99 // Execute context menu command specified by |command_id|. |
100 virtual void ExecuteCommand(int command_id, int event_flag) {} | 100 virtual void ExecuteCommand(int command_id, int event_flag) {} |
101 | 101 |
102 protected: | 102 protected: |
103 virtual ~TextfieldController() {} | 103 virtual ~TextfieldController() {} |
104 }; | 104 }; |
105 | 105 |
106 } // namespace views | 106 } // namespace views |
107 | 107 |
108 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_CONTROLLER_H_ | 108 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_CONTROLLER_H_ |
OLD | NEW |