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

Unified Diff: chrome/browser/ui/browser_back_forward_navigator.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_back_forward_navigator.h
diff --git a/chrome/browser/ui/browser_back_forward_navigator.h b/chrome/browser/ui/browser_back_forward_navigator.h
new file mode 100644
index 0000000000000000000000000000000000000000..2d9e9b9d021cd12519a914a18320dcd795be22c7
--- /dev/null
+++ b/chrome/browser/ui/browser_back_forward_navigator.h
@@ -0,0 +1,24 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_BROWSER_BACK_FORWARD_NAVIGATOR_H_
+#define CHROME_BROWSER_UI_BROWSER_BACK_FORWARD_NAVIGATOR_H_
+#pragma once
+
+class TabContentsWrapperDelegate;
+
+namespace browser {
+
+class BrowserBackForwardNavigator {
Ben Goodger (Google) 2011/05/31 16:00:00 See my note in the previous file about moving this
shinyak (Google) 2011/06/09 02:29:04 Done.
+
Ben Goodger (Google) 2011/05/31 16:00:00 nit: no new line
shinyak (Google) 2011/06/09 02:29:04 Done.
+ public:
+ static void GoBack(TabContentsWrapperDelegate* delegate, int flags);
+ static void GoForward(TabContentsWrapperDelegate* delegate, int flags);
+ static void NavigateToIndex(TabContentsWrapperDelegate* delegate,
+ int index, int flags);
+};
+
+} // namespace browser
+
+#endif // CHROME_BROWSER_UI_BROWSER_BACK_FORWARD_NAVIGATOR_H_

Powered by Google App Engine
This is Rietveld 408576698