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

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: Don't use WeakPtr for PostTask on UI thread. 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 775 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 void OnGetSavableResourceLinks(); 786 void OnGetSavableResourceLinks();
787 void OnGetSerializedHtmlWithLocalLinks( 787 void OnGetSerializedHtmlWithLocalLinks(
788 const std::map<GURL, base::FilePath>& url_to_local_path, 788 const std::map<GURL, base::FilePath>& url_to_local_path,
789 const std::map<int, base::FilePath>& frame_routing_id_to_local_path); 789 const std::map<int, base::FilePath>& frame_routing_id_to_local_path);
790 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params); 790 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params);
791 void OnFind(int request_id, 791 void OnFind(int request_id,
792 const base::string16& search_text, 792 const base::string16& search_text,
793 const blink::WebFindOptions& options); 793 const blink::WebFindOptions& options);
794 void OnStopFinding(StopFindAction action); 794 void OnStopFinding(StopFindAction action);
795 void OnEnableViewSourceMode(); 795 void OnEnableViewSourceMode();
796 void OnSetTemporaryZoomLevel(double zoom_level, bool is_temporary);
797 void OnSetZoomLevelFromWebContents(double zoom_level);
796 #if defined(OS_ANDROID) 798 #if defined(OS_ANDROID)
797 void OnActivateNearestFindResult(int request_id, float x, float y); 799 void OnActivateNearestFindResult(int request_id, float x, float y);
798 void OnFindMatchRects(int current_version); 800 void OnFindMatchRects(int current_version);
799 void OnSelectPopupMenuItems(bool canceled, 801 void OnSelectPopupMenuItems(bool canceled,
800 const std::vector<int>& selected_indices); 802 const std::vector<int>& selected_indices);
801 #elif defined(OS_MACOSX) 803 #elif defined(OS_MACOSX)
802 void OnSelectPopupMenuItem(int selected_index); 804 void OnSelectPopupMenuItem(int selected_index);
803 void OnCopyToFindPboard(); 805 void OnCopyToFindPboard();
804 #endif 806 #endif
805 807
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
1204 #endif 1206 #endif
1205 1207
1206 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1208 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1207 1209
1208 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1210 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1209 }; 1211 };
1210 1212
1211 } // namespace content 1213 } // namespace content
1212 1214
1213 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1215 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698