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

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

Issue 2417783005: [Master/Overview CL] Make PageScaleFactor work for oopif subframe.
Patch Set: Created 4 years, 2 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 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 blink::WebWidget* GetWebWidget() const override; 427 blink::WebWidget* GetWebWidget() const override;
428 void CloseForFrame() override; 428 void CloseForFrame() override;
429 void Close() override; 429 void Close() override;
430 void OnResize(const ResizeParams& params) override; 430 void OnResize(const ResizeParams& params) override;
431 void OnSetFocus(bool enable) override; 431 void OnSetFocus(bool enable) override;
432 GURL GetURLForGraphicsContext3D() override; 432 GURL GetURLForGraphicsContext3D() override;
433 void OnOrientationChange() override; 433 void OnOrientationChange() override;
434 void DidCommitCompositorFrame() override; 434 void DidCommitCompositorFrame() override;
435 void DidCompletePageScaleAnimation() override; 435 void DidCompletePageScaleAnimation() override;
436 void OnDeviceScaleFactorChanged() override; 436 void OnDeviceScaleFactorChanged() override;
437 void OnSetPageScaleFactor(double page_scale);
437 void ResizeWebWidget() override; 438 void ResizeWebWidget() override;
438 439
439 RenderViewImpl(CompositorDependencies* compositor_deps, 440 RenderViewImpl(CompositorDependencies* compositor_deps,
440 const mojom::CreateViewParams& params); 441 const mojom::CreateViewParams& params);
441 442
442 void Initialize(const mojom::CreateViewParams& params, 443 void Initialize(const mojom::CreateViewParams& params,
443 bool was_created_by_renderer); 444 bool was_created_by_renderer);
444 void SetScreenMetricsEmulationParameters( 445 void SetScreenMetricsEmulationParameters(
445 bool enabled, 446 bool enabled,
446 const blink::WebDeviceEmulationParams& params) override; 447 const blink::WebDeviceEmulationParams& params) override;
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
908 // use the Observer interface to filter IPC messages and receive frame change 909 // use the Observer interface to filter IPC messages and receive frame change
909 // notifications. 910 // notifications.
910 // --------------------------------------------------------------------------- 911 // ---------------------------------------------------------------------------
911 912
912 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 913 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
913 }; 914 };
914 915
915 } // namespace content 916 } // namespace content
916 917
917 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 918 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698