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

Unified Diff: chrome/browser/ui/browser_navigator.h

Issue 10698068: chrome: Put browser_navigator.h into chrome namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: already in chrome namespace Created 8 years, 6 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
« no previous file with comments | « chrome/browser/ui/browser_commands.cc ('k') | chrome/browser/ui/browser_navigator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_navigator.h
diff --git a/chrome/browser/ui/browser_navigator.h b/chrome/browser/ui/browser_navigator.h
index 5bd6095339450103034f021aaccc5ebdabd7bf12..2f923667c3f011c381c5f42b623099a2a0db28a7 100644
--- a/chrome/browser/ui/browser_navigator.h
+++ b/chrome/browser/ui/browser_navigator.h
@@ -19,26 +19,27 @@ class Browser;
class Profile;
class TabContents;
-namespace browser {
+namespace chrome {
// Parameters that tell Navigate() what to do.
//
// Some basic examples:
//
// Simple Navigate to URL in current tab:
-// browser::NavigateParams params(browser, GURL("http://www.google.com/"),
-// PageTransition::LINK);
-// browser::Navigate(&params);
+// chrome::NavigateParams params(browser, GURL("http://www.google.com/"),
+// content::PAGE_TRANSITION_LINK);
+// chrome::Navigate(&params);
//
// Open bookmark in new background tab:
-// browser::NavigateParams params(browser, url, PageTransition::AUTO_BOOKMARK);
+// chrome::NavigateParams params(browser, url,
+// content::PAGE_TRANSITION_AUTO_BOOKMARK);
// params.disposition = NEW_BACKGROUND_TAB;
-// browser::Navigate(&params);
+// chrome::Navigate(&params);
//
// Opens a popup TabContents:
-// browser::NavigateParams params(browser, popup_contents);
+// chrome::NavigateParams params(browser, popup_contents);
// params.source_contents = source_contents;
-// browser::Navigate(&params);
+// chrome::Navigate(&params);
//
// See browser_navigator_browsertest.cc for more examples.
//
@@ -92,8 +93,9 @@ struct NavigateParams {
// |tabstrip_add_types|.
WindowOpenDisposition disposition;
- // The transition type of the navigation. Default is PageTransition::LINK
- // when target_contents is specified in the constructor.
+ // The transition type of the navigation. Default is
+ // content::PAGE_TRANSITION_LINK when target_contents is specified in the
+ // constructor.
content::PageTransition transition;
// Whether this navigation was initiated by the renderer process.
@@ -197,6 +199,6 @@ void Navigate(NavigateParams* params);
// Returns true if the url is allowed to open in incognito window.
bool IsURLAllowedInIncognito(const GURL& url);
-} // namespace browser
+} // namespace chrome
#endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_
« no previous file with comments | « chrome/browser/ui/browser_commands.cc ('k') | chrome/browser/ui/browser_navigator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698