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

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: make event_utils::DispositionFromEventFlags not view-specific. 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 2425b26b3fe3ff112224d93197567d14813b481d..cc2061c3a3681c8d25357ec053935ba7a642cf73 100644
--- a/chrome/browser/ui/browser.h
+++ b/chrome/browser/ui/browser.h
@@ -1031,12 +1031,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);
Ben Goodger (Google) 2011/05/31 16:00:00 You don't note here what happens to |tab_contents|
shinyak (Google) 2011/06/09 02:29:04 Done.
+
// 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