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

Unified Diff: views/controls/textfield/native_textfield_win.cc

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/textfield/native_textfield_win.h ('k') | views/controls/textfield/textfield.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/textfield/native_textfield_win.cc
===================================================================
--- views/controls/textfield/native_textfield_win.cc (revision 17161)
+++ views/controls/textfield/native_textfield_win.cc (working copy)
@@ -12,8 +12,8 @@
#include "base/win_util.h"
#include "grit/app_strings.h"
#include "skia/ext/skia_utils_win.h"
-#include "views/controls/hwnd_view.h"
#include "views/controls/menu/menu_win.h"
+#include "views/controls/native/native_view_host.h"
#include "views/controls/textfield/native_textfield_win.h"
#include "views/controls/textfield/textfield.h"
#include "views/focus/focus_util_win.h"
@@ -111,9 +111,9 @@
IDS_APP_SELECT_ALL,
l10n_util::GetString(IDS_APP_SELECT_ALL));
- container_view_ = new HWNDView;
+ container_view_ = new NativeViewHost;
textfield_->AddChildView(container_view_);
- container_view_->SetAssociatedFocusView(textfield_);
+ container_view_->set_focus_view(textfield_);
container_view_->Attach(m_hWnd);
}
« no previous file with comments | « views/controls/textfield/native_textfield_win.h ('k') | views/controls/textfield/textfield.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698