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

Unified Diff: chrome/browser/ui/extensions/shell_window.h

Issue 10915047: Links in platform apps should open in the system default browser. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 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/extensions/shell_window.h
diff --git a/chrome/browser/ui/extensions/shell_window.h b/chrome/browser/ui/extensions/shell_window.h
index 88bcfe11613fd6094d7ffa3e9b282241f467c45f..fe1ca68fd6769f7b74244fdecdea3c0225f8d636 100644
--- a/chrome/browser/ui/extensions/shell_window.h
+++ b/chrome/browser/ui/extensions/shell_window.h
@@ -97,6 +97,10 @@ class ShellWindow : public content::NotificationObserver,
// Save the window position in the prefs.
virtual void SaveWindowPosition();
+ // Set the WebContentsDelegate for external url in test.
+ static void SetExternalUrlControllerForTesting(
+ content::WebContentsDelegate* controller);
+
protected:
ShellWindow(Profile* profile,
const extensions::Extension* extension);
« no previous file with comments | « chrome/browser/extensions/platform_app_browsertest_util.cc ('k') | chrome/browser/ui/extensions/shell_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698