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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 private: | 343 private: |
344 virtual bool OnControlMessageReceived(const IPC::Message& msg) OVERRIDE; | 344 virtual bool OnControlMessageReceived(const IPC::Message& msg) OVERRIDE; |
345 | 345 |
346 void Init(); | 346 void Init(); |
347 | 347 |
348 void OnSetZoomLevelForCurrentURL(const std::string& host, double zoom_level); | 348 void OnSetZoomLevelForCurrentURL(const std::string& scheme, |
| 349 const std::string& host, |
| 350 double zoom_level); |
349 void OnCreateNewView(const ViewMsg_New_Params& params); | 351 void OnCreateNewView(const ViewMsg_New_Params& params); |
350 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); | 352 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); |
351 void OnPurgePluginListCache(bool reload_pages); | 353 void OnPurgePluginListCache(bool reload_pages); |
352 void OnNetworkStateChanged(bool online); | 354 void OnNetworkStateChanged(bool online); |
353 void OnGetAccessibilityTree(); | 355 void OnGetAccessibilityTree(); |
354 void OnTempCrashWithData(const GURL& data); | 356 void OnTempCrashWithData(const GURL& data); |
355 | 357 |
356 void IdleHandlerInForegroundTab(); | 358 void IdleHandlerInForegroundTab(); |
357 | 359 |
358 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateOffscreenContext3d(); | 360 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateOffscreenContext3d(); |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; | 442 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; |
441 | 443 |
442 HistogramCustomizer histogram_customizer_; | 444 HistogramCustomizer histogram_customizer_; |
443 | 445 |
444 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 446 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
445 }; | 447 }; |
446 | 448 |
447 } // namespace content | 449 } // namespace content |
448 | 450 |
449 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 451 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |