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

Unified Diff: chrome/browser/ui/cocoa/tab_contents/render_view_context_menu_mac.mm

Issue 63273002: Rename WebKit namespace to blink (part 4) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_cocoa.mm ('k') | chrome/browser/ui/extensions/application_launch.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/tab_contents/render_view_context_menu_mac.mm
diff --git a/chrome/browser/ui/cocoa/tab_contents/render_view_context_menu_mac.mm b/chrome/browser/ui/cocoa/tab_contents/render_view_context_menu_mac.mm
index cfec47f26155365bdb34a6ebe503be6c29367220..4caf5cee22757b7c63fa8a1bc17a6f70cb743964 100644
--- a/chrome/browser/ui/cocoa/tab_contents/render_view_context_menu_mac.mm
+++ b/chrome/browser/ui/cocoa/tab_contents/render_view_context_menu_mac.mm
@@ -129,9 +129,9 @@ void RenderViewContextMenuMac::ExecuteCommand(int command_id, int event_flags) {
case IDC_WRITING_DIRECTION_RTL:
case IDC_WRITING_DIRECTION_LTR: {
content::RenderViewHost* view_host = GetRenderViewHost();
- WebKit::WebTextDirection dir = WebKit::WebTextDirectionLeftToRight;
+ blink::WebTextDirection dir = blink::WebTextDirectionLeftToRight;
if (command_id == IDC_WRITING_DIRECTION_RTL)
- dir = WebKit::WebTextDirectionRightToLeft;
+ dir = blink::WebTextDirectionRightToLeft;
view_host->UpdateTextDirection(dir);
view_host->NotifyTextDirection();
break;
@@ -147,13 +147,13 @@ bool RenderViewContextMenuMac::IsCommandIdChecked(int command_id) const {
switch (command_id) {
case IDC_WRITING_DIRECTION_DEFAULT:
return params_.writing_direction_default &
- WebKit::WebContextMenuData::CheckableMenuItemChecked;
+ blink::WebContextMenuData::CheckableMenuItemChecked;
case IDC_WRITING_DIRECTION_RTL:
return params_.writing_direction_right_to_left &
- WebKit::WebContextMenuData::CheckableMenuItemChecked;
+ blink::WebContextMenuData::CheckableMenuItemChecked;
case IDC_WRITING_DIRECTION_LTR:
return params_.writing_direction_left_to_right &
- WebKit::WebContextMenuData::CheckableMenuItemChecked;
+ blink::WebContextMenuData::CheckableMenuItemChecked;
default:
return RenderViewContextMenu::IsCommandIdChecked(command_id);
@@ -179,13 +179,13 @@ bool RenderViewContextMenuMac::IsCommandIdEnabled(int command_id) const {
case IDC_WRITING_DIRECTION_DEFAULT: // Provided to match OS defaults.
return params_.writing_direction_default &
- WebKit::WebContextMenuData::CheckableMenuItemEnabled;
+ blink::WebContextMenuData::CheckableMenuItemEnabled;
case IDC_WRITING_DIRECTION_RTL:
return params_.writing_direction_right_to_left &
- WebKit::WebContextMenuData::CheckableMenuItemEnabled;
+ blink::WebContextMenuData::CheckableMenuItemEnabled;
case IDC_WRITING_DIRECTION_LTR:
return params_.writing_direction_left_to_right &
- WebKit::WebContextMenuData::CheckableMenuItemEnabled;
+ blink::WebContextMenuData::CheckableMenuItemEnabled;
default:
return RenderViewContextMenu::IsCommandIdEnabled(command_id);
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_cocoa.mm ('k') | chrome/browser/ui/extensions/application_launch.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698