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

Unified Diff: chrome/browser/ui/singleton_tabs.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/intents/web_intent_picker_controller.cc ('k') | chrome/browser/ui/singleton_tabs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/singleton_tabs.h
diff --git a/chrome/browser/ui/singleton_tabs.h b/chrome/browser/ui/singleton_tabs.h
index 312a2bfa10f928ec2e4444fab697d77c37a785a7..240c10cf1831aa1583d686cfde8debb3baf18d1e 100644
--- a/chrome/browser/ui/singleton_tabs.h
+++ b/chrome/browser/ui/singleton_tabs.h
@@ -9,15 +9,13 @@
class Browser;
class GURL;
-namespace browser {
-struct NavigateParams;
-}
-
// Methods for opening "singleton tabs". Tabs are guaranteed unique by varying
// metrics within a particular Browser window.
namespace chrome {
+struct NavigateParams;
+
// Core singleton tab API:
// Show a given a URL. If a tab with the same URL (ignoring the ref) is
@@ -31,15 +29,14 @@ void ShowSingletonTabRespectRef(Browser* browser, const GURL& url);
// As ShowSingletonTab, but if the current tab is the new tab page or
// about:blank, then overwrite it with the passed contents.
void ShowSingletonTabOverwritingNTP(Browser* browser,
- const browser::NavigateParams& params);
+ const NavigateParams& params);
// Creates a NavigateParams struct for a singleton tab navigation.
-browser::NavigateParams GetSingletonTabNavigateParams(Browser* browser,
- const GURL& url);
+NavigateParams GetSingletonTabNavigateParams(Browser* browser, const GURL& url);
// If the given navigational URL is a Singleton, return the tab index for it.
// Otherwise, returns -1.
-int GetIndexOfSingletonTab(browser::NavigateParams* params);
+int GetIndexOfSingletonTab(NavigateParams* params);
} // namespace chrome
« no previous file with comments | « chrome/browser/ui/intents/web_intent_picker_controller.cc ('k') | chrome/browser/ui/singleton_tabs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698