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

Unified Diff: chrome/browser/ui/tab_contents/tab_contents_wrapper_delegate.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/tab_contents/tab_contents_wrapper_delegate.h
diff --git a/chrome/browser/ui/tab_contents/tab_contents_wrapper_delegate.h b/chrome/browser/ui/tab_contents/tab_contents_wrapper_delegate.h
index 3862f55b655292536d153fb3b5a9d5516f14d890..3455c75234579821ca967597776773413c4d5f81 100644
--- a/chrome/browser/ui/tab_contents/tab_contents_wrapper_delegate.h
+++ b/chrome/browser/ui/tab_contents/tab_contents_wrapper_delegate.h
@@ -7,6 +7,7 @@
#pragma once
#include "base/basictypes.h"
+#include "webkit/glue/window_open_disposition.h"
class TabContentsWrapper;
struct WebApplicationInfo;
@@ -26,6 +27,12 @@ class TabContentsWrapperDelegate {
virtual void SwapTabContents(TabContentsWrapper* old_tc,
TabContentsWrapper* new_tc) = 0;
+ // Navigation interface to supoprt disposition.
+ virtual void GoBack(WindowOpenDisposition disposition) = 0;
Ben Goodger (Google) 2011/05/31 16:00:00 I am not sure why you are adding these methods to
shinyak (Google) 2011/06/09 02:29:04 Since RenderViewContextMenu, which will call GoBac
+ virtual void GoForward(WindowOpenDisposition disposition) = 0;
+ virtual bool NavigateToIndexWithDisposition(int index,
+ WindowOpenDisposition disp) = 0;
+
protected:
virtual ~TabContentsWrapperDelegate();
};

Powered by Google App Engine
This is Rietveld 408576698