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

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: 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..ca7dc401b6672973c9f73ba2abb76cf9f0acc6a5 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
@@ -42,6 +42,7 @@ class RenderViewContextMenuViews : public RenderViewContextMenu {
protected:
RenderViewContextMenuViews(content::WebContents* web_contents,
const content::ContextMenuParams& params);
+
// RenderViewContextMenu implementation.
virtual void PlatformInit() OVERRIDE;
virtual void PlatformCancel() OVERRIDE;
@@ -50,6 +51,16 @@ class RenderViewContextMenuViews : public RenderViewContextMenu {
ui::Accelerator* accelerator) OVERRIDE;
private:
+ // Adds writing direction submenu.
Peter Kasting 2013/12/04 19:46:31 Nit: This comment is vestigial.
pals 2013/12/05 14:25:49 Done.
+ virtual void AppendPlatformEditableItems() OVERRIDE;
+
Peter Kasting 2013/12/04 19:46:31 Nit: This blank line is inappropriate. (The previ
pals 2013/12/05 14:25:49 Done.
+ virtual void ExecuteCommand(int command_id, int event_flags) 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/chrome_command_ids.h ('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