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

Unified Diff: content/browser/gamepad/gamepad_platform_data_fetcher_mac.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/browser/gamepad/gamepad_platform_data_fetcher_mac.h
diff --git a/content/browser/gamepad/gamepad_platform_data_fetcher_mac.h b/content/browser/gamepad/gamepad_platform_data_fetcher_mac.h
index 3b22b69350cc30c91e19b9fd5fb106b21bc82cd3..54e1944da6c3b3f7fc441d1b56ce2fce39224123 100644
--- a/content/browser/gamepad/gamepad_platform_data_fetcher_mac.h
+++ b/content/browser/gamepad/gamepad_platform_data_fetcher_mac.h
@@ -32,7 +32,7 @@ class GamepadPlatformDataFetcherMac : public GamepadDataFetcher,
public:
GamepadPlatformDataFetcherMac();
virtual ~GamepadPlatformDataFetcherMac();
- virtual void GetGamepadData(WebKit::WebGamepads* pads,
+ virtual void GetGamepadData(blink::WebGamepads* pads,
bool devices_changed_hint) OVERRIDE;
virtual void PauseHint(bool paused) OVERRIDE;
@@ -73,7 +73,7 @@ class GamepadPlatformDataFetcherMac : public GamepadDataFetcher,
scoped_ptr<XboxDataFetcher> xbox_fetcher_;
- WebKit::WebGamepads data_;
+ blink::WebGamepads data_;
// Side-band data that's not passed to the consumer, but we need to maintain
// to update data_.
@@ -82,10 +82,10 @@ class GamepadPlatformDataFetcherMac : public GamepadDataFetcher,
union {
struct {
IOHIDDeviceRef device_ref;
- IOHIDElementRef button_elements[WebKit::WebGamepad::buttonsLengthCap];
- IOHIDElementRef axis_elements[WebKit::WebGamepad::buttonsLengthCap];
- CFIndex axis_minimums[WebKit::WebGamepad::axesLengthCap];
- CFIndex axis_maximums[WebKit::WebGamepad::axesLengthCap];
+ IOHIDElementRef button_elements[blink::WebGamepad::buttonsLengthCap];
+ IOHIDElementRef axis_elements[blink::WebGamepad::buttonsLengthCap];
+ CFIndex axis_minimums[blink::WebGamepad::axesLengthCap];
+ CFIndex axis_maximums[blink::WebGamepad::axesLengthCap];
// Function to map from device data to standard layout, if available.
// May be null if no mapping is available.
GamepadStandardMappingFunction mapper;
@@ -96,7 +96,7 @@ class GamepadPlatformDataFetcherMac : public GamepadDataFetcher,
} xbox;
};
};
- AssociatedData associated_[WebKit::WebGamepads::itemsLengthCap];
+ AssociatedData associated_[blink::WebGamepads::itemsLengthCap];
DISALLOW_COPY_AND_ASSIGN(GamepadPlatformDataFetcherMac);
};

Powered by Google App Engine
This is Rietveld 408576698