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 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 | 482 |
483 void InitializeWebKit( | 483 void InitializeWebKit( |
484 scoped_refptr<base::SingleThreadTaskRunner>& resource_task_queue); | 484 scoped_refptr<base::SingleThreadTaskRunner>& resource_task_queue); |
485 | 485 |
486 void OnCreateNewFrame(FrameMsg_NewFrame_Params params); | 486 void OnCreateNewFrame(FrameMsg_NewFrame_Params params); |
487 void OnCreateNewFrameProxy(int routing_id, | 487 void OnCreateNewFrameProxy(int routing_id, |
488 int render_view_routing_id, | 488 int render_view_routing_id, |
489 int opener_routing_id, | 489 int opener_routing_id, |
490 int parent_routing_id, | 490 int parent_routing_id, |
491 const FrameReplicationState& replicated_state); | 491 const FrameReplicationState& replicated_state); |
492 void OnSetZoomLevelForCurrentURL(const std::string& scheme, | |
493 const std::string& host, | |
494 double zoom_level); | |
495 void OnCreateNewView(const ViewMsg_New_Params& params); | 492 void OnCreateNewView(const ViewMsg_New_Params& params); |
496 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); | 493 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); |
497 #if defined(ENABLE_PLUGINS) | 494 #if defined(ENABLE_PLUGINS) |
498 void OnPurgePluginListCache(bool reload_pages); | 495 void OnPurgePluginListCache(bool reload_pages); |
499 #endif | 496 #endif |
500 void OnNetworkConnectionChanged( | 497 void OnNetworkConnectionChanged( |
501 net::NetworkChangeNotifier::ConnectionType type, | 498 net::NetworkChangeNotifier::ConnectionType type, |
502 double max_bandwidth_mbps); | 499 double max_bandwidth_mbps); |
503 void OnGetAccessibilityTree(); | 500 void OnGetAccessibilityTree(); |
504 void OnUpdateTimezone(const std::string& zoneId); | 501 void OnUpdateTimezone(const std::string& zoneId); |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
713 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 710 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
714 }; | 711 }; |
715 | 712 |
716 #if defined(COMPILER_MSVC) | 713 #if defined(COMPILER_MSVC) |
717 #pragma warning(pop) | 714 #pragma warning(pop) |
718 #endif | 715 #endif |
719 | 716 |
720 } // namespace content | 717 } // namespace content |
721 | 718 |
722 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 719 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |