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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 } | 306 } |
307 | 307 |
308 void SetFlingCurveParameters(const std::vector<float>& new_touchpad, | 308 void SetFlingCurveParameters(const std::vector<float>& new_touchpad, |
309 const std::vector<float>& new_touchscreen); | 309 const std::vector<float>& new_touchscreen); |
310 | 310 |
311 private: | 311 private: |
312 virtual bool OnControlMessageReceived(const IPC::Message& msg) OVERRIDE; | 312 virtual bool OnControlMessageReceived(const IPC::Message& msg) OVERRIDE; |
313 | 313 |
314 void Init(); | 314 void Init(); |
315 | 315 |
316 void OnSetZoomLevelForCurrentURL(const std::string& host, double zoom_level); | 316 void OnSetZoomLevelForCurrentURL(const std::string& scheme, |
| 317 const std::string& host, |
| 318 double zoom_level); |
317 void OnCreateNewView(const ViewMsg_New_Params& params); | 319 void OnCreateNewView(const ViewMsg_New_Params& params); |
318 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); | 320 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); |
319 void OnPurgePluginListCache(bool reload_pages); | 321 void OnPurgePluginListCache(bool reload_pages); |
320 void OnNetworkStateChanged(bool online); | 322 void OnNetworkStateChanged(bool online); |
321 void OnGetAccessibilityTree(); | 323 void OnGetAccessibilityTree(); |
322 void OnTempCrashWithData(const GURL& data); | 324 void OnTempCrashWithData(const GURL& data); |
323 | 325 |
324 void IdleHandlerInForegroundTab(); | 326 void IdleHandlerInForegroundTab(); |
325 | 327 |
326 // These objects live solely on the render thread. | 328 // These objects live solely on the render thread. |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; | 398 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; |
397 | 399 |
398 HistogramCustomizer histogram_customizer_; | 400 HistogramCustomizer histogram_customizer_; |
399 | 401 |
400 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 402 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
401 }; | 403 }; |
402 | 404 |
403 } // namespace content | 405 } // namespace content |
404 | 406 |
405 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 407 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |