| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 mojo::ScopedMessagePipeHandle handle) override; | 181 mojo::ScopedMessagePipeHandle handle) override; |
| 182 void startListening(blink::WebPlatformEventType, | 182 void startListening(blink::WebPlatformEventType, |
| 183 blink::WebPlatformEventListener*) override; | 183 blink::WebPlatformEventListener*) override; |
| 184 void stopListening(blink::WebPlatformEventType) override; | 184 void stopListening(blink::WebPlatformEventType) override; |
| 185 void queryStorageUsageAndQuota(const blink::WebURL& storage_partition, | 185 void queryStorageUsageAndQuota(const blink::WebURL& storage_partition, |
| 186 blink::WebStorageQuotaType, | 186 blink::WebStorageQuotaType, |
| 187 blink::WebStorageQuotaCallbacks) override; | 187 blink::WebStorageQuotaCallbacks) override; |
| 188 void vibrate(unsigned int milliseconds) override; | 188 void vibrate(unsigned int milliseconds) override; |
| 189 void cancelVibration() override; | 189 void cancelVibration() override; |
| 190 blink::WebThread* currentThread() override; | 190 blink::WebThread* currentThread() override; |
| 191 blink::BlameContext* threadBlameContext() override; |
| 191 void recordRappor(const char* metric, | 192 void recordRappor(const char* metric, |
| 192 const blink::WebString& sample) override; | 193 const blink::WebString& sample) override; |
| 193 void recordRapporURL(const char* metric, const blink::WebURL& url) override; | 194 void recordRapporURL(const char* metric, const blink::WebURL& url) override; |
| 194 | 195 |
| 195 blink::WebTrialTokenValidator* trialTokenValidator() override; | 196 blink::WebTrialTokenValidator* trialTokenValidator() override; |
| 196 | 197 |
| 197 // Set the PlatformEventObserverBase in |platform_event_observers_| associated | 198 // Set the PlatformEventObserverBase in |platform_event_observers_| associated |
| 198 // with |type| to |observer|. If there was already an observer associated to | 199 // with |type| to |observer|. If there was already an observer associated to |
| 199 // the given |type|, it will be replaced. | 200 // the given |type|, it will be replaced. |
| 200 // Note that |observer| will be owned by this object after the call. | 201 // Note that |observer| will be owned by this object after the call. |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 WebTrialTokenValidatorImpl trial_token_validator_; | 298 WebTrialTokenValidatorImpl trial_token_validator_; |
| 298 | 299 |
| 299 scoped_ptr<LocalStorageCachedAreas> local_storage_cached_areas_; | 300 scoped_ptr<LocalStorageCachedAreas> local_storage_cached_areas_; |
| 300 | 301 |
| 301 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); | 302 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); |
| 302 }; | 303 }; |
| 303 | 304 |
| 304 } // namespace content | 305 } // namespace content |
| 305 | 306 |
| 306 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ | 307 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
| OLD | NEW |