| 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 586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 597 virtual void InstrumentDidBeginFrame() OVERRIDE; | 597 virtual void InstrumentDidBeginFrame() OVERRIDE; |
| 598 virtual void InstrumentDidCancelFrame() OVERRIDE; | 598 virtual void InstrumentDidCancelFrame() OVERRIDE; |
| 599 virtual void InstrumentWillComposite() OVERRIDE; | 599 virtual void InstrumentWillComposite() OVERRIDE; |
| 600 #if defined(OS_ANDROID) | 600 #if defined(OS_ANDROID) |
| 601 virtual void UpdateSelectionRootBounds() OVERRIDE; | 601 virtual void UpdateSelectionRootBounds() OVERRIDE; |
| 602 #endif | 602 #endif |
| 603 | 603 |
| 604 protected: | 604 protected: |
| 605 explicit RenderViewImpl(RenderViewImplParams* params); | 605 explicit RenderViewImpl(RenderViewImplParams* params); |
| 606 | 606 |
| 607 void Initialize( | 607 void Initialize(RenderViewImplParams* params); |
| 608 RenderViewImplParams* params, | |
| 609 RenderFrameImpl* main_render_frame); | |
| 610 virtual void SetScreenMetricsEmulationParameters( | 608 virtual void SetScreenMetricsEmulationParameters( |
| 611 float device_scale_factor, | 609 float device_scale_factor, |
| 612 const gfx::Point& root_layer_offset, | 610 const gfx::Point& root_layer_offset, |
| 613 float root_layer_scale) OVERRIDE; | 611 float root_layer_scale) OVERRIDE; |
| 614 | 612 |
| 615 // Do not delete directly. This class is reference counted. | 613 // Do not delete directly. This class is reference counted. |
| 616 virtual ~RenderViewImpl(); | 614 virtual ~RenderViewImpl(); |
| 617 | 615 |
| 618 private: | 616 private: |
| 619 // For unit tests. | 617 // For unit tests. |
| (...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1312 // use the Observer interface to filter IPC messages and receive frame change | 1310 // use the Observer interface to filter IPC messages and receive frame change |
| 1313 // notifications. | 1311 // notifications. |
| 1314 // --------------------------------------------------------------------------- | 1312 // --------------------------------------------------------------------------- |
| 1315 | 1313 |
| 1316 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1314 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1317 }; | 1315 }; |
| 1318 | 1316 |
| 1319 } // namespace content | 1317 } // namespace content |
| 1320 | 1318 |
| 1321 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1319 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |