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

Side by Side Diff: content/renderer/gpu/render_widget_compositor.h

Issue 13637017: Delete layout_viewport_size. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android Created 7 years, 8 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_GPU_RENDER_WIDGET_COMPOSITOR_H_ 5 #ifndef CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
7 7
8 #include "base/time.h" 8 #include "base/time.h"
9 #include "cc/debug/rendering_stats.h" 9 #include "cc/debug/rendering_stats.h"
10 #include "cc/trees/layer_tree_host_client.h" 10 #include "cc/trees/layer_tree_host_client.h"
(...skipping 27 matching lines...) Expand all
38 void UpdateTopControlsState(bool enable_hiding, 38 void UpdateTopControlsState(bool enable_hiding,
39 bool enable_showing, 39 bool enable_showing,
40 bool animate); 40 bool animate);
41 void SetOverdrawBottomHeight(float overdraw_bottom_height); 41 void SetOverdrawBottomHeight(float overdraw_bottom_height);
42 42
43 // WebLayerTreeView implementation. 43 // WebLayerTreeView implementation.
44 virtual void setSurfaceReady(); 44 virtual void setSurfaceReady();
45 virtual void setRootLayer(const WebKit::WebLayer& layer); 45 virtual void setRootLayer(const WebKit::WebLayer& layer);
46 virtual void clearRootLayer(); 46 virtual void clearRootLayer();
47 virtual void setViewportSize( 47 virtual void setViewportSize(
48 const WebKit::WebSize& layout_viewport_size, 48 const WebKit::WebSize& unused_deprecated,
49 const WebKit::WebSize& device_viewport_size); 49 const WebKit::WebSize& device_viewport_size);
50 virtual WebKit::WebSize layoutViewportSize() const; 50 virtual WebKit::WebSize layoutViewportSize() const;
51 virtual WebKit::WebSize deviceViewportSize() const; 51 virtual WebKit::WebSize deviceViewportSize() const;
52 virtual WebKit::WebFloatPoint adjustEventPointForPinchZoom( 52 virtual WebKit::WebFloatPoint adjustEventPointForPinchZoom(
53 const WebKit::WebFloatPoint& point) const; 53 const WebKit::WebFloatPoint& point) const;
54 virtual void setDeviceScaleFactor(float device_scale); 54 virtual void setDeviceScaleFactor(float device_scale);
55 virtual float deviceScaleFactor() const; 55 virtual float deviceScaleFactor() const;
56 virtual void setBackgroundColor(WebKit::WebColor color); 56 virtual void setBackgroundColor(WebKit::WebColor color);
57 virtual void setHasTransparentBackground(bool transparent); 57 virtual void setHasTransparentBackground(bool transparent);
58 virtual void setVisible(bool visible); 58 virtual void setVisible(bool visible);
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 bool threaded_; 105 bool threaded_;
106 bool suppress_schedule_composite_; 106 bool suppress_schedule_composite_;
107 RenderWidget* widget_; 107 RenderWidget* widget_;
108 scoped_ptr<cc::LayerTreeHost> layer_tree_host_; 108 scoped_ptr<cc::LayerTreeHost> layer_tree_host_;
109 }; 109 };
110 110
111 } // namespace content 111 } // namespace content
112 112
113 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 113 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
114 114
OLDNEW
« no previous file with comments | « content/browser/renderer_host/compositor_impl_android.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698