Index: chrome/browser/ui/views/frame/browser_view.h |
diff --git a/chrome/browser/ui/views/frame/browser_view.h b/chrome/browser/ui/views/frame/browser_view.h |
index 6354e3a0a208ec2e02feb2c7ef499dd24895febd..40f04a5b8a6545703a3a89b4a8dab8eb9183e799 100644 |
--- a/chrome/browser/ui/views/frame/browser_view.h |
+++ b/chrome/browser/ui/views/frame/browser_view.h |
@@ -13,6 +13,7 @@ |
#include "base/compiler_specific.h" |
#include "base/gtest_prod_util.h" |
#include "base/macros.h" |
+#include "base/time/time.h" |
#include "base/timer/timer.h" |
#include "build/build_config.h" |
#include "chrome/browser/devtools/devtools_window.h" |
@@ -290,7 +291,8 @@ class BrowserView : public BrowserWindow, |
bool ShouldHideUIForFullscreen() const override; |
bool IsFullscreen() const override; |
bool IsFullscreenBubbleVisible() const override; |
- void ShowNewBackShortcutBubble(bool forward) override; |
+ void MaybeShowNewBackShortcutBubble(bool forward) override; |
+ void HideNewBackShortcutBubble() override; |
LocationBar* GetLocationBar() const override; |
void SetFocusToLocationBar(bool select_all) override; |
void UpdateReloadStopState(bool is_loading, bool force) override; |
@@ -671,6 +673,7 @@ class BrowserView : public BrowserWindow, |
std::unique_ptr<ExclusiveAccessBubbleViews> exclusive_access_bubble_; |
std::unique_ptr<NewBackShortcutBubble> new_back_shortcut_bubble_; |
+ base::TimeTicks last_back_shortcut_press_time_; |
#if defined(OS_WIN) |
// Helper class to listen for completion of first page load. |