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 <set> | 8 #include <set> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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<webkit_glue::ImageResourceFetcher> > | 767 typedef std::vector<linked_ptr<webkit_glue::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 gfx::Size& new_size, |
| 774 const gfx::Size& physical_backing_size, |
774 const gfx::Rect& resizer_rect, | 775 const gfx::Rect& resizer_rect, |
775 bool is_fullscreen) OVERRIDE; | 776 bool is_fullscreen) OVERRIDE; |
776 virtual void WillInitiatePaint() OVERRIDE; | 777 virtual void WillInitiatePaint() OVERRIDE; |
777 virtual void DidInitiatePaint() OVERRIDE; | 778 virtual void DidInitiatePaint() OVERRIDE; |
778 virtual void DidFlushPaint() OVERRIDE; | 779 virtual void DidFlushPaint() OVERRIDE; |
779 virtual webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint( | 780 virtual webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint( |
780 const gfx::Rect& paint_bounds, | 781 const gfx::Rect& paint_bounds, |
781 TransportDIB** dib, | 782 TransportDIB** dib, |
782 gfx::Rect* location, | 783 gfx::Rect* location, |
783 gfx::Rect* clip, | 784 gfx::Rect* clip, |
(...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1606 // use the Observer interface to filter IPC messages and receive frame change | 1607 // use the Observer interface to filter IPC messages and receive frame change |
1607 // notifications. | 1608 // notifications. |
1608 // --------------------------------------------------------------------------- | 1609 // --------------------------------------------------------------------------- |
1609 | 1610 |
1610 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1611 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1611 }; | 1612 }; |
1612 | 1613 |
1613 } // namespace content | 1614 } // namespace content |
1614 | 1615 |
1615 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1616 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |