| 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 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 protected: | 445 protected: |
| 446 // RenderWidget overrides: | 446 // RenderWidget overrides: |
| 447 void CloseForFrame() override; | 447 void CloseForFrame() override; |
| 448 void Close() override; | 448 void Close() override; |
| 449 void OnResize(const ResizeParams& params) override; | 449 void OnResize(const ResizeParams& params) override; |
| 450 void OnSetFocus(bool enable) override; | 450 void OnSetFocus(bool enable) override; |
| 451 void OnWasHidden() override; | 451 void OnWasHidden() override; |
| 452 void OnWasShown(bool needs_repainting, | 452 void OnWasShown(bool needs_repainting, |
| 453 const ui::LatencyInfo& latency_info) override; | 453 const ui::LatencyInfo& latency_info) override; |
| 454 GURL GetURLForGraphicsContext3D() override; | 454 GURL GetURLForGraphicsContext3D() override; |
| 455 void OnImeSetComposition( | |
| 456 const base::string16& text, | |
| 457 const std::vector<blink::WebCompositionUnderline>& underlines, | |
| 458 const gfx::Range& replacement_range, | |
| 459 int selection_start, | |
| 460 int selection_end) override; | |
| 461 void OnImeConfirmComposition(const base::string16& text, | |
| 462 const gfx::Range& replacement_range, | |
| 463 bool keep_selection) override; | |
| 464 void OnOrientationChange() override; | 455 void OnOrientationChange() override; |
| 465 ui::TextInputType GetTextInputType() override; | |
| 466 void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) override; | |
| 467 void GetCompositionCharacterBounds( | |
| 468 std::vector<gfx::Rect>* character_bounds_in_window) override; | |
| 469 void GetCompositionRange(gfx::Range* range) override; | |
| 470 bool CanComposeInline() override; | |
| 471 void DidCommitCompositorFrame() override; | 456 void DidCommitCompositorFrame() override; |
| 472 void DidCompletePageScaleAnimation() override; | 457 void DidCompletePageScaleAnimation() override; |
| 473 void OnDeviceScaleFactorChanged() override; | 458 void OnDeviceScaleFactorChanged() override; |
| 474 void ResizeWebWidget() override; | 459 void ResizeWebWidget() override; |
| 475 | 460 |
| 476 RenderViewImpl(CompositorDependencies* compositor_deps, | 461 RenderViewImpl(CompositorDependencies* compositor_deps, |
| 477 const ViewMsg_New_Params& params); | 462 const ViewMsg_New_Params& params); |
| 478 | 463 |
| 479 void Initialize(const ViewMsg_New_Params& params, | 464 void Initialize(const ViewMsg_New_Params& params, |
| 480 bool was_created_by_renderer); | 465 bool was_created_by_renderer); |
| (...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 945 // use the Observer interface to filter IPC messages and receive frame change | 930 // use the Observer interface to filter IPC messages and receive frame change |
| 946 // notifications. | 931 // notifications. |
| 947 // --------------------------------------------------------------------------- | 932 // --------------------------------------------------------------------------- |
| 948 | 933 |
| 949 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 934 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 950 }; | 935 }; |
| 951 | 936 |
| 952 } // namespace content | 937 } // namespace content |
| 953 | 938 |
| 954 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 939 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |