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

Unified Diff: Source/web/WebInputEventFactoryGtk.cpp

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 | « Source/web/WebInputEventFactoryAndroid.cpp ('k') | Source/web/WebInputEventFactoryWin.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebInputEventFactoryGtk.cpp
diff --git a/Source/web/WebInputEventFactoryGtk.cpp b/Source/web/WebInputEventFactoryGtk.cpp
index ea66d6309d020cb09370e0952c7ebe13b7188f54..6ac71253e3c45ac4079be9b512756269562229aa 100644
--- a/Source/web/WebInputEventFactoryGtk.cpp
+++ b/Source/web/WebInputEventFactoryGtk.cpp
@@ -50,7 +50,7 @@ static GdkWindow* gLastClickEventWindow = 0;
static gint gLastClickTime = 0;
static gint gLastClickX = 0;
static gint gLastClickY = 0;
-static WebKit::WebMouseEvent::Button gLastClickButton = WebKit::WebMouseEvent::ButtonNone;
+static blink::WebMouseEvent::Button gLastClickButton = blink::WebMouseEvent::ButtonNone;
bool shouldForgetPreviousClick(GdkWindow* window, gint time, gint x, gint y)
{
@@ -76,7 +76,7 @@ void resetClickCountState()
gLastClickTime = 0;
gLastClickX = 0;
gLastClickY = 0;
- gLastClickButton = WebKit::WebMouseEvent::ButtonNone;
+ gLastClickButton = blink::WebMouseEvent::ButtonNone;
}
bool isKeyPadKeyval(guint keyval)
@@ -87,7 +87,7 @@ bool isKeyPadKeyval(guint keyval)
} // namespace
-namespace WebKit {
+namespace blink {
static double gdkEventTimeToWebEventTime(guint32 time)
{
@@ -421,7 +421,7 @@ WebKeyboardEvent WebInputEventFactory::keyboardEvent(wchar_t character, int stat
// function creates a WebInputEvent::Char event without using a
// GdkEventKey object.
WebKeyboardEvent result;
- result.type = WebKit::WebInputEvent::Char;
+ result.type = blink::WebInputEvent::Char;
result.timeStampSeconds = timeStampSeconds;
result.modifiers = gdkStateToWebEventModifiers(state);
result.windowsKeyCode = character;
@@ -625,4 +625,4 @@ WebMouseWheelEvent WebInputEventFactory::mouseWheelEvent(const GdkEventScroll* e
return result;
}
-} // namespace WebKit
+} // namespace blink
« no previous file with comments | « Source/web/WebInputEventFactoryAndroid.cpp ('k') | Source/web/WebInputEventFactoryWin.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698