| 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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 | 294 |
| 295 HistogramCustomizer* histogram_customizer() { | 295 HistogramCustomizer* histogram_customizer() { |
| 296 return &histogram_customizer_; | 296 return &histogram_customizer_; |
| 297 } | 297 } |
| 298 | 298 |
| 299 private: | 299 private: |
| 300 virtual bool OnControlMessageReceived(const IPC::Message& msg) OVERRIDE; | 300 virtual bool OnControlMessageReceived(const IPC::Message& msg) OVERRIDE; |
| 301 | 301 |
| 302 void Init(); | 302 void Init(); |
| 303 | 303 |
| 304 void OnSetZoomLevelForCurrentURL(const std::string& host, double zoom_level); | 304 void OnSetZoomLevelForCurrentURL(const std::string& scheme, |
| 305 const std::string& host, |
| 306 double zoom_level); |
| 305 void OnCreateNewView(const ViewMsg_New_Params& params); | 307 void OnCreateNewView(const ViewMsg_New_Params& params); |
| 306 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); | 308 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); |
| 307 void OnPurgePluginListCache(bool reload_pages); | 309 void OnPurgePluginListCache(bool reload_pages); |
| 308 void OnNetworkStateChanged(bool online); | 310 void OnNetworkStateChanged(bool online); |
| 309 void OnGetAccessibilityTree(); | 311 void OnGetAccessibilityTree(); |
| 310 void OnTempCrashWithData(const GURL& data); | 312 void OnTempCrashWithData(const GURL& data); |
| 311 | 313 |
| 312 void IdleHandlerInForegroundTab(); | 314 void IdleHandlerInForegroundTab(); |
| 313 | 315 |
| 314 // These objects live solely on the render thread. | 316 // These objects live solely on the render thread. |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; | 385 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; |
| 384 | 386 |
| 385 HistogramCustomizer histogram_customizer_; | 387 HistogramCustomizer histogram_customizer_; |
| 386 | 388 |
| 387 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 389 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 388 }; | 390 }; |
| 389 | 391 |
| 390 } // namespace content | 392 } // namespace content |
| 391 | 393 |
| 392 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 394 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |