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

Unified Diff: content/browser/web_contents/web_drag_dest_win.cc

Issue 63253002: Rename WebKit namespace to blink (part 3) (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
Index: content/browser/web_contents/web_drag_dest_win.cc
diff --git a/content/browser/web_contents/web_drag_dest_win.cc b/content/browser/web_contents/web_drag_dest_win.cc
index 60f0c0593a9168c8a272518e1e5583661c34728d..e497f860d650f156619c824f94c6ba7d0b5faf58 100644
--- a/content/browser/web_contents/web_drag_dest_win.cc
+++ b/content/browser/web_contents/web_drag_dest_win.cc
@@ -23,11 +23,11 @@
#include "ui/gfx/point.h"
#include "url/gurl.h"
-using WebKit::WebDragOperationNone;
-using WebKit::WebDragOperationCopy;
-using WebKit::WebDragOperationLink;
-using WebKit::WebDragOperationMove;
-using WebKit::WebDragOperationGeneric;
+using blink::WebDragOperationNone;
+using blink::WebDragOperationCopy;
+using blink::WebDragOperationLink;
+using blink::WebDragOperationMove;
+using blink::WebDragOperationGeneric;
namespace content {
namespace {
@@ -48,15 +48,15 @@ DWORD GetPreferredDropEffect(DWORD effect) {
int GetModifierFlags() {
int modifier_state = 0;
if (base::win::IsShiftPressed())
- modifier_state |= WebKit::WebInputEvent::ShiftKey;
+ modifier_state |= blink::WebInputEvent::ShiftKey;
if (base::win::IsCtrlPressed())
- modifier_state |= WebKit::WebInputEvent::ControlKey;
+ modifier_state |= blink::WebInputEvent::ControlKey;
if (base::win::IsAltPressed())
- modifier_state |= WebKit::WebInputEvent::AltKey;
+ modifier_state |= blink::WebInputEvent::AltKey;
if (::GetKeyState(VK_LWIN) & kHighBitMaskShort)
- modifier_state |= WebKit::WebInputEvent::MetaKey;
+ modifier_state |= blink::WebInputEvent::MetaKey;
if (::GetKeyState(VK_RWIN) & kHighBitMaskShort)
- modifier_state |= WebKit::WebInputEvent::MetaKey;
+ modifier_state |= blink::WebInputEvent::MetaKey;
return modifier_state;
}
« no previous file with comments | « content/browser/web_contents/web_drag_dest_win.h ('k') | content/browser/web_contents/web_drag_source_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698