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

Unified Diff: views/controls/native_control_win.h

Issue 114059: Refactors HWNDView, NativeViewHostGtk and NativeViewHost so that they match t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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_gtk.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 17161)
+++ views/controls/native_control_win.h (working copy)
@@ -5,12 +5,12 @@
#ifndef VIEWS_CONTROLS_NATIVE_CONTROL_WIN_H_
#define VIEWS_CONTROLS_NATIVE_CONTROL_WIN_H_
-#include "views/controls/hwnd_view.h"
+#include "views/controls/native/native_view_host.h"
namespace views {
// A View that hosts a native Windows control.
-class NativeControlWin : public HWNDView {
+class NativeControlWin : public NativeViewHost {
public:
static const wchar_t* kNativeControlWinKey;
@@ -60,7 +60,7 @@
// MUST be called by the subclass implementation of |CreateNativeControl|
// immediately after creating the control HWND, otherwise it won't be attached
- // to the HWNDView and will be effectively orphaned.
+ // to the NativeViewHost and will be effectively orphaned.
virtual void NativeControlCreated(HWND native_control);
// Returns additional extended style flags. When subclasses call
« no previous file with comments | « views/controls/native_control_gtk.cc ('k') | views/controls/native_control_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698