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

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

Issue 2041293002: Add heuristics to limit showing of new backspace UI bubble. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments 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 8a26e926bbe3f41c2f25f4452ed50cadff92df26..4db6c506680ed9e8949f14464edf876cdc9de101 100644
--- a/chrome/browser/ui/cocoa/browser_window_cocoa.mm
+++ b/chrome/browser/ui/cocoa/browser_window_cocoa.mm
@@ -434,10 +434,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