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

Unified Diff: views/controls/native_control_win.h

Issue 150051: Fixing focus problems with the combobox (Closed) Base URL: svn://svn.chromium.org/chrome/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/native_control.cc ('k') | views/controls/native_control_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/native_control_win.h
===================================================================
--- views/controls/native_control_win.h (revision 19517)
+++ views/controls/native_control_win.h (working copy)
@@ -45,14 +45,6 @@
// received from the HWND created by an object derived from NativeControlWin.
virtual void ShowContextMenu(const gfx::Point& location);
- // Derived classes interested in receiving key down notification should
- // override this method and return true. In which case OnKeyDown is called
- // when a key down message is sent to the control.
- // Note that this method is called at the time of the control creation: the
- // behavior will not change if the returned value changes after the control
- // has been created.
- virtual bool NotifyOnKeyDown() const { return false; }
-
// Called when the NativeControlWin is attached to a View hierarchy with a
// valid Widget. The NativeControlWin should use this opportunity to create
// its associated HWND.
@@ -90,7 +82,7 @@
LPARAM l_param);
// The window procedure before we subclassed.
- static WNDPROC original_wndproc_;
+ WNDPROC original_wndproc_;
DISALLOW_COPY_AND_ASSIGN(NativeControlWin);
};
« no previous file with comments | « views/controls/native_control.cc ('k') | views/controls/native_control_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698