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

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

Issue 3032024: Add undeclared virtual destructors part 2... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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 | « views/controls/button/native_button_wrapper.h ('k') | views/controls/link.h » ('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) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #ifndef VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_WRAPPER_H_ 5 #ifndef VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_WRAPPER_H_
6 #define VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_WRAPPER_H_ 6 #define VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_WRAPPER_H_
7 7
8 #include "gfx/native_widget_types.h" 8 #include "gfx/native_widget_types.h"
9 9
10 namespace gfx{ 10 namespace gfx{
(...skipping 28 matching lines...) Expand all
39 // Retrieves the views::View that hosts the native control. 39 // Retrieves the views::View that hosts the native control.
40 virtual View* GetView() = 0; 40 virtual View* GetView() = 0;
41 41
42 // Sets the focus to the button. 42 // Sets the focus to the button.
43 virtual void SetFocus() = 0; 43 virtual void SetFocus() = 0;
44 44
45 // Returns a handle to the underlying native view for testing. 45 // Returns a handle to the underlying native view for testing.
46 virtual gfx::NativeView GetTestingHandle() const = 0; 46 virtual gfx::NativeView GetTestingHandle() const = 0;
47 47
48 static NativeComboboxWrapper* CreateWrapper(Combobox* combobox); 48 static NativeComboboxWrapper* CreateWrapper(Combobox* combobox);
49
50 protected:
51 virtual ~NativeComboboxWrapper() {}
49 }; 52 };
50 53
51 } // namespace views 54 } // namespace views
52 55
53 #endif // VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_WRAPPER_H_ 56 #endif // VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_WRAPPER_H_
OLDNEW
« no previous file with comments | « views/controls/button/native_button_wrapper.h ('k') | views/controls/link.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698