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 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 void OnOrientationChange() override; | 486 void OnOrientationChange() override; |
487 ui::TextInputType GetTextInputType() override; | 487 ui::TextInputType GetTextInputType() override; |
488 void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) override; | 488 void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) override; |
489 void FocusChangeComplete() override; | 489 void FocusChangeComplete() override; |
490 void GetCompositionCharacterBounds( | 490 void GetCompositionCharacterBounds( |
491 std::vector<gfx::Rect>* character_bounds) override; | 491 std::vector<gfx::Rect>* character_bounds) override; |
492 void GetCompositionRange(gfx::Range* range) override; | 492 void GetCompositionRange(gfx::Range* range) override; |
493 bool CanComposeInline() override; | 493 bool CanComposeInline() override; |
494 void DidCommitCompositorFrame() override; | 494 void DidCommitCompositorFrame() override; |
495 void DidCompletePageScaleAnimation() override; | 495 void DidCompletePageScaleAnimation() override; |
496 #if defined(OS_ANDROID) | |
497 bool DoesRecordFullLayer() const override; | |
498 #endif | |
499 | 496 |
500 protected: | 497 protected: |
501 RenderViewImpl(CompositorDependencies* compositor_deps, | 498 RenderViewImpl(CompositorDependencies* compositor_deps, |
502 const ViewMsg_New_Params& params); | 499 const ViewMsg_New_Params& params); |
503 | 500 |
504 void Initialize(const ViewMsg_New_Params& params, | 501 void Initialize(const ViewMsg_New_Params& params, |
505 bool was_created_by_renderer); | 502 bool was_created_by_renderer); |
506 void SetScreenMetricsEmulationParameters( | 503 void SetScreenMetricsEmulationParameters( |
507 bool enabled, | 504 bool enabled, |
508 const blink::WebDeviceEmulationParams& params) override; | 505 const blink::WebDeviceEmulationParams& params) override; |
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1031 // use the Observer interface to filter IPC messages and receive frame change | 1028 // use the Observer interface to filter IPC messages and receive frame change |
1032 // notifications. | 1029 // notifications. |
1033 // --------------------------------------------------------------------------- | 1030 // --------------------------------------------------------------------------- |
1034 | 1031 |
1035 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1032 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1036 }; | 1033 }; |
1037 | 1034 |
1038 } // namespace content | 1035 } // namespace content |
1039 | 1036 |
1040 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1037 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |