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

Unified Diff: chrome/browser/command_updater.h

Issue 765043002: Bookmark pop-up doesn't open if Ctrl+D is set as keyboard shortcut for added extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing nit. Created 6 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
« no previous file with comments | « no previous file | chrome/browser/command_updater.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/command_updater.h
diff --git a/chrome/browser/command_updater.h b/chrome/browser/command_updater.h
index a297a497faca07f8e8aa376469f418030a3bfa03..f7c80d0979c91a687318a760c4fc5d4ba6593efd 100644
--- a/chrome/browser/command_updater.h
+++ b/chrome/browser/command_updater.h
@@ -62,6 +62,12 @@ class CommandUpdater {
// state has not changed.
void UpdateCommandEnabled(int id, bool state);
+ void set_bookmark_icon_selected(bool selection) {
Avi (use Gerrit) 2014/11/28 14:56:07 You need to have some comments explaining the mean
+ bookmark_icon_selection_ = selection;
+ }
+
+ bool get_bookmark_icon_selected() { return bookmark_icon_selection_; }
+
private:
// A piece of data about a command - whether or not it is enabled, and a list
// of objects that observe the enabled state of this command.
@@ -78,6 +84,8 @@ class CommandUpdater {
typedef base::hash_map<int, Command*> CommandMap;
CommandMap commands_;
+ bool bookmark_icon_selection_;
+
DISALLOW_COPY_AND_ASSIGN(CommandUpdater);
};
« no previous file with comments | « no previous file | chrome/browser/command_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698