| 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 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 454 | 454 |
| 455 // Please do not add your stuff randomly to the end here. If there is an | 455 // Please do not add your stuff randomly to the end here. If there is an |
| 456 // appropriate section, add it there. If not, there are some random functions | 456 // appropriate section, add it there. If not, there are some random functions |
| 457 // nearer to the top you can add it to. | 457 // nearer to the top you can add it to. |
| 458 | 458 |
| 459 protected: | 459 protected: |
| 460 // RenderWidget overrides: | 460 // RenderWidget overrides: |
| 461 void CloseForFrame() override; | 461 void CloseForFrame() override; |
| 462 void Close() override; | 462 void Close() override; |
| 463 void OnResize(const ResizeParams& params) override; | 463 void OnResize(const ResizeParams& params) override; |
| 464 void DidInitiatePaint() override; | |
| 465 void DidFlushPaint() override; | |
| 466 gfx::Vector2d GetScrollOffset() override; | 464 gfx::Vector2d GetScrollOffset() override; |
| 467 void OnSetFocus(bool enable) override; | 465 void OnSetFocus(bool enable) override; |
| 468 void OnWasHidden() override; | 466 void OnWasHidden() override; |
| 469 void OnWasShown(bool needs_repainting, | 467 void OnWasShown(bool needs_repainting, |
| 470 const ui::LatencyInfo& latency_info) override; | 468 const ui::LatencyInfo& latency_info) override; |
| 471 GURL GetURLForGraphicsContext3D() override; | 469 GURL GetURLForGraphicsContext3D() override; |
| 472 void OnImeSetComposition( | 470 void OnImeSetComposition( |
| 473 const base::string16& text, | 471 const base::string16& text, |
| 474 const std::vector<blink::WebCompositionUnderline>& underlines, | 472 const std::vector<blink::WebCompositionUnderline>& underlines, |
| 475 const gfx::Range& replacement_range, | 473 const gfx::Range& replacement_range, |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 577 void RenderWidgetDidSetColorProfile( | 575 void RenderWidgetDidSetColorProfile( |
| 578 const std::vector<char>& color_profile) override; | 576 const std::vector<char>& color_profile) override; |
| 579 void RenderWidgetFocusChangeComplete() override; | 577 void RenderWidgetFocusChangeComplete() override; |
| 580 bool DoesRenderWidgetHaveTouchEventHandlersAt( | 578 bool DoesRenderWidgetHaveTouchEventHandlersAt( |
| 581 const gfx::Point& point) const override; | 579 const gfx::Point& point) const override; |
| 582 void RenderWidgetDidHandleKeyEvent() override; | 580 void RenderWidgetDidHandleKeyEvent() override; |
| 583 bool RenderWidgetWillHandleGestureEvent( | 581 bool RenderWidgetWillHandleGestureEvent( |
| 584 const blink::WebGestureEvent& event) override; | 582 const blink::WebGestureEvent& event) override; |
| 585 bool RenderWidgetWillHandleMouseEvent( | 583 bool RenderWidgetWillHandleMouseEvent( |
| 586 const blink::WebMouseEvent& event) override; | 584 const blink::WebMouseEvent& event) override; |
| 585 void RenderWidgetDidCommitAndDrawCompositorFrame() override; |
| 586 void RenderWidgetDidFlushPaint() override; |
| 587 | 587 |
| 588 // Old WebFrameClient implementations ---------------------------------------- | 588 // Old WebFrameClient implementations ---------------------------------------- |
| 589 | 589 |
| 590 // RenderViewImpl used to be a WebFrameClient, but now RenderFrameImpl is the | 590 // RenderViewImpl used to be a WebFrameClient, but now RenderFrameImpl is the |
| 591 // WebFrameClient. However, many implementations of WebFrameClient methods | 591 // WebFrameClient. However, many implementations of WebFrameClient methods |
| 592 // still live here and are called from RenderFrameImpl. These implementations | 592 // still live here and are called from RenderFrameImpl. These implementations |
| 593 // are to be moved to RenderFrameImpl <http://crbug.com/361761>. | 593 // are to be moved to RenderFrameImpl <http://crbug.com/361761>. |
| 594 | 594 |
| 595 void didChangeIcon(blink::WebLocalFrame*, blink::WebIconURL::Type); | 595 void didChangeIcon(blink::WebLocalFrame*, blink::WebIconURL::Type); |
| 596 | 596 |
| (...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1020 // use the Observer interface to filter IPC messages and receive frame change | 1020 // use the Observer interface to filter IPC messages and receive frame change |
| 1021 // notifications. | 1021 // notifications. |
| 1022 // --------------------------------------------------------------------------- | 1022 // --------------------------------------------------------------------------- |
| 1023 | 1023 |
| 1024 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1024 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1025 }; | 1025 }; |
| 1026 | 1026 |
| 1027 } // namespace content | 1027 } // namespace content |
| 1028 | 1028 |
| 1029 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1029 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |