| 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_RENDER_THREAD_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 // possible. | 326 // possible. |
| 327 std::set<std::string> custom_histograms_; | 327 std::set<std::string> custom_histograms_; |
| 328 | 328 |
| 329 DISALLOW_COPY_AND_ASSIGN(HistogramCustomizer); | 329 DISALLOW_COPY_AND_ASSIGN(HistogramCustomizer); |
| 330 }; | 330 }; |
| 331 | 331 |
| 332 HistogramCustomizer* histogram_customizer() { | 332 HistogramCustomizer* histogram_customizer() { |
| 333 return &histogram_customizer_; | 333 return &histogram_customizer_; |
| 334 } | 334 } |
| 335 | 335 |
| 336 void SetFlingCurveParameters(const std::vector<float>& new_touchpad, | |
| 337 const std::vector<float>& new_touchscreen); | |
| 338 | |
| 339 // Retrieve current gamepad data. | 336 // Retrieve current gamepad data. |
| 340 void SampleGamepads(WebKit::WebGamepads* data); | 337 void SampleGamepads(WebKit::WebGamepads* data); |
| 341 | 338 |
| 342 // Get the browser process's notion of the renderer process's ID. | 339 // Get the browser process's notion of the renderer process's ID. |
| 343 // This is the first argument to RenderWidgetHost::FromID. Ideally | 340 // This is the first argument to RenderWidgetHost::FromID. Ideally |
| 344 // this would be available on all platforms via base::Process. | 341 // this would be available on all platforms via base::Process. |
| 345 base::ProcessId renderer_process_id() const; | 342 base::ProcessId renderer_process_id() const; |
| 346 | 343 |
| 347 private: | 344 private: |
| 348 // ChildThread | 345 // ChildThread |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 493 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; | 490 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; |
| 494 | 491 |
| 495 base::ProcessId renderer_process_id_; | 492 base::ProcessId renderer_process_id_; |
| 496 | 493 |
| 497 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 494 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 498 }; | 495 }; |
| 499 | 496 |
| 500 } // namespace content | 497 } // namespace content |
| 501 | 498 |
| 502 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 499 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |