| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 673 const gfx::Rect& paint_bounds, | 673 const gfx::Rect& paint_bounds, |
| 674 TransportDIB** dib, | 674 TransportDIB** dib, |
| 675 gfx::Rect* location, | 675 gfx::Rect* location, |
| 676 gfx::Rect* clip) OVERRIDE; | 676 gfx::Rect* clip) OVERRIDE; |
| 677 virtual gfx::Point GetScrollOffset() OVERRIDE; | 677 virtual gfx::Point GetScrollOffset() OVERRIDE; |
| 678 virtual void DidHandleKeyEvent() OVERRIDE; | 678 virtual void DidHandleKeyEvent() OVERRIDE; |
| 679 virtual bool WillHandleMouseEvent( | 679 virtual bool WillHandleMouseEvent( |
| 680 const WebKit::WebMouseEvent& event) OVERRIDE; | 680 const WebKit::WebMouseEvent& event) OVERRIDE; |
| 681 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event) OVERRIDE; | 681 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event) OVERRIDE; |
| 682 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) OVERRIDE; | 682 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) OVERRIDE; |
| 683 virtual void DidHandleWheelEvent( |
| 684 const WebKit::WebMouseWheelEvent& event) OVERRIDE; |
| 683 virtual void OnSetFocus(bool enable) OVERRIDE; | 685 virtual void OnSetFocus(bool enable) OVERRIDE; |
| 684 virtual void OnWasHidden() OVERRIDE; | 686 virtual void OnWasHidden() OVERRIDE; |
| 685 virtual void OnWasRestored(bool needs_repainting) OVERRIDE; | 687 virtual void OnWasRestored(bool needs_repainting) OVERRIDE; |
| 686 virtual bool SupportsAsynchronousSwapBuffers() OVERRIDE; | 688 virtual bool SupportsAsynchronousSwapBuffers() OVERRIDE; |
| 687 virtual void OnImeSetComposition( | 689 virtual void OnImeSetComposition( |
| 688 const string16& text, | 690 const string16& text, |
| 689 const std::vector<WebKit::WebCompositionUnderline>& underlines, | 691 const std::vector<WebKit::WebCompositionUnderline>& underlines, |
| 690 int selection_start, | 692 int selection_start, |
| 691 int selection_end) OVERRIDE; | 693 int selection_end) OVERRIDE; |
| 692 virtual void OnImeConfirmComposition( | 694 virtual void OnImeConfirmComposition( |
| (...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1331 // bunch of stuff, you should probably create a helper class and put your | 1333 // bunch of stuff, you should probably create a helper class and put your |
| 1332 // data and methods on that to avoid bloating RenderView more. You can | 1334 // data and methods on that to avoid bloating RenderView more. You can |
| 1333 // use the Observer interface to filter IPC messages and receive frame change | 1335 // use the Observer interface to filter IPC messages and receive frame change |
| 1334 // notifications. | 1336 // notifications. |
| 1335 // --------------------------------------------------------------------------- | 1337 // --------------------------------------------------------------------------- |
| 1336 | 1338 |
| 1337 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1339 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1338 }; | 1340 }; |
| 1339 | 1341 |
| 1340 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1342 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |