| 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 753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 764 virtual void OnResize(const gfx::Size& new_size, | 764 virtual void OnResize(const gfx::Size& new_size, |
| 765 const gfx::Rect& resizer_rect, | 765 const gfx::Rect& resizer_rect, |
| 766 bool is_fullscreen) OVERRIDE; | 766 bool is_fullscreen) OVERRIDE; |
| 767 virtual void WillInitiatePaint() OVERRIDE; | 767 virtual void WillInitiatePaint() OVERRIDE; |
| 768 virtual void DidInitiatePaint() OVERRIDE; | 768 virtual void DidInitiatePaint() OVERRIDE; |
| 769 virtual void DidFlushPaint() OVERRIDE; | 769 virtual void DidFlushPaint() OVERRIDE; |
| 770 virtual webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint( | 770 virtual webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint( |
| 771 const gfx::Rect& paint_bounds, | 771 const gfx::Rect& paint_bounds, |
| 772 TransportDIB** dib, | 772 TransportDIB** dib, |
| 773 gfx::Rect* location, | 773 gfx::Rect* location, |
| 774 gfx::Rect* clip) OVERRIDE; | 774 gfx::Rect* clip, |
| 775 float* scale_factor) OVERRIDE; |
| 775 virtual gfx::Point GetScrollOffset() OVERRIDE; | 776 virtual gfx::Point GetScrollOffset() OVERRIDE; |
| 776 virtual void DidHandleKeyEvent() OVERRIDE; | 777 virtual void DidHandleKeyEvent() OVERRIDE; |
| 777 virtual bool WillHandleMouseEvent( | 778 virtual bool WillHandleMouseEvent( |
| 778 const WebKit::WebMouseEvent& event) OVERRIDE; | 779 const WebKit::WebMouseEvent& event) OVERRIDE; |
| 779 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event) OVERRIDE; | 780 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event) OVERRIDE; |
| 780 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) OVERRIDE; | 781 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) OVERRIDE; |
| 781 virtual void OnSetFocus(bool enable) OVERRIDE; | 782 virtual void OnSetFocus(bool enable) OVERRIDE; |
| 782 virtual void OnWasHidden() OVERRIDE; | 783 virtual void OnWasHidden() OVERRIDE; |
| 783 virtual void OnWasShown(bool needs_repainting) OVERRIDE; | 784 virtual void OnWasShown(bool needs_repainting) OVERRIDE; |
| 784 virtual bool SupportsAsynchronousSwapBuffers() OVERRIDE; | 785 virtual bool SupportsAsynchronousSwapBuffers() OVERRIDE; |
| (...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1482 // bunch of stuff, you should probably create a helper class and put your | 1483 // bunch of stuff, you should probably create a helper class and put your |
| 1483 // data and methods on that to avoid bloating RenderView more. You can | 1484 // data and methods on that to avoid bloating RenderView more. You can |
| 1484 // use the Observer interface to filter IPC messages and receive frame change | 1485 // use the Observer interface to filter IPC messages and receive frame change |
| 1485 // notifications. | 1486 // notifications. |
| 1486 // --------------------------------------------------------------------------- | 1487 // --------------------------------------------------------------------------- |
| 1487 | 1488 |
| 1488 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1489 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1489 }; | 1490 }; |
| 1490 | 1491 |
| 1491 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1492 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |