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

Side by Side Diff: views/controls/listbox/native_listbox_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/link.h ('k') | views/controls/menu/view_menu_delegate.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 VIEWS_CONTROLS_LISTBOX_NATIVE_LISTBOX_WRAPPER_H_ 5 #ifndef VIEWS_CONTROLS_LISTBOX_NATIVE_LISTBOX_WRAPPER_H_
6 #define VIEWS_CONTROLS_LISTBOX_NATIVE_LISTBOX_WRAPPER_H_ 6 #define VIEWS_CONTROLS_LISTBOX_NATIVE_LISTBOX_WRAPPER_H_
7 7
8 #include "gfx/native_widget_types.h" 8 #include "gfx/native_widget_types.h"
9 #include "gfx/rect.h" 9 #include "gfx/rect.h"
10 #include "views/controls/listbox/listbox.h" 10 #include "views/controls/listbox/listbox.h"
(...skipping 14 matching lines...) Expand all
25 virtual void SelectRow(int row) = 0; 25 virtual void SelectRow(int row) = 0;
26 26
27 // Retrieves the views::View that hosts the native control. 27 // Retrieves the views::View that hosts the native control.
28 virtual View* GetView() = 0; 28 virtual View* GetView() = 0;
29 29
30 // Creates an appropriate NativeListboxWrapper for the platform. 30 // Creates an appropriate NativeListboxWrapper for the platform.
31 static NativeListboxWrapper* CreateNativeWrapper( 31 static NativeListboxWrapper* CreateNativeWrapper(
32 Listbox* listbox, 32 Listbox* listbox,
33 const std::vector<string16>& strings, 33 const std::vector<string16>& strings,
34 Listbox::Listener* listener); 34 Listbox::Listener* listener);
35
36 protected:
37 virtual ~NativeListboxWrapper() {}
35 }; 38 };
36 39
37 } // namespace views 40 } // namespace views
38 41
39 #endif // VIEWS_CONTROLS_LISTBOX_NATIVE_LISTBOX_WRAPPER_H_ 42 #endif // VIEWS_CONTROLS_LISTBOX_NATIVE_LISTBOX_WRAPPER_H_
OLDNEW
« no previous file with comments | « views/controls/link.h ('k') | views/controls/menu/view_menu_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698