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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 | 486 |
487 void InitializeWebKit( | 487 void InitializeWebKit( |
488 scoped_refptr<base::SingleThreadTaskRunner>& resource_task_queue); | 488 scoped_refptr<base::SingleThreadTaskRunner>& resource_task_queue); |
489 | 489 |
490 void OnCreateNewFrame(FrameMsg_NewFrame_Params params); | 490 void OnCreateNewFrame(FrameMsg_NewFrame_Params params); |
491 void OnCreateNewFrameProxy(int routing_id, | 491 void OnCreateNewFrameProxy(int routing_id, |
492 int render_view_routing_id, | 492 int render_view_routing_id, |
493 int opener_routing_id, | 493 int opener_routing_id, |
494 int parent_routing_id, | 494 int parent_routing_id, |
495 const FrameReplicationState& replicated_state); | 495 const FrameReplicationState& replicated_state); |
496 void OnSetZoomLevelForCurrentURL(const std::string& scheme, | |
497 const std::string& host, | |
498 double zoom_level); | |
499 void OnCreateNewView(const ViewMsg_New_Params& params); | 496 void OnCreateNewView(const ViewMsg_New_Params& params); |
500 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); | 497 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); |
501 #if defined(ENABLE_PLUGINS) | 498 #if defined(ENABLE_PLUGINS) |
502 void OnPurgePluginListCache(bool reload_pages); | 499 void OnPurgePluginListCache(bool reload_pages); |
503 #endif | 500 #endif |
504 void OnNetworkConnectionChanged( | 501 void OnNetworkConnectionChanged( |
505 net::NetworkChangeNotifier::ConnectionType type, | 502 net::NetworkChangeNotifier::ConnectionType type, |
506 double max_bandwidth_mbps); | 503 double max_bandwidth_mbps); |
507 void OnGetAccessibilityTree(); | 504 void OnGetAccessibilityTree(); |
508 void OnUpdateTimezone(const std::string& zoneId); | 505 void OnUpdateTimezone(const std::string& zoneId); |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
719 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 716 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
720 }; | 717 }; |
721 | 718 |
722 #if defined(COMPILER_MSVC) | 719 #if defined(COMPILER_MSVC) |
723 #pragma warning(pop) | 720 #pragma warning(pop) |
724 #endif | 721 #endif |
725 | 722 |
726 } // namespace content | 723 } // namespace content |
727 | 724 |
728 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 725 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |