Chromium Code Reviews| 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(); |
| }; |