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

Unified Diff: chrome/browser/ui/gtk/extensions/native_app_window_gtk.cc

Issue 12334073: Remove WebContents methods that duplicate WebContentsView methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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/ui/gtk/extensions/native_app_window_gtk.cc
diff --git a/chrome/browser/ui/gtk/extensions/native_app_window_gtk.cc b/chrome/browser/ui/gtk/extensions/native_app_window_gtk.cc
index 9fcd0e71d342d53cc540022a359978b26d0f6e37..5b52939876fff9594993e6a056e85c0227aa76b7 100644
--- a/chrome/browser/ui/gtk/extensions/native_app_window_gtk.cc
+++ b/chrome/browser/ui/gtk/extensions/native_app_window_gtk.cc
@@ -230,7 +230,7 @@ bool NativeAppWindowGtk::IsAlwaysOnTop() const {
}
void NativeAppWindowGtk::RenderViewHostChanged() {
- web_contents()->Focus();
+ web_contents()->GetView()->Focus();
}
gfx::Insets NativeAppWindowGtk::GetFrameInsets() const {
« no previous file with comments | « chrome/browser/ui/gtk/download/download_started_animation_gtk.cc ('k') | chrome/browser/ui/gtk/find_bar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698