| 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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 333     DISALLOW_COPY_AND_ASSIGN(HistogramCustomizer); | 333     DISALLOW_COPY_AND_ASSIGN(HistogramCustomizer); | 
| 334   }; | 334   }; | 
| 335 | 335 | 
| 336   HistogramCustomizer* histogram_customizer() { | 336   HistogramCustomizer* histogram_customizer() { | 
| 337     return &histogram_customizer_; | 337     return &histogram_customizer_; | 
| 338   } | 338   } | 
| 339 | 339 | 
| 340   void SetFlingCurveParameters(const std::vector<float>& new_touchpad, | 340   void SetFlingCurveParameters(const std::vector<float>& new_touchpad, | 
| 341                                const std::vector<float>& new_touchscreen); | 341                                const std::vector<float>& new_touchscreen); | 
| 342 | 342 | 
|  | 343   // Resume current gamepad poll thread. | 
|  | 344   void ResumeGamepads(); | 
|  | 345   // Pause current gamepad poll thread. | 
|  | 346   void PauseGamepads(); | 
|  | 347 | 
| 343   // Retrieve current gamepad data. | 348   // Retrieve current gamepad data. | 
| 344   void SampleGamepads(blink::WebGamepads* data); | 349   void SampleGamepads(blink::WebGamepads* data); | 
| 345 | 350 | 
| 346   // Called by a RenderWidget when it is created or destroyed. This | 351   // Called by a RenderWidget when it is created or destroyed. This | 
| 347   // allows the process to know when there are no visible widgets. | 352   // allows the process to know when there are no visible widgets. | 
| 348   void WidgetCreated(); | 353   void WidgetCreated(); | 
| 349   void WidgetDestroyed(); | 354   void WidgetDestroyed(); | 
| 350   void WidgetHidden(); | 355   void WidgetHidden(); | 
| 351   void WidgetRestored(); | 356   void WidgetRestored(); | 
| 352 | 357 | 
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 504   // multiple threads. Current allocation mechanism for IOSurface | 509   // multiple threads. Current allocation mechanism for IOSurface | 
| 505   // backed GpuMemoryBuffers prevent this. crbug.com/325045 | 510   // backed GpuMemoryBuffers prevent this. crbug.com/325045 | 
| 506   base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; | 511   base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; | 
| 507 | 512 | 
| 508   DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 513   DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 
| 509 }; | 514 }; | 
| 510 | 515 | 
| 511 }  // namespace content | 516 }  // namespace content | 
| 512 | 517 | 
| 513 #endif  // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 518 #endif  // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 
| OLD | NEW | 
|---|