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

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

Issue 2128243003: Make most browser accelerators not repeat. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update comment in test Created 4 years, 3 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 | « no previous file | chrome/browser/ui/views/accelerator_table.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/accelerator_table.h
diff --git a/chrome/browser/ui/views/accelerator_table.h b/chrome/browser/ui/views/accelerator_table.h
index 14bb0ad890fa609e70e902186ce8295317ef1c8d..a3727c31d1530c266725228d300005e48730cfc0 100644
--- a/chrome/browser/ui/views/accelerator_table.h
+++ b/chrome/browser/ui/views/accelerator_table.h
@@ -41,6 +41,10 @@ CHROME_VIEWS_EXPORT bool GetStandardAcceleratorForCommandId(
int command_id,
ui::Accelerator* accelerator);
+// Returns true if the command identified by |command_id| should be executed
+// repeatedly while its accelerator keys are held down.
+CHROME_VIEWS_EXPORT bool IsCommandRepeatable(int command_id);
+
} // namespace chrome
#endif // CHROME_BROWSER_UI_VIEWS_ACCELERATOR_TABLE_H_
« no previous file with comments | « no previous file | chrome/browser/ui/views/accelerator_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698