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

Side by Side Diff: ui/views/controls/combobox/combobox.h

Issue 2826313006: views: remove PlatformStyle combobox hooks (Closed)
Patch Set: remove BUILD lines for deleted icons Created 3 years, 8 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
« no previous file with comments | « ui/views/BUILD.gn ('k') | ui/views/controls/combobox/combobox.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_COMBOBOX_COMBOBOX_H_ 5 #ifndef UI_VIEWS_CONTROLS_COMBOBOX_COMBOBOX_H_
6 #define UI_VIEWS_CONTROLS_COMBOBOX_COMBOBOX_H_ 6 #define UI_VIEWS_CONTROLS_COMBOBOX_COMBOBOX_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 gfx::Size GetPreferredSize() const override; 94 gfx::Size GetPreferredSize() const override;
95 const char* GetClassName() const override; 95 const char* GetClassName() const override;
96 bool SkipDefaultKeyEventProcessing(const ui::KeyEvent& e) override; 96 bool SkipDefaultKeyEventProcessing(const ui::KeyEvent& e) override;
97 bool OnKeyPressed(const ui::KeyEvent& e) override; 97 bool OnKeyPressed(const ui::KeyEvent& e) override;
98 bool OnKeyReleased(const ui::KeyEvent& e) override; 98 bool OnKeyReleased(const ui::KeyEvent& e) override;
99 void OnPaint(gfx::Canvas* canvas) override; 99 void OnPaint(gfx::Canvas* canvas) override;
100 void OnFocus() override; 100 void OnFocus() override;
101 void OnBlur() override; 101 void OnBlur() override;
102 void GetAccessibleNodeData(ui::AXNodeData* node_data) override; 102 void GetAccessibleNodeData(ui::AXNodeData* node_data) override;
103 void Layout() override; 103 void Layout() override;
104 void OnEnabledChanged() override;
105 void OnNativeThemeChanged(const ui::NativeTheme* theme) override; 104 void OnNativeThemeChanged(const ui::NativeTheme* theme) override;
106 105
107 // Overridden from PrefixDelegate: 106 // Overridden from PrefixDelegate:
108 int GetRowCount() override; 107 int GetRowCount() override;
109 int GetSelectedRow() override; 108 int GetSelectedRow() override;
110 void SetSelectedRow(int row) override; 109 void SetSelectedRow(int row) override;
111 base::string16 GetTextForRow(int row) override; 110 base::string16 GetTextForRow(int row) override;
112 111
113 // Overriden from ButtonListener: 112 // Overriden from ButtonListener:
114 void ButtonPressed(Button* sender, const ui::Event& event) override; 113 void ButtonPressed(Button* sender, const ui::Event& event) override;
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 230
232 // Used for making calbacks. 231 // Used for making calbacks.
233 base::WeakPtrFactory<Combobox> weak_ptr_factory_; 232 base::WeakPtrFactory<Combobox> weak_ptr_factory_;
234 233
235 DISALLOW_COPY_AND_ASSIGN(Combobox); 234 DISALLOW_COPY_AND_ASSIGN(Combobox);
236 }; 235 };
237 236
238 } // namespace views 237 } // namespace views
239 238
240 #endif // UI_VIEWS_CONTROLS_COMBOBOX_COMBOBOX_H_ 239 #endif // UI_VIEWS_CONTROLS_COMBOBOX_COMBOBOX_H_
OLDNEW
« no previous file with comments | « ui/views/BUILD.gn ('k') | ui/views/controls/combobox/combobox.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698