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

Unified Diff: chrome/browser/tab_contents/render_view_context_menu.h

Issue 3017047: Set a max limit on extension items' labels in context menus.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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/browser/tab_contents/render_view_context_menu.h
===================================================================
--- chrome/browser/tab_contents/render_view_context_menu.h (revision 54510)
+++ chrome/browser/tab_contents/render_view_context_menu.h (working copy)
@@ -32,6 +32,9 @@
class RenderViewContextMenu : public menus::SimpleMenuModel::Delegate {
public:
+ static const size_t kMaxExtensionItemTitleLength;
+ static const size_t kMaxSelectionTextLength;
+
RenderViewContextMenu(TabContents* tab_contents,
const ContextMenuParams& params);
« no previous file with comments | « chrome/browser/extensions/extension_test_message_listener.cc ('k') | chrome/browser/tab_contents/render_view_context_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698