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