| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_RENDERER_RENDER_VIEW_H_ | 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_ |
| 6 #define CHROME_RENDERER_RENDER_VIEW_H_ | 6 #define CHROME_RENDERER_RENDER_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 648 // RenderWidget overrides: | 648 // RenderWidget overrides: |
| 649 virtual void Close(); | 649 virtual void Close(); |
| 650 virtual void OnResize(const gfx::Size& new_size, | 650 virtual void OnResize(const gfx::Size& new_size, |
| 651 const gfx::Rect& resizer_rect); | 651 const gfx::Rect& resizer_rect); |
| 652 virtual void DidInitiatePaint(); | 652 virtual void DidInitiatePaint(); |
| 653 virtual webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint( | 653 virtual webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint( |
| 654 const gfx::Rect& paint_bounds, | 654 const gfx::Rect& paint_bounds, |
| 655 TransportDIB** dib, | 655 TransportDIB** dib, |
| 656 gfx::Rect* location, | 656 gfx::Rect* location, |
| 657 gfx::Rect* clip); | 657 gfx::Rect* clip); |
| 658 virtual gfx::Size GetScrollOffset(); |
| 658 virtual void DidHandleKeyEvent(); | 659 virtual void DidHandleKeyEvent(); |
| 659 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event); | 660 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event); |
| 660 virtual void OnSetFocus(bool enable); | 661 virtual void OnSetFocus(bool enable); |
| 661 #if OS_MACOSX | 662 #if OS_MACOSX |
| 662 virtual void OnWasHidden(); | 663 virtual void OnWasHidden(); |
| 663 virtual void OnWasRestored(bool needs_repainting); | 664 virtual void OnWasRestored(bool needs_repainting); |
| 664 #endif | 665 #endif |
| 665 | 666 |
| 666 private: | 667 private: |
| 667 // For unit tests. | 668 // For unit tests. |
| (...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1464 // bunch of stuff, you should probably create a helper class and put your | 1465 // bunch of stuff, you should probably create a helper class and put your |
| 1465 // data and methods on that to avoid bloating RenderView more. You can use | 1466 // data and methods on that to avoid bloating RenderView more. You can use |
| 1466 // the Observer interface to filter IPC messages and receive frame change | 1467 // the Observer interface to filter IPC messages and receive frame change |
| 1467 // notifications. | 1468 // notifications. |
| 1468 // --------------------------------------------------------------------------- | 1469 // --------------------------------------------------------------------------- |
| 1469 | 1470 |
| 1470 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1471 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 1471 }; | 1472 }; |
| 1472 | 1473 |
| 1473 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 1474 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |