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 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
530 void GetCompositionCharacterBounds( | 530 void GetCompositionCharacterBounds( |
531 std::vector<gfx::Rect>* character_bounds) override; | 531 std::vector<gfx::Rect>* character_bounds) override; |
532 void GetCompositionRange(gfx::Range* range) override; | 532 void GetCompositionRange(gfx::Range* range) override; |
533 #endif | 533 #endif |
534 bool CanComposeInline() override; | 534 bool CanComposeInline() override; |
535 void DidCommitCompositorFrame() override; | 535 void DidCommitCompositorFrame() override; |
536 void InstrumentWillBeginFrame(int frame_id) override; | 536 void InstrumentWillBeginFrame(int frame_id) override; |
537 void InstrumentDidBeginFrame() override; | 537 void InstrumentDidBeginFrame() override; |
538 void InstrumentDidCancelFrame() override; | 538 void InstrumentDidCancelFrame() override; |
539 void InstrumentWillComposite() override; | 539 void InstrumentWillComposite() override; |
| 540 void DidCompletePageScaleAnimation() override; |
540 | 541 |
541 protected: | 542 protected: |
542 explicit RenderViewImpl(RenderViewImplParams* params); | 543 explicit RenderViewImpl(RenderViewImplParams* params); |
543 | 544 |
544 void Initialize(RenderViewImplParams* params); | 545 void Initialize(RenderViewImplParams* params); |
545 void SetScreenMetricsEmulationParameters(float device_scale_factor, | 546 void SetScreenMetricsEmulationParameters(float device_scale_factor, |
546 const gfx::Point& root_layer_offset, | 547 const gfx::Point& root_layer_offset, |
547 float root_layer_scale) override; | 548 float root_layer_scale) override; |
548 | 549 |
549 // Do not delete directly. This class is reference counted. | 550 // Do not delete directly. This class is reference counted. |
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1104 // use the Observer interface to filter IPC messages and receive frame change | 1105 // use the Observer interface to filter IPC messages and receive frame change |
1105 // notifications. | 1106 // notifications. |
1106 // --------------------------------------------------------------------------- | 1107 // --------------------------------------------------------------------------- |
1107 | 1108 |
1108 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1109 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1109 }; | 1110 }; |
1110 | 1111 |
1111 } // namespace content | 1112 } // namespace content |
1112 | 1113 |
1113 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1114 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |