Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 1804023002: Fix page zoom to be frame-centric for out-of-process frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address alexmos@ comments Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 485
486 void InitializeWebKit( 486 void InitializeWebKit(
487 scoped_refptr<base::SingleThreadTaskRunner>& resource_task_queue); 487 scoped_refptr<base::SingleThreadTaskRunner>& resource_task_queue);
488 488
489 void OnCreateNewFrame(FrameMsg_NewFrame_Params params); 489 void OnCreateNewFrame(FrameMsg_NewFrame_Params params);
490 void OnCreateNewFrameProxy(int routing_id, 490 void OnCreateNewFrameProxy(int routing_id,
491 int render_view_routing_id, 491 int render_view_routing_id,
492 int opener_routing_id, 492 int opener_routing_id,
493 int parent_routing_id, 493 int parent_routing_id,
494 const FrameReplicationState& replicated_state); 494 const FrameReplicationState& replicated_state);
495 void OnSetZoomLevelForCurrentURL(const std::string& scheme,
496 const std::string& host,
497 double zoom_level);
498 void OnCreateNewView(const ViewMsg_New_Params& params); 495 void OnCreateNewView(const ViewMsg_New_Params& params);
499 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); 496 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id);
500 #if defined(ENABLE_PLUGINS) 497 #if defined(ENABLE_PLUGINS)
501 void OnPurgePluginListCache(bool reload_pages); 498 void OnPurgePluginListCache(bool reload_pages);
502 #endif 499 #endif
503 void OnNetworkConnectionChanged( 500 void OnNetworkConnectionChanged(
504 net::NetworkChangeNotifier::ConnectionType type, 501 net::NetworkChangeNotifier::ConnectionType type,
505 double max_bandwidth_mbps); 502 double max_bandwidth_mbps);
506 void OnGetAccessibilityTree(); 503 void OnGetAccessibilityTree();
507 void OnUpdateTimezone(const std::string& zoneId); 504 void OnUpdateTimezone(const std::string& zoneId);
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 714 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
718 }; 715 };
719 716
720 #if defined(COMPILER_MSVC) 717 #if defined(COMPILER_MSVC)
721 #pragma warning(pop) 718 #pragma warning(pop)
722 #endif 719 #endif
723 720
724 } // namespace content 721 } // namespace content
725 722
726 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 723 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698