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

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

Issue 6893046: added CTRL+Click and SHIFT+Click handler for context menu, Back and Forward. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: fixed pointed problems. Created 9 years, 7 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/browser.h
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
index a112030c2f99790460fbbada5158975941ee9783..7e705b4692e743b6ee25ef1bcc30f27db90ff930 100644
--- a/chrome/browser/ui/browser.h
+++ b/chrome/browser/ui/browser.h
@@ -1015,12 +1015,21 @@ class Browser : public TabHandlerDelegate,
void ReloadInternal(WindowOpenDisposition disposition, bool ignore_cache);
// Return true if the window dispositions means opening a new tab.
- bool ShouldOpenNewTabForWindowDisposition(WindowOpenDisposition disposition);
+ bool ShouldOpenNewTabForDisposition(WindowOpenDisposition disposition);
// Depending on the disposition, return the current tab or a clone of the
// current tab.
TabContents* GetOrCloneTabForDisposition(WindowOpenDisposition disposition);
+ // Depending on the disposition, return the wrapper containing the current
+ // tab or a clone of the current tab.
+ TabContentsWrapper* GetOrCloneTabWrapperForDisposition(
+ WindowOpenDisposition disposition);
+
+ // Depending on the disposition, create a new browser.
+ void CreateNewBrowserForDisposition(TabContentsWrapper* tab_contents,
+ WindowOpenDisposition disposition);
+
// Sets the insertion policy of the tabstrip based on whether vertical tabs
// are enabled.
void UpdateTabStripModelInsertionPolicy();

Powered by Google App Engine
This is Rietveld 408576698