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

Unified Diff: content/renderer/device_orientation/device_orientation_event_pump.h

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/renderer/device_orientation/device_orientation_event_pump.h
diff --git a/content/renderer/device_orientation/device_orientation_event_pump.h b/content/renderer/device_orientation/device_orientation_event_pump.h
index 26658ff5d4d6aab35f721d067535be7ba358f289..ac7f31cd3b01a36094d54a10ba17620fbb6e9285 100644
--- a/content/renderer/device_orientation/device_orientation_event_pump.h
+++ b/content/renderer/device_orientation/device_orientation_event_pump.h
@@ -10,13 +10,13 @@
#include "content/renderer/shared_memory_seqlock_reader.h"
#include "third_party/WebKit/public/platform/WebDeviceOrientationData.h"
-namespace WebKit {
+namespace blink {
class WebDeviceOrientationListener;
}
namespace content {
-typedef SharedMemorySeqLockReader<WebKit::WebDeviceOrientationData>
+typedef SharedMemorySeqLockReader<blink::WebDeviceOrientationData>
DeviceOrientationSharedMemoryReader;
class CONTENT_EXPORT DeviceOrientationEventPump : public DeviceSensorEventPump {
@@ -31,7 +31,7 @@ class CONTENT_EXPORT DeviceOrientationEventPump : public DeviceSensorEventPump {
// Sets the listener to receive updates for device orientation data at
// regular intervals. Returns true if the registration was successful.
- bool SetListener(WebKit::WebDeviceOrientationListener* listener);
+ bool SetListener(blink::WebDeviceOrientationListener* listener);
// RenderProcessObserver implementation.
virtual bool OnControlMessageReceived(const IPC::Message& message) OVERRIDE;
@@ -42,10 +42,10 @@ class CONTENT_EXPORT DeviceOrientationEventPump : public DeviceSensorEventPump {
virtual bool SendStartMessage() OVERRIDE;
virtual bool SendStopMessage() OVERRIDE;
- bool ShouldFireEvent(const WebKit::WebDeviceOrientationData& data) const;
+ bool ShouldFireEvent(const blink::WebDeviceOrientationData& data) const;
- WebKit::WebDeviceOrientationListener* listener_;
- WebKit::WebDeviceOrientationData data_;
+ blink::WebDeviceOrientationListener* listener_;
+ blink::WebDeviceOrientationData data_;
scoped_ptr<DeviceOrientationSharedMemoryReader> reader_;
};

Powered by Google App Engine
This is Rietveld 408576698