| 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 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 | 427 |
| 428 // mojo::ServiceProvider implementation: | 428 // mojo::ServiceProvider implementation: |
| 429 virtual void ConnectToService( | 429 virtual void ConnectToService( |
| 430 const mojo::String& service_url, | 430 const mojo::String& service_url, |
| 431 const mojo::String& service_name, | 431 const mojo::String& service_name, |
| 432 mojo::ScopedMessagePipeHandle message_pipe, | 432 mojo::ScopedMessagePipeHandle message_pipe, |
| 433 const mojo::String& requestor_url) OVERRIDE; | 433 const mojo::String& requestor_url) OVERRIDE; |
| 434 | 434 |
| 435 void Init(); | 435 void Init(); |
| 436 | 436 |
| 437 void OnCreateNewFrame(int routing_id, int parent_routing_id); |
| 438 void OnCreateNewFrameProxy(int routing_id, |
| 439 int parent_routing_id, |
| 440 int render_view_routing_id); |
| 437 void OnSetZoomLevelForCurrentURL(const std::string& scheme, | 441 void OnSetZoomLevelForCurrentURL(const std::string& scheme, |
| 438 const std::string& host, | 442 const std::string& host, |
| 439 double zoom_level); | 443 double zoom_level); |
| 440 void OnCreateNewView(const ViewMsg_New_Params& params); | 444 void OnCreateNewView(const ViewMsg_New_Params& params); |
| 441 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); | 445 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); |
| 442 void OnPurgePluginListCache(bool reload_pages); | 446 void OnPurgePluginListCache(bool reload_pages); |
| 443 void OnNetworkTypeChanged(net::NetworkChangeNotifier::ConnectionType type); | 447 void OnNetworkTypeChanged(net::NetworkChangeNotifier::ConnectionType type); |
| 444 void OnGetAccessibilityTree(); | 448 void OnGetAccessibilityTree(); |
| 445 void OnTempCrashWithData(const GURL& data); | 449 void OnTempCrashWithData(const GURL& data); |
| 446 void OnUpdateTimezone(); | 450 void OnUpdateTimezone(); |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 579 bool is_distance_field_text_enabled_; | 583 bool is_distance_field_text_enabled_; |
| 580 bool is_zero_copy_enabled_; | 584 bool is_zero_copy_enabled_; |
| 581 bool is_one_copy_enabled_; | 585 bool is_one_copy_enabled_; |
| 582 | 586 |
| 583 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 587 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 584 }; | 588 }; |
| 585 | 589 |
| 586 } // namespace content | 590 } // namespace content |
| 587 | 591 |
| 588 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 592 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |