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

Unified Diff: chrome/browser/views/location_bar_view.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 | « chrome/browser/views/dom_view.cc ('k') | chrome/browser/views/location_bar_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/location_bar_view.h
===================================================================
--- chrome/browser/views/location_bar_view.h (revision 17161)
+++ chrome/browser/views/location_bar_view.h (working copy)
@@ -17,14 +17,13 @@
#include "chrome/browser/views/info_bubble.h"
#include "views/controls/image_view.h"
#include "views/controls/label.h"
+#include "views/controls/native/native_view_host.h"
#include "views/painter.h"
#if defined(OS_WIN)
#include "chrome/browser/autocomplete/autocomplete_edit_view_win.h"
-#include "views/controls/hwnd_view.h"
#else
#include "chrome/browser/autocomplete/autocomplete_edit_view_gtk.h"
-#include "views/controls/native_view_host_gtk.h"
#endif
class AutocompletePopupPositioner;
@@ -467,11 +466,7 @@
gfx::Font font_;
// Location_entry view wrapper
-#if defined(OS_WIN)
- views::HWNDView* location_entry_view_;
-#else
- views::NativeViewHostGtk* location_entry_view_;
-#endif
+ views::NativeViewHost* location_entry_view_;
// The following views are used to provide hints and remind the user as to
// what is going in the edit. They are all added a children of the
« no previous file with comments | « chrome/browser/views/dom_view.cc ('k') | chrome/browser/views/location_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698