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

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

Issue 4145013: DOMUI: Use ShowSingletonTab to open the settings tab. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: csilv review fixes. Created 10 years, 1 month 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/renderer_host/test/render_process_host_browsertest.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.h
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
index 564ad6e03a526932e90400523d13d21ef1b8cc9d..3b1e2b576734d96e67ad306180c2841c071bb3a0 100644
--- a/chrome/browser/ui/browser.h
+++ b/chrome/browser/ui/browser.h
@@ -402,8 +402,9 @@ class Browser : public TabHandlerDelegate,
// Show a given a URL. If a tab with the same URL (ignoring the ref) is
// already visible in this browser, it becomes selected. Otherwise a new tab
- // is created.
- void ShowSingletonTab(const GURL& url);
+ // is created. If |ignore_path| is true, the paths of the URLs are ignored
+ // when locating the singleton tab.
+ void ShowSingletonTab(const GURL& url, bool ignore_path);
// Update commands whose state depends on whether the window is in fullscreen
// mode. This is a public function because on Linux, fullscreen mode is an
« no previous file with comments | « chrome/browser/renderer_host/test/render_process_host_browsertest.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698