OLD | NEW |
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 <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
767 virtual void InstrumentWillBeginFrame() OVERRIDE; | 767 virtual void InstrumentWillBeginFrame() OVERRIDE; |
768 virtual void InstrumentDidBeginFrame() OVERRIDE; | 768 virtual void InstrumentDidBeginFrame() OVERRIDE; |
769 virtual void InstrumentDidCancelFrame() OVERRIDE; | 769 virtual void InstrumentDidCancelFrame() OVERRIDE; |
770 virtual void InstrumentWillComposite() OVERRIDE; | 770 virtual void InstrumentWillComposite() OVERRIDE; |
771 virtual bool AllowPartialSwap() const OVERRIDE; | 771 virtual bool AllowPartialSwap() const OVERRIDE; |
772 | 772 |
773 protected: | 773 protected: |
774 explicit RenderViewImpl(RenderViewImplParams* params); | 774 explicit RenderViewImpl(RenderViewImplParams* params); |
775 | 775 |
776 void Initialize(RenderViewImplParams* params); | 776 void Initialize(RenderViewImplParams* params); |
| 777 virtual void SetScreenMetricsEmulationParameters( |
| 778 float device_scale_factor, float root_layer_scale) OVERRIDE; |
777 | 779 |
778 // Do not delete directly. This class is reference counted. | 780 // Do not delete directly. This class is reference counted. |
779 virtual ~RenderViewImpl(); | 781 virtual ~RenderViewImpl(); |
780 | 782 |
781 private: | 783 private: |
782 // For unit tests. | 784 // For unit tests. |
783 friend class ExternalPopupMenuTest; | 785 friend class ExternalPopupMenuTest; |
784 friend class PepperDeviceTest; | 786 friend class PepperDeviceTest; |
785 friend class RendererAccessibilityTest; | 787 friend class RendererAccessibilityTest; |
786 friend class RenderViewTest; | 788 friend class RenderViewTest; |
(...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1530 // use the Observer interface to filter IPC messages and receive frame change | 1532 // use the Observer interface to filter IPC messages and receive frame change |
1531 // notifications. | 1533 // notifications. |
1532 // --------------------------------------------------------------------------- | 1534 // --------------------------------------------------------------------------- |
1533 | 1535 |
1534 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1536 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1535 }; | 1537 }; |
1536 | 1538 |
1537 } // namespace content | 1539 } // namespace content |
1538 | 1540 |
1539 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1541 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |