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 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 // possible. | 376 // possible. |
377 std::set<std::string> custom_histograms_; | 377 std::set<std::string> custom_histograms_; |
378 | 378 |
379 DISALLOW_COPY_AND_ASSIGN(HistogramCustomizer); | 379 DISALLOW_COPY_AND_ASSIGN(HistogramCustomizer); |
380 }; | 380 }; |
381 | 381 |
382 HistogramCustomizer* histogram_customizer() { | 382 HistogramCustomizer* histogram_customizer() { |
383 return &histogram_customizer_; | 383 return &histogram_customizer_; |
384 } | 384 } |
385 | 385 |
386 void SetFlingCurveParameters(const std::vector<float>& new_touchpad, | |
387 const std::vector<float>& new_touchscreen); | |
388 | |
389 // Retrieve current gamepad data. | 386 // Retrieve current gamepad data. |
390 void SampleGamepads(blink::WebGamepads* data); | 387 void SampleGamepads(blink::WebGamepads* data); |
391 | 388 |
392 // Called by a RenderWidget when it is created or destroyed. This | 389 // Called by a RenderWidget when it is created or destroyed. This |
393 // allows the process to know when there are no visible widgets. | 390 // allows the process to know when there are no visible widgets. |
394 void WidgetCreated(); | 391 void WidgetCreated(); |
395 void WidgetDestroyed(); | 392 void WidgetDestroyed(); |
396 void WidgetHidden(); | 393 void WidgetHidden(); |
397 void WidgetRestored(); | 394 void WidgetRestored(); |
398 | 395 |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
586 bool is_one_copy_enabled_; | 583 bool is_one_copy_enabled_; |
587 | 584 |
588 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; | 585 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; |
589 | 586 |
590 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 587 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
591 }; | 588 }; |
592 | 589 |
593 } // namespace content | 590 } // namespace content |
594 | 591 |
595 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 592 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |