summaryrefslogtreecommitdiffstats
path: root/views/controls/combobox/native_combobox_wrapper.h
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-30 15:06:10 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-30 15:06:10 +0000
commita4ac1b744e4c0caef3e2a4aec035fb5ed61d245a (patch)
tree4d3e1647258d553a2eda5b46265c5ebe5944c597 /views/controls/combobox/native_combobox_wrapper.h
parent59a5d6da97c776fb6c25b88eeb9d853283bc5f13 (diff)
downloadchromium_src-a4ac1b744e4c0caef3e2a4aec035fb5ed61d245a.zip
chromium_src-a4ac1b744e4c0caef3e2a4aec035fb5ed61d245a.tar.gz
chromium_src-a4ac1b744e4c0caef3e2a4aec035fb5ed61d245a.tar.bz2
Review URL: http://codereview.chromium.org/150051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19582 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/combobox/native_combobox_wrapper.h')
-rw-r--r--views/controls/combobox/native_combobox_wrapper.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/views/controls/combobox/native_combobox_wrapper.h b/views/controls/combobox/native_combobox_wrapper.h
index 27e1c8b..3cecde0 100644
--- a/views/controls/combobox/native_combobox_wrapper.h
+++ b/views/controls/combobox/native_combobox_wrapper.h
@@ -5,6 +5,8 @@
#ifndef VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_WRAPPER_H_
#define VIEWS_CONTROLS_COMBOBOX_NATIVE_COMBOBOX_WRAPPER_H_
+#include "base/gfx/native_widget_types.h"
+
namespace gfx{
class Size;
}
@@ -33,13 +35,16 @@ class NativeComboboxWrapper {
// Returns the preferred size of the combobox.
virtual gfx::Size GetPreferredSize() const = 0;
-
+
// Retrieves the views::View that hosts the native control.
virtual View* GetView() = 0;
// Sets the focus to the button.
virtual void SetFocus() = 0;
+ // Returns a handle to the underlying native view for testing.
+ virtual gfx::NativeView GetTestingHandle() const = 0;
+
static NativeComboboxWrapper* CreateWrapper(Combobox* combobox);
};