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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 mojo::ScopedMessagePipeHandle handle) override; | 182 mojo::ScopedMessagePipeHandle handle) override; |
183 void startListening(blink::WebPlatformEventType, | 183 void startListening(blink::WebPlatformEventType, |
184 blink::WebPlatformEventListener*) override; | 184 blink::WebPlatformEventListener*) override; |
185 void stopListening(blink::WebPlatformEventType) override; | 185 void stopListening(blink::WebPlatformEventType) override; |
186 void queryStorageUsageAndQuota(const blink::WebURL& storage_partition, | 186 void queryStorageUsageAndQuota(const blink::WebURL& storage_partition, |
187 blink::WebStorageQuotaType, | 187 blink::WebStorageQuotaType, |
188 blink::WebStorageQuotaCallbacks) override; | 188 blink::WebStorageQuotaCallbacks) override; |
189 void vibrate(unsigned int milliseconds) override; | 189 void vibrate(unsigned int milliseconds) override; |
190 void cancelVibration() override; | 190 void cancelVibration() override; |
191 blink::WebThread* currentThread() override; | 191 blink::WebThread* currentThread() override; |
| 192 blink::BlameContext* threadBlameContext() override; |
192 void recordRappor(const char* metric, | 193 void recordRappor(const char* metric, |
193 const blink::WebString& sample) override; | 194 const blink::WebString& sample) override; |
194 void recordRapporURL(const char* metric, const blink::WebURL& url) override; | 195 void recordRapporURL(const char* metric, const blink::WebURL& url) override; |
195 | 196 |
196 blink::WebTrialTokenValidator* trialTokenValidator() override; | 197 blink::WebTrialTokenValidator* trialTokenValidator() override; |
197 | 198 |
198 // Set the PlatformEventObserverBase in |platform_event_observers_| associated | 199 // Set the PlatformEventObserverBase in |platform_event_observers_| associated |
199 // with |type| to |observer|. If there was already an observer associated to | 200 // with |type| to |observer|. If there was already an observer associated to |
200 // the given |type|, it will be replaced. | 201 // the given |type|, it will be replaced. |
201 // Note that |observer| will be owned by this object after the call. | 202 // 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... |
298 WebTrialTokenValidatorImpl trial_token_validator_; | 299 WebTrialTokenValidatorImpl trial_token_validator_; |
299 | 300 |
300 scoped_ptr<LocalStorageCachedAreas> local_storage_cached_areas_; | 301 scoped_ptr<LocalStorageCachedAreas> local_storage_cached_areas_; |
301 | 302 |
302 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); | 303 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); |
303 }; | 304 }; |
304 | 305 |
305 } // namespace content | 306 } // namespace content |
306 | 307 |
307 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ | 308 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |