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 762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
773 | 773 |
774 // Cannot use std::set unfortunately since linked_ptr<> does not support | 774 // Cannot use std::set unfortunately since linked_ptr<> does not support |
775 // operator<. | 775 // operator<. |
776 typedef std::vector<linked_ptr<webkit_glue::ImageResourceFetcher> > | 776 typedef std::vector<linked_ptr<webkit_glue::ImageResourceFetcher> > |
777 ImageResourceFetcherList; | 777 ImageResourceFetcherList; |
778 | 778 |
779 protected: | 779 protected: |
780 // RenderWidget overrides: | 780 // RenderWidget overrides: |
781 virtual void Close() OVERRIDE; | 781 virtual void Close() OVERRIDE; |
782 virtual void OnResize(const gfx::Size& new_size, | 782 virtual void OnResize(const gfx::Size& new_size, |
| 783 const gfx::Size& physical_backing_size, |
783 const gfx::Rect& resizer_rect, | 784 const gfx::Rect& resizer_rect, |
784 bool is_fullscreen) OVERRIDE; | 785 bool is_fullscreen) OVERRIDE; |
785 virtual void WillInitiatePaint() OVERRIDE; | 786 virtual void WillInitiatePaint() OVERRIDE; |
786 virtual void DidInitiatePaint() OVERRIDE; | 787 virtual void DidInitiatePaint() OVERRIDE; |
787 virtual void DidFlushPaint() OVERRIDE; | 788 virtual void DidFlushPaint() OVERRIDE; |
788 virtual webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint( | 789 virtual webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint( |
789 const gfx::Rect& paint_bounds, | 790 const gfx::Rect& paint_bounds, |
790 TransportDIB** dib, | 791 TransportDIB** dib, |
791 gfx::Rect* location, | 792 gfx::Rect* location, |
792 gfx::Rect* clip, | 793 gfx::Rect* clip, |
(...skipping 832 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1625 // use the Observer interface to filter IPC messages and receive frame change | 1626 // use the Observer interface to filter IPC messages and receive frame change |
1626 // notifications. | 1627 // notifications. |
1627 // --------------------------------------------------------------------------- | 1628 // --------------------------------------------------------------------------- |
1628 | 1629 |
1629 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1630 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1630 }; | 1631 }; |
1631 | 1632 |
1632 } // namespace content | 1633 } // namespace content |
1633 | 1634 |
1634 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1635 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |