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

Side by Side Diff: content/renderer/render_frame_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, run two experiments. 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 void OnGetSavableResourceLinks(); 788 void OnGetSavableResourceLinks();
789 void OnGetSerializedHtmlWithLocalLinks( 789 void OnGetSerializedHtmlWithLocalLinks(
790 const std::map<GURL, base::FilePath>& url_to_local_path, 790 const std::map<GURL, base::FilePath>& url_to_local_path,
791 const std::map<int, base::FilePath>& frame_routing_id_to_local_path); 791 const std::map<int, base::FilePath>& frame_routing_id_to_local_path);
792 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params); 792 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params);
793 void OnFind(int request_id, 793 void OnFind(int request_id,
794 const base::string16& search_text, 794 const base::string16& search_text,
795 const blink::WebFindOptions& options); 795 const blink::WebFindOptions& options);
796 void OnStopFinding(StopFindAction action); 796 void OnStopFinding(StopFindAction action);
797 void OnEnableViewSourceMode(); 797 void OnEnableViewSourceMode();
798 void OnSetTemporaryZoomLevel(double zoom_level, bool is_temporary);
799 void OnSetPageZoomLevel(double zoom_level);
798 #if defined(OS_ANDROID) 800 #if defined(OS_ANDROID)
799 void OnActivateNearestFindResult(int request_id, float x, float y); 801 void OnActivateNearestFindResult(int request_id, float x, float y);
800 void OnFindMatchRects(int current_version); 802 void OnFindMatchRects(int current_version);
801 void OnSelectPopupMenuItems(bool canceled, 803 void OnSelectPopupMenuItems(bool canceled,
802 const std::vector<int>& selected_indices); 804 const std::vector<int>& selected_indices);
803 #elif defined(OS_MACOSX) 805 #elif defined(OS_MACOSX)
804 void OnSelectPopupMenuItem(int selected_index); 806 void OnSelectPopupMenuItem(int selected_index);
805 void OnCopyToFindPboard(); 807 void OnCopyToFindPboard();
806 #endif 808 #endif
807 809
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
1210 FrameBlameContext* blame_context_; // Not owned. 1212 FrameBlameContext* blame_context_; // Not owned.
1211 1213
1212 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1214 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1213 1215
1214 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1216 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1215 }; 1217 };
1216 1218
1217 } // namespace content 1219 } // namespace content
1218 1220
1219 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1221 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698