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

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

Issue 83163002: [Aura] Adding Writing direction to the context menu for Aura. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed compilation on Win Created 7 years 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
diff --git a/chrome/browser/ui/views/tab_contents/render_view_context_menu_views.h b/chrome/browser/ui/views/tab_contents/render_view_context_menu_views.h
index 0b58ee17332586e31d36835816152c20c934e0ec..528dde6e4ac82ab92627375fb4bc6308172bfe2b 100644
--- a/chrome/browser/ui/views/tab_contents/render_view_context_menu_views.h
+++ b/chrome/browser/ui/views/tab_contents/render_view_context_menu_views.h
@@ -39,9 +39,12 @@ class RenderViewContextMenuViews : public RenderViewContextMenu {
bool hidden,
const string16& title) OVERRIDE;
+ virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE;
+
protected:
RenderViewContextMenuViews(content::WebContents* web_contents,
const content::ContextMenuParams& params);
+
// RenderViewContextMenu implementation.
virtual void PlatformInit() OVERRIDE;
virtual void PlatformCancel() OVERRIDE;
@@ -50,6 +53,13 @@ class RenderViewContextMenuViews : public RenderViewContextMenu {
ui::Accelerator* accelerator) OVERRIDE;
private:
+ virtual void AppendPlatformEditableItems() OVERRIDE;
+ virtual bool IsCommandIdChecked(int command_id) const OVERRIDE;
+ virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
+
+ // Model for the BiDi input submenu.
+ ui::SimpleMenuModel bidi_submenu_model_;
+
scoped_ptr<views::MenuRunner> menu_runner_;
DISALLOW_COPY_AND_ASSIGN(RenderViewContextMenuViews);
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/views/tab_contents/render_view_context_menu_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698