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

Unified Diff: chrome/browser/ui/views/tab_contents/render_view_context_menu_views.h

Issue 7713033: Integrate the Spelling service to Chrome. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
Index: chrome/browser/ui/views/tab_contents/render_view_context_menu_views.h
===================================================================
--- chrome/browser/ui/views/tab_contents/render_view_context_menu_views.h (revision 99616)
+++ chrome/browser/ui/views/tab_contents/render_view_context_menu_views.h (working copy)
@@ -8,6 +8,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/memory/scoped_vector.h"
+#include "base/string16.h"
#include "chrome/browser/tab_contents/render_view_context_menu.h"
namespace views {
@@ -33,11 +34,18 @@
void UpdateMenuItemStates();
+ // RenderViewContextMenuDelegate implementation.
+ virtual void UpdateMenuItem(int command_id,
+ bool enabled,
+ const string16& title) OVERRIDE;
+
protected:
- // RenderViewContextMenu implementation --------------------------------------
- virtual void PlatformInit();
- virtual bool GetAcceleratorForCommandId(int command_id,
- ui::Accelerator* accelerator);
+ // RenderViewContextMenu implementation.
+ virtual void PlatformInit() OVERRIDE;
+ virtual bool GetAcceleratorForCommandId(
+ int command_id,
+ ui::Accelerator* accelerator) OVERRIDE;
+
private:
// The context menu itself and its contents.
scoped_ptr<views::MenuModelAdapter> menu_delegate_;

Powered by Google App Engine
This is Rietveld 408576698