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

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

Issue 2652643004: Make PageScaleFactor work for oopif subframes.
Patch Set: Fix patch gardening error: GesturePinch routing tests. Created 3 years, 11 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_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 blink::WebWidget* GetWebWidget() const override; 401 blink::WebWidget* GetWebWidget() const override;
402 void CloseForFrame() override; 402 void CloseForFrame() override;
403 void Close() override; 403 void Close() override;
404 void OnResize(const ResizeParams& params) override; 404 void OnResize(const ResizeParams& params) override;
405 void OnSetFocus(bool enable) override; 405 void OnSetFocus(bool enable) override;
406 GURL GetURLForGraphicsContext3D() override; 406 GURL GetURLForGraphicsContext3D() override;
407 void OnOrientationChange() override; 407 void OnOrientationChange() override;
408 void DidCommitCompositorFrame() override; 408 void DidCommitCompositorFrame() override;
409 void DidCompletePageScaleAnimation() override; 409 void DidCompletePageScaleAnimation() override;
410 void OnDeviceScaleFactorChanged() override; 410 void OnDeviceScaleFactorChanged() override;
411 void OnSetPageScaleFactorForSubframes(double page_scale);
411 void ResizeWebWidget() override; 412 void ResizeWebWidget() override;
412 413
413 RenderViewImpl(CompositorDependencies* compositor_deps, 414 RenderViewImpl(CompositorDependencies* compositor_deps,
414 const mojom::CreateViewParams& params); 415 const mojom::CreateViewParams& params);
415 416
416 void Initialize(const mojom::CreateViewParams& params, 417 void Initialize(const mojom::CreateViewParams& params,
417 const RenderWidget::ShowCallback& show_callback); 418 const RenderWidget::ShowCallback& show_callback);
418 void SetScreenMetricsEmulationParameters( 419 void SetScreenMetricsEmulationParameters(
419 bool enabled, 420 bool enabled,
420 const blink::WebDeviceEmulationParams& params) override; 421 const blink::WebDeviceEmulationParams& params) override;
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
845 // --------------------------------------------------------------------------- 846 // ---------------------------------------------------------------------------
846 847
847 base::WeakPtrFactory<RenderViewImpl> weak_ptr_factory_; 848 base::WeakPtrFactory<RenderViewImpl> weak_ptr_factory_;
848 849
849 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 850 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
850 }; 851 };
851 852
852 } // namespace content 853 } // namespace content
853 854
854 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 855 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698