| 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 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 490 int selection_start, | 490 int selection_start, |
| 491 int selection_end) override; | 491 int selection_end) override; |
| 492 void OnImeConfirmComposition(const base::string16& text, | 492 void OnImeConfirmComposition(const base::string16& text, |
| 493 const gfx::Range& replacement_range, | 493 const gfx::Range& replacement_range, |
| 494 bool keep_selection) override; | 494 bool keep_selection) override; |
| 495 void SetDeviceScaleFactor(float device_scale_factor) override; | 495 void SetDeviceScaleFactor(float device_scale_factor) override; |
| 496 bool SetDeviceColorProfile(const std::vector<char>& color_profile) override; | 496 bool SetDeviceColorProfile(const std::vector<char>& color_profile) override; |
| 497 void OnOrientationChange() override; | 497 void OnOrientationChange() override; |
| 498 ui::TextInputType GetTextInputType() override; | 498 ui::TextInputType GetTextInputType() override; |
| 499 void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) override; | 499 void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) override; |
| 500 void FocusChangeComplete() override; |
| 500 void GetCompositionCharacterBounds( | 501 void GetCompositionCharacterBounds( |
| 501 std::vector<gfx::Rect>* character_bounds) override; | 502 std::vector<gfx::Rect>* character_bounds) override; |
| 502 void GetCompositionRange(gfx::Range* range) override; | 503 void GetCompositionRange(gfx::Range* range) override; |
| 503 bool CanComposeInline() override; | 504 bool CanComposeInline() override; |
| 504 void DidCommitCompositorFrame() override; | 505 void DidCommitCompositorFrame() override; |
| 505 void InstrumentWillBeginFrame(int frame_id) override; | 506 void InstrumentWillBeginFrame(int frame_id) override; |
| 506 void InstrumentDidBeginFrame() override; | 507 void InstrumentDidBeginFrame() override; |
| 507 void InstrumentDidCancelFrame() override; | 508 void InstrumentDidCancelFrame() override; |
| 508 void InstrumentWillComposite() override; | 509 void InstrumentWillComposite() override; |
| 510 void DidCompletePageScaleAnimation() override; |
| 509 | 511 |
| 510 protected: | 512 protected: |
| 511 explicit RenderViewImpl(const ViewMsg_New_Params& params); | 513 explicit RenderViewImpl(const ViewMsg_New_Params& params); |
| 512 | 514 |
| 513 void Initialize(const ViewMsg_New_Params& params, | 515 void Initialize(const ViewMsg_New_Params& params, |
| 514 CompositorDependencies* compositor_deps, | 516 CompositorDependencies* compositor_deps, |
| 515 bool was_created_by_renderer); | 517 bool was_created_by_renderer); |
| 516 void SetScreenMetricsEmulationParameters(float device_scale_factor, | 518 void SetScreenMetricsEmulationParameters(float device_scale_factor, |
| 517 const gfx::Point& root_layer_offset, | 519 const gfx::Point& root_layer_offset, |
| 518 float root_layer_scale) override; | 520 float root_layer_scale) override; |
| (...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1056 // use the Observer interface to filter IPC messages and receive frame change | 1058 // use the Observer interface to filter IPC messages and receive frame change |
| 1057 // notifications. | 1059 // notifications. |
| 1058 // --------------------------------------------------------------------------- | 1060 // --------------------------------------------------------------------------- |
| 1059 | 1061 |
| 1060 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1062 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1061 }; | 1063 }; |
| 1062 | 1064 |
| 1063 } // namespace content | 1065 } // namespace content |
| 1064 | 1066 |
| 1065 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1067 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |