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

Unified Diff: views/accelerator.h

Issue 2742003: Adds support for showing accelerators in bookmark menus. (Closed)
Patch Set: Added GetAcceleratorText Created 10 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 | « no previous file | views/accelerator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/accelerator.h
diff --git a/views/accelerator.h b/views/accelerator.h
index 82be336b60aef13deb714f85c88f1e22db5d1d32..a54a431380ce7f85efef7ee88a9c282cb682a90b 100644
--- a/views/accelerator.h
+++ b/views/accelerator.h
@@ -20,6 +20,8 @@ namespace views {
class Accelerator : public menus::Accelerator {
public:
+ Accelerator() : menus::Accelerator() {}
+
Accelerator(base::KeyboardCode keycode,
bool shift_pressed, bool ctrl_pressed, bool alt_pressed) {
key_code_ = keycode;
« no previous file with comments | « no previous file | views/accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698