diff options
Diffstat (limited to 'views/controls/native/native_view_host_win.h')
-rw-r--r-- | views/controls/native/native_view_host_win.h | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/views/controls/native/native_view_host_win.h b/views/controls/native/native_view_host_win.h index 6224693..51bc616 100644 --- a/views/controls/native/native_view_host_win.h +++ b/views/controls/native/native_view_host_win.h @@ -2,10 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef VIEWS_CONTROL_NATIVE_NATIVE_VIEW_HOST_WIN_H_ -#define VIEWS_CONTROL_NATIVE_NATIVE_VIEW_HOST_WIN_H_ - -#include "windows.h" +#ifndef VIEWS_CONTROLS_HWND_VIEW_H_ +#define VIEWS_CONTROLS_HWND_VIEW_H_ #include "base/logging.h" #include "views/controls/native/native_view_host_wrapper.h" @@ -30,14 +28,9 @@ class NativeViewHostWin : public NativeViewHostWrapper { virtual void UninstallClip(); virtual void ShowWidget(int x, int y, int w, int h); virtual void HideWidget(); + virtual void SetFocus(); private: - // Our subclass window procedure. - static LRESULT CALLBACK NativeViewHostWndProc(HWND window, - UINT message, - WPARAM w_param, - LPARAM l_param); - // Our associated NativeViewHost. NativeViewHost* host_; @@ -45,12 +38,9 @@ class NativeViewHostWin : public NativeViewHostWrapper { // visible portion of the gfx::NativeView ? bool installed_clip_; - // The window procedure before we subclassed. - WNDPROC original_wndproc_; - DISALLOW_COPY_AND_ASSIGN(NativeViewHostWin); }; } // namespace views -#endif // VIEWS_CONTROL_NATIVE_NATIVE_VIEW_HOST_WIN_H_ +#endif // VIEWS_CONTROLS_HWND_VIEW_H_ |