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

Unified Diff: chrome/browser/ui/cocoa/extensions/native_app_window_cocoa.mm

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/cocoa/extensions/native_app_window_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/extensions/native_app_window_cocoa.mm b/chrome/browser/ui/cocoa/extensions/native_app_window_cocoa.mm
index 6363216e01c5776af38d8b4c9496c093af6d7177..8d13987e71c7e1f8e41818c66742f9b7974b9e8d 100644
--- a/chrome/browser/ui/cocoa/extensions/native_app_window_cocoa.mm
+++ b/chrome/browser/ui/cocoa/extensions/native_app_window_cocoa.mm
@@ -654,7 +654,7 @@ bool NativeAppWindowCocoa::IsAlwaysOnTop() const {
}
void NativeAppWindowCocoa::RenderViewHostChanged() {
- web_contents()->Focus();
+ web_contents()->GetView()->Focus();
}
gfx::Insets NativeAppWindowCocoa::GetFrameInsets() const {

Powered by Google App Engine
This is Rietveld 408576698