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

Unified Diff: chrome/browser/views/tab_contents/native_tab_contents_container_gtk.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
Index: chrome/browser/views/tab_contents/native_tab_contents_container_gtk.cc
===================================================================
--- chrome/browser/views/tab_contents/native_tab_contents_container_gtk.cc (revision 17161)
+++ chrome/browser/views/tab_contents/native_tab_contents_container_gtk.cc (working copy)
@@ -30,7 +30,7 @@
// We need to register the tab contents window with the BrowserContainer so
// that the BrowserContainer is the focused view when the focus is on the
// TabContents window (for the TabContents case).
- SetAssociatedFocusView(this);
+ set_focus_view(this);
Attach(contents->GetNativeView());
@@ -45,7 +45,7 @@
void NativeTabContentsContainerGtk::DetachContents(TabContents* contents) {
// TODO(port): figure out focus interception
#if defined(OS_WIN)
- // TODO(brettw) should this move to HWNDView::Detach which is called below?
+ // TODO(brettw) should this move to NativeViewHost::Detach which is called below?
// It needs cleanup regardless.
HWND container_hwnd = contents->GetNativeView();

Powered by Google App Engine
This is Rietveld 408576698