| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 457 protected: | 457 protected: |
| 458 // RenderWidget overrides: | 458 // RenderWidget overrides: |
| 459 void CloseForFrame() override; | 459 void CloseForFrame() override; |
| 460 void Close() override; | 460 void Close() override; |
| 461 void OnResize(const ResizeParams& params) override; | 461 void OnResize(const ResizeParams& params) override; |
| 462 void OnSetFocus(bool enable) override; | 462 void OnSetFocus(bool enable) override; |
| 463 void OnWasHidden() override; | 463 void OnWasHidden() override; |
| 464 void OnWasShown(bool needs_repainting, | 464 void OnWasShown(bool needs_repainting, |
| 465 const ui::LatencyInfo& latency_info) override; | 465 const ui::LatencyInfo& latency_info) override; |
| 466 GURL GetURLForGraphicsContext3D() override; | 466 GURL GetURLForGraphicsContext3D() override; |
| 467 void OnImeSetComposition( | |
| 468 const base::string16& text, | |
| 469 const std::vector<blink::WebCompositionUnderline>& underlines, | |
| 470 const gfx::Range& replacement_range, | |
| 471 int selection_start, | |
| 472 int selection_end) override; | |
| 473 void OnImeConfirmComposition(const base::string16& text, | |
| 474 const gfx::Range& replacement_range, | |
| 475 bool keep_selection) override; | |
| 476 void OnOrientationChange() override; | 467 void OnOrientationChange() override; |
| 477 ui::TextInputType GetTextInputType() override; | |
| 478 void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) override; | |
| 479 void GetCompositionCharacterBounds( | |
| 480 std::vector<gfx::Rect>* character_bounds_in_window) override; | |
| 481 void GetCompositionRange(gfx::Range* range) override; | |
| 482 bool CanComposeInline() override; | |
| 483 void DidCommitCompositorFrame() override; | 468 void DidCommitCompositorFrame() override; |
| 484 void DidCompletePageScaleAnimation() override; | 469 void DidCompletePageScaleAnimation() override; |
| 485 void OnDeviceScaleFactorChanged() override; | 470 void OnDeviceScaleFactorChanged() override; |
| 486 void ResizeWebWidget() override; | 471 void ResizeWebWidget() override; |
| 487 | 472 |
| 488 RenderViewImpl(CompositorDependencies* compositor_deps, | 473 RenderViewImpl(CompositorDependencies* compositor_deps, |
| 489 const ViewMsg_New_Params& params); | 474 const ViewMsg_New_Params& params); |
| 490 | 475 |
| 491 void Initialize(const ViewMsg_New_Params& params, | 476 void Initialize(const ViewMsg_New_Params& params, |
| 492 bool was_created_by_renderer); | 477 bool was_created_by_renderer); |
| (...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 969 // use the Observer interface to filter IPC messages and receive frame change | 954 // use the Observer interface to filter IPC messages and receive frame change |
| 970 // notifications. | 955 // notifications. |
| 971 // --------------------------------------------------------------------------- | 956 // --------------------------------------------------------------------------- |
| 972 | 957 |
| 973 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 958 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 974 }; | 959 }; |
| 975 | 960 |
| 976 } // namespace content | 961 } // namespace content |
| 977 | 962 |
| 978 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 963 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |