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

Unified Diff: views/controls/combobox/native_combobox_wrapper.h

Issue 151002: Fixing focus problems with the combobox (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « views/controls/combobox/native_combobox_win.cc ('k') | views/controls/native_control.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/combobox/native_combobox_wrapper.h
===================================================================
--- views/controls/combobox/native_combobox_wrapper.h (revision 19470)
+++ views/controls/combobox/native_combobox_wrapper.h (working copy)
@@ -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 @@
// 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);
};
Property changes on: views\controls\combobox\native_combobox_wrapper.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « views/controls/combobox/native_combobox_win.cc ('k') | views/controls/native_control.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698