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 752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
763 // nearer to the top you can add it to. | 763 // nearer to the top you can add it to. |
764 | 764 |
765 // Cannot use std::set unfortunately since linked_ptr<> does not support | 765 // Cannot use std::set unfortunately since linked_ptr<> does not support |
766 // operator<. | 766 // operator<. |
767 typedef std::vector<linked_ptr<ImageResourceFetcher> > | 767 typedef std::vector<linked_ptr<ImageResourceFetcher> > |
768 ImageResourceFetcherList; | 768 ImageResourceFetcherList; |
769 | 769 |
770 protected: | 770 protected: |
771 // RenderWidget overrides: | 771 // RenderWidget overrides: |
772 virtual void Close() OVERRIDE; | 772 virtual void Close() OVERRIDE; |
773 virtual void OnResize(const gfx::Size& new_size, | 773 virtual void OnResize(const ViewMsg_Resize_Params& params) OVERRIDE; |
774 const gfx::Size& physical_backing_size, | |
775 float overdraw_bottom_height, | |
776 const gfx::Rect& resizer_rect, | |
777 bool is_fullscreen) OVERRIDE; | |
778 virtual void WillInitiatePaint() OVERRIDE; | 774 virtual void WillInitiatePaint() OVERRIDE; |
779 virtual void DidInitiatePaint() OVERRIDE; | 775 virtual void DidInitiatePaint() OVERRIDE; |
780 virtual void DidFlushPaint() OVERRIDE; | 776 virtual void DidFlushPaint() OVERRIDE; |
781 virtual webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint( | 777 virtual webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint( |
782 const gfx::Rect& paint_bounds, | 778 const gfx::Rect& paint_bounds, |
783 TransportDIB** dib, | 779 TransportDIB** dib, |
784 gfx::Rect* location, | 780 gfx::Rect* location, |
785 gfx::Rect* clip, | 781 gfx::Rect* clip, |
786 float* scale_factor) OVERRIDE; | 782 float* scale_factor) OVERRIDE; |
787 virtual gfx::Vector2d GetScrollOffset() OVERRIDE; | 783 virtual gfx::Vector2d GetScrollOffset() OVERRIDE; |
(...skipping 751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1539 // use the Observer interface to filter IPC messages and receive frame change | 1535 // use the Observer interface to filter IPC messages and receive frame change |
1540 // notifications. | 1536 // notifications. |
1541 // --------------------------------------------------------------------------- | 1537 // --------------------------------------------------------------------------- |
1542 | 1538 |
1543 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1539 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1544 }; | 1540 }; |
1545 | 1541 |
1546 } // namespace content | 1542 } // namespace content |
1547 | 1543 |
1548 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1544 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |