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

Unified Diff: chrome/common/extensions/extension_commands.h

Issue 10383240: This adds a webui overlay on the extensions page for showing what Extension keybindings are active.… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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
Index: chrome/common/extensions/extension_commands.h
===================================================================
--- chrome/common/extensions/extension_commands.h (revision 137495)
+++ chrome/common/extensions/extension_commands.h (working copy)
@@ -36,7 +36,7 @@
// Accessors:
const std::string& command_name() const { return command_name_; }
const ui::Accelerator& accelerator() const { return accelerator_; }
- const std::string& description() const { return description_; }
+ const string16& description() const { return description_; }
private:
ui::Accelerator ParseImpl(const std::string& shortcut,
@@ -45,7 +45,7 @@
string16* error);
std::string command_name_;
ui::Accelerator accelerator_;
- std::string description_;
+ string16 description_;
};
// A mapping of command name (std::string) to a command object.

Powered by Google App Engine
This is Rietveld 408576698