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

Unified Diff: chrome/browser/ui/cocoa/browser_window_cocoa.mm

Issue 2065283002: Add heuristics to limit showing of new backspace UI bubble. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 6 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
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_cocoa.h ('k') | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/browser_window_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/browser_window_cocoa.mm b/chrome/browser/ui/cocoa/browser_window_cocoa.mm
index 14f8b8a98ceb5d9fcddf007ccbcf6753148d9fa1..8a730be6db888ac0a3e42d94037649a505ecbb83 100644
--- a/chrome/browser/ui/cocoa/browser_window_cocoa.mm
+++ b/chrome/browser/ui/cocoa/browser_window_cocoa.mm
@@ -433,10 +433,13 @@ bool BrowserWindowCocoa::IsFullscreenBubbleVisible() const {
return false; // Currently only called from toolkit-views website_settings.
}
-void BrowserWindowCocoa::ShowNewBackShortcutBubble(bool forward) {
- ExclusiveAccessController* exclusive_access_controller =
- [controller_ exclusiveAccessController];
- exclusive_access_controller->ShowNewBackShortcutBubble(forward);
+void BrowserWindowCocoa::MaybeShowNewBackShortcutBubble(bool forward) {
+ [controller_ exclusiveAccessController]->MaybeShowNewBackShortcutBubble(
+ forward);
+}
+
+void BrowserWindowCocoa::HideNewBackShortcutBubble() {
+ [controller_ exclusiveAccessController]->HideNewBackShortcutBubble();
}
LocationBar* BrowserWindowCocoa::GetLocationBar() const {
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_cocoa.h ('k') | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698