| 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 #include "content/renderer/renderer_blink_platform_impl.h" | 5 #include "content/renderer/renderer_blink_platform_impl.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| (...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 841 } | 841 } |
| 842 | 842 |
| 843 //------------------------------------------------------------------------------ | 843 //------------------------------------------------------------------------------ |
| 844 | 844 |
| 845 blink::WebScrollbarBehavior* RendererBlinkPlatformImpl::scrollbarBehavior() { | 845 blink::WebScrollbarBehavior* RendererBlinkPlatformImpl::scrollbarBehavior() { |
| 846 return web_scrollbar_behavior_.get(); | 846 return web_scrollbar_behavior_.get(); |
| 847 } | 847 } |
| 848 | 848 |
| 849 //------------------------------------------------------------------------------ | 849 //------------------------------------------------------------------------------ |
| 850 | 850 |
| 851 WebBlobRegistry* RendererBlinkPlatformImpl::blobRegistry() { | 851 WebBlobRegistry* RendererBlinkPlatformImpl::getBlobRegistry() { |
| 852 // blob_registry_ can be NULL when running some tests. | 852 // blob_registry_ can be NULL when running some tests. |
| 853 return blob_registry_.get(); | 853 return blob_registry_.get(); |
| 854 } | 854 } |
| 855 | 855 |
| 856 //------------------------------------------------------------------------------ | 856 //------------------------------------------------------------------------------ |
| 857 | 857 |
| 858 void RendererBlinkPlatformImpl::sampleGamepads(WebGamepads& gamepads) { | 858 void RendererBlinkPlatformImpl::sampleGamepads(WebGamepads& gamepads) { |
| 859 PlatformEventObserverBase* observer = | 859 PlatformEventObserverBase* observer = |
| 860 platform_event_observers_.Lookup(blink::WebPlatformEventTypeGamepad); | 860 platform_event_observers_.Lookup(blink::WebPlatformEventTypeGamepad); |
| 861 if (!observer) | 861 if (!observer) |
| (...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1336 return &trial_token_validator_; | 1336 return &trial_token_validator_; |
| 1337 } | 1337 } |
| 1338 | 1338 |
| 1339 void RendererBlinkPlatformImpl::workerContextCreated( | 1339 void RendererBlinkPlatformImpl::workerContextCreated( |
| 1340 const v8::Local<v8::Context>& worker) { | 1340 const v8::Local<v8::Context>& worker) { |
| 1341 GetContentClient()->renderer()->DidInitializeWorkerContextOnWorkerThread( | 1341 GetContentClient()->renderer()->DidInitializeWorkerContextOnWorkerThread( |
| 1342 worker); | 1342 worker); |
| 1343 } | 1343 } |
| 1344 | 1344 |
| 1345 } // namespace content | 1345 } // namespace content |
| OLD | NEW |