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

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

Issue 2652643004: Make PageScaleFactor work for oopif subframes.
Patch Set: Put function prototype in correct place. Created 3 years, 10 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
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 599 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 void didChangePerformanceTiming() override; 610 void didChangePerformanceTiming() override;
611 void didObserveLoadingBehavior( 611 void didObserveLoadingBehavior(
612 blink::WebLoadingBehaviorFlag behavior) override; 612 blink::WebLoadingBehaviorFlag behavior) override;
613 void didCreateScriptContext(blink::WebLocalFrame* frame, 613 void didCreateScriptContext(blink::WebLocalFrame* frame,
614 v8::Local<v8::Context> context, 614 v8::Local<v8::Context> context,
615 int world_id) override; 615 int world_id) override;
616 void willReleaseScriptContext(blink::WebLocalFrame* frame, 616 void willReleaseScriptContext(blink::WebLocalFrame* frame,
617 v8::Local<v8::Context> context, 617 v8::Local<v8::Context> context,
618 int world_id) override; 618 int world_id) override;
619 void didChangeScrollOffset(blink::WebLocalFrame* frame) override; 619 void didChangeScrollOffset(blink::WebLocalFrame* frame) override;
620 void didRestorePageScaleFactorOnLoad(float page_scale) override;
620 void willInsertBody(blink::WebLocalFrame* frame) override; 621 void willInsertBody(blink::WebLocalFrame* frame) override;
621 void reportFindInPageMatchCount(int request_id, 622 void reportFindInPageMatchCount(int request_id,
622 int count, 623 int count,
623 bool final_update) override; 624 bool final_update) override;
624 void reportFindInPageSelection(int request_id, 625 void reportFindInPageSelection(int request_id,
625 int active_match_ordinal, 626 int active_match_ordinal,
626 const blink::WebRect& sel) override; 627 const blink::WebRect& sel) override;
627 void requestStorageQuota(blink::WebStorageQuotaType type, 628 void requestStorageQuota(blink::WebStorageQuotaType type,
628 unsigned long long requested_size, 629 unsigned long long requested_size,
629 blink::WebStorageQuotaCallbacks callbacks) override; 630 blink::WebStorageQuotaCallbacks callbacks) override;
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 void OnFind(int request_id, 892 void OnFind(int request_id,
892 const base::string16& search_text, 893 const base::string16& search_text,
893 const blink::WebFindOptions& options); 894 const blink::WebFindOptions& options);
894 void OnClearActiveFindMatch(); 895 void OnClearActiveFindMatch();
895 void OnStopFinding(StopFindAction action); 896 void OnStopFinding(StopFindAction action);
896 void OnEnableViewSourceMode(); 897 void OnEnableViewSourceMode();
897 void OnSuppressFurtherDialogs(); 898 void OnSuppressFurtherDialogs();
898 void OnFileChooserResponse( 899 void OnFileChooserResponse(
899 const std::vector<content::FileChooserFileInfo>& files); 900 const std::vector<content::FileChooserFileInfo>& files);
900 void OnClearFocusedElement(); 901 void OnClearFocusedElement();
902 void OnSetPageScaleFactorForSubframe(double page_scale_factor);
903
901 #if defined(OS_ANDROID) 904 #if defined(OS_ANDROID)
902 void OnActivateNearestFindResult(int request_id, float x, float y); 905 void OnActivateNearestFindResult(int request_id, float x, float y);
903 void OnGetNearestFindResult(int request_id, float x, float y); 906 void OnGetNearestFindResult(int request_id, float x, float y);
904 void OnFindMatchRects(int current_version); 907 void OnFindMatchRects(int current_version);
905 #endif 908 #endif
906 909
907 #if defined(USE_EXTERNAL_POPUP_MENU) 910 #if defined(USE_EXTERNAL_POPUP_MENU)
908 #if defined(OS_MACOSX) 911 #if defined(OS_MACOSX)
909 void OnSelectPopupMenuItem(int selected_index); 912 void OnSelectPopupMenuItem(int selected_index);
910 #else 913 #else
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
1382 bool browser_side_navigation_pending_ = false; 1385 bool browser_side_navigation_pending_ = false;
1383 1386
1384 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1387 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1385 1388
1386 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1389 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1387 }; 1390 };
1388 1391
1389 } // namespace content 1392 } // namespace content
1390 1393
1391 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1394 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698