Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(479)

Side by Side Diff: content/renderer/render_view_impl.h

Issue 12328080: Plumb physical backing size from RWHV to renderer CC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adjust for call renamed to GetViewportSizePix() Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/public/test/render_view_test.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « content/public/test/render_view_test.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698