OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
662 const GURL& url, | 662 const GURL& url, |
663 const gfx::Size& size, | 663 const gfx::Size& size, |
664 const std::string& json_arguments, | 664 const std::string& json_arguments, |
665 std::string* json_retval); | 665 std::string* json_retval); |
666 virtual WebKit::WebCookieJar* GetCookieJar(); | 666 virtual WebKit::WebCookieJar* GetCookieJar(); |
667 | 667 |
668 // Please do not add your stuff randomly to the end here. If there is an | 668 // Please do not add your stuff randomly to the end here. If there is an |
669 // appropriate section, add it there. If not, there are some random functions | 669 // appropriate section, add it there. If not, there are some random functions |
670 // nearer to the top you can add it to. | 670 // nearer to the top you can add it to. |
671 | 671 |
672 virtual void DidFlushPaint(); | |
673 protected: | 672 protected: |
674 // RenderWidget overrides: | 673 // RenderWidget overrides: |
675 virtual void Close(); | 674 virtual void Close(); |
676 virtual void OnResize(const gfx::Size& new_size, | 675 virtual void OnResize(const gfx::Size& new_size, |
677 const gfx::Rect& resizer_rect); | 676 const gfx::Rect& resizer_rect); |
678 virtual void DidInitiatePaint(); | 677 virtual void DidInitiatePaint(); |
| 678 virtual void DidFlushPaint(); |
679 virtual bool GetBitmapForOptimizedPluginPaint( | 679 virtual bool GetBitmapForOptimizedPluginPaint( |
680 const gfx::Rect& paint_bounds, | 680 const gfx::Rect& paint_bounds, |
681 TransportDIB** dib, | 681 TransportDIB** dib, |
682 gfx::Rect* location, | 682 gfx::Rect* location, |
683 gfx::Rect* clip); | 683 gfx::Rect* clip); |
684 virtual void DidHandleKeyEvent(); | 684 virtual void DidHandleKeyEvent(); |
685 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event); | 685 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event); |
686 virtual void OnSetFocus(bool enable); | 686 virtual void OnSetFocus(bool enable); |
687 #if OS_MACOSX | 687 #if OS_MACOSX |
688 virtual void OnWasHidden(); | 688 virtual void OnWasHidden(); |
(...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1506 // ADDING NEW DATA? Please see if it fits appropriately in one of the above | 1506 // ADDING NEW DATA? Please see if it fits appropriately in one of the above |
1507 // sections rather than throwing it randomly at the end. If you're adding a | 1507 // sections rather than throwing it randomly at the end. If you're adding a |
1508 // bunch of stuff, you should probably create a helper class and put your | 1508 // bunch of stuff, you should probably create a helper class and put your |
1509 // data and methods on that to avoid bloating RenderView more. | 1509 // data and methods on that to avoid bloating RenderView more. |
1510 // --------------------------------------------------------------------------- | 1510 // --------------------------------------------------------------------------- |
1511 | 1511 |
1512 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1512 DISALLOW_COPY_AND_ASSIGN(RenderView); |
1513 }; | 1513 }; |
1514 | 1514 |
1515 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 1515 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |