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

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: fixed some mistakes again Created 9 years, 8 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 8fcef34b0a0e8d77475799f3f587f9ea5418806c..b7060df6cde08abc22265b06c2ac4f2c62d04e4c 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;
@@ -29,6 +30,10 @@ class TabContentsWrapperDelegate {
virtual void SwapTabContents(TabContentsWrapper* old_tc,
TabContentsWrapper* new_tc) = 0;
+ // Navigation interface to supoprt disposition.
+ virtual void GoBack(WindowOpenDisposition disposition) = 0;
+ virtual void GoForward(WindowOpenDisposition disposition) = 0;
+
protected:
virtual ~TabContentsWrapperDelegate();
};

Powered by Google App Engine
This is Rietveld 408576698