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

Unified Diff: chrome/browser/ui/webui/web_dialog_web_contents_delegate.h

Issue 10696222: Make chrome::Navigate take in a Browser* that is never NULL. That function doesn't have a context, … (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 8 years, 5 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/webui/web_dialog_web_contents_delegate.h
===================================================================
--- chrome/browser/ui/webui/web_dialog_web_contents_delegate.h (revision 146674)
+++ chrome/browser/ui/webui/web_dialog_web_contents_delegate.h (working copy)
@@ -18,11 +18,11 @@
// behave consistently.
class WebDialogWebContentsDelegate : public content::WebContentsDelegate {
public:
- // Opens a new URL inside |source| (if source is NULL open in the current
- // front-most tab). |profile| is the profile that the browser should be owened
- // by. |params| contains the URL to open and various attributes such as
- // disposition. On return |out_new_contents| contains the WebContents the
- // URL is opened in. Returns the browser spawned by the operation.
+ // Opens a new URL inside |source|. |profile| is the profile that the browser
+ // should be owned by. |params| contains the URL to open and various
+ // attributes such as disposition. On return |out_new_contents| contains the
+ // WebContents the URL is opened in. Returns the browser spawned by the
+ // operation.
static Browser* StaticOpenURLFromTab(Profile* profile,
content::WebContents* source,
const content::OpenURLParams& params,
« no previous file with comments | « chrome/browser/ui/intents/web_intent_picker_controller.cc ('k') | chrome/browser/ui/webui/web_dialog_web_contents_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698