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

Unified Diff: chrome/browser/ui/views/new_back_shortcut_bubble.h

Issue 2540523003: Use standardized accelerator-to-shortcut code for new backspace shortcut UI. (Closed)
Patch Set: Created 4 years, 1 month 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/views/new_back_shortcut_bubble.h
diff --git a/chrome/browser/ui/views/new_back_shortcut_bubble.h b/chrome/browser/ui/views/new_back_shortcut_bubble.h
index 4956eb7adbe194d699928e741f6ada19d68ec36a..4f8f9bb5c82fe562d4d915be410de231efe6ab7b 100644
--- a/chrome/browser/ui/views/new_back_shortcut_bubble.h
+++ b/chrome/browser/ui/views/new_back_shortcut_bubble.h
@@ -39,9 +39,9 @@ class NewBackShortcutBubble : public gfx::AnimationDelegate {
// Returns whether the UI is currently visible.
bool IsVisible() const;
- // Ensures the UI is displaying the correct shortcut for forward/back based on
- // |forward|, and resets the hide timer.
- void UpdateContent(bool forward);
+ // Ensures the UI is displaying the correct shortcut for the given
+ // |command_id|, and resets the hide timer.
+ void UpdateContent(int command_id);
// Fades out the UI immediately.
void Hide();

Powered by Google App Engine
This is Rietveld 408576698