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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 } | 344 } |
345 | 345 |
346 void SetFlingCurveParameters(const std::vector<float>& new_touchpad, | 346 void SetFlingCurveParameters(const std::vector<float>& new_touchpad, |
347 const std::vector<float>& new_touchscreen); | 347 const std::vector<float>& new_touchscreen); |
348 | 348 |
349 private: | 349 private: |
350 virtual bool OnControlMessageReceived(const IPC::Message& msg) OVERRIDE; | 350 virtual bool OnControlMessageReceived(const IPC::Message& msg) OVERRIDE; |
351 | 351 |
352 void Init(); | 352 void Init(); |
353 | 353 |
354 void OnSetZoomLevelForCurrentURL(const std::string& host, double zoom_level); | 354 void OnSetZoomLevelForCurrentURL(const std::string& scheme, |
| 355 const std::string& host, |
| 356 double zoom_level); |
355 void OnCreateNewView(const ViewMsg_New_Params& params); | 357 void OnCreateNewView(const ViewMsg_New_Params& params); |
356 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); | 358 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); |
357 void OnPurgePluginListCache(bool reload_pages); | 359 void OnPurgePluginListCache(bool reload_pages); |
358 void OnNetworkStateChanged(bool online); | 360 void OnNetworkStateChanged(bool online); |
359 void OnGetAccessibilityTree(); | 361 void OnGetAccessibilityTree(); |
360 void OnTempCrashWithData(const GURL& data); | 362 void OnTempCrashWithData(const GURL& data); |
361 | 363 |
362 void IdleHandlerInForegroundTab(); | 364 void IdleHandlerInForegroundTab(); |
363 | 365 |
364 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateOffscreenContext3d(); | 366 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateOffscreenContext3d(); |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; | 454 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; |
453 | 455 |
454 HistogramCustomizer histogram_customizer_; | 456 HistogramCustomizer histogram_customizer_; |
455 | 457 |
456 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 458 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
457 }; | 459 }; |
458 | 460 |
459 } // namespace content | 461 } // namespace content |
460 | 462 |
461 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 463 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |