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

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 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/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..8fc2530ff45f0d8acd03fbe60af5a2abbe073fde 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,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