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

Side by Side Diff: webkit/compositor_bindings/web_layer_tree_view_impl.h

Issue 12045002: Delete zoomed_viewport_offset_ and its users. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add imports for DisabledTest and rebase to 179449 Created 7 years, 10 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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 WebLayerTreeViewImpl_h 5 #ifndef WebLayerTreeViewImpl_h
6 #define WebLayerTreeViewImpl_h 6 #define WebLayerTreeViewImpl_h
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "cc/layer_tree_host_client.h" 9 #include "cc/layer_tree_host_client.h"
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayerTreeView.h" 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayerTreeView.h"
(...skipping 21 matching lines...) Expand all
32 32
33 WEBKIT_COMPOSITOR_BINDINGS_EXPORT cc::LayerTreeHost* layer_tree_host() const ; 33 WEBKIT_COMPOSITOR_BINDINGS_EXPORT cc::LayerTreeHost* layer_tree_host() const ;
34 34
35 // WebLayerTreeView implementation. 35 // WebLayerTreeView implementation.
36 virtual void setSurfaceReady() OVERRIDE; 36 virtual void setSurfaceReady() OVERRIDE;
37 virtual void setRootLayer(const WebLayer&) OVERRIDE; 37 virtual void setRootLayer(const WebLayer&) OVERRIDE;
38 virtual void clearRootLayer() OVERRIDE; 38 virtual void clearRootLayer() OVERRIDE;
39 virtual void setViewportSize(const WebSize& layoutViewportSize, const WebSiz e& deviceViewportSize = WebSize()) OVERRIDE; 39 virtual void setViewportSize(const WebSize& layoutViewportSize, const WebSiz e& deviceViewportSize = WebSize()) OVERRIDE;
40 virtual WebSize layoutViewportSize() const OVERRIDE; 40 virtual WebSize layoutViewportSize() const OVERRIDE;
41 virtual WebSize deviceViewportSize() const OVERRIDE; 41 virtual WebSize deviceViewportSize() const OVERRIDE;
42 virtual WebFloatPoint adjustEventPointForPinchZoom(const WebFloatPoint& poin t) const OVERRIDE; 42 virtual WebFloatPoint adjustEventPointForPinchZoom(const WebFloatPoint& poin t) const; // FIXME: remove this after WebKit roll.
43 virtual void setDeviceScaleFactor(float) OVERRIDE; 43 virtual void setDeviceScaleFactor(float) OVERRIDE;
44 virtual float deviceScaleFactor() const OVERRIDE; 44 virtual float deviceScaleFactor() const OVERRIDE;
45 virtual void setBackgroundColor(WebColor) OVERRIDE; 45 virtual void setBackgroundColor(WebColor) OVERRIDE;
46 virtual void setHasTransparentBackground(bool) OVERRIDE; 46 virtual void setHasTransparentBackground(bool) OVERRIDE;
47 virtual void setVisible(bool) OVERRIDE; 47 virtual void setVisible(bool) OVERRIDE;
48 virtual void setPageScaleFactorAndLimits(float pageScaleFactor, float minimu m, float maximum) OVERRIDE; 48 virtual void setPageScaleFactorAndLimits(float pageScaleFactor, float minimu m, float maximum) OVERRIDE;
49 virtual void startPageScaleAnimation(const WebPoint& destination, bool useAn chor, float newPageScale, double durationSec) OVERRIDE; 49 virtual void startPageScaleAnimation(const WebPoint& destination, bool useAn chor, float newPageScale, double durationSec) OVERRIDE;
50 virtual void setNeedsAnimate() OVERRIDE; 50 virtual void setNeedsAnimate() OVERRIDE;
51 virtual void setNeedsRedraw() OVERRIDE; 51 virtual void setNeedsRedraw() OVERRIDE;
52 virtual bool commitRequested() const OVERRIDE; 52 virtual bool commitRequested() const OVERRIDE;
(...skipping 25 matching lines...) Expand all
78 virtual scoped_ptr<cc::FontAtlas> createFontAtlas(); 78 virtual scoped_ptr<cc::FontAtlas> createFontAtlas();
79 79
80 private: 80 private:
81 WebLayerTreeViewClient* m_client; 81 WebLayerTreeViewClient* m_client;
82 scoped_ptr<cc::LayerTreeHost> m_layerTreeHost; 82 scoped_ptr<cc::LayerTreeHost> m_layerTreeHost;
83 }; 83 };
84 84
85 } // namespace WebKit 85 } // namespace WebKit
86 86
87 #endif // WebLayerTreeViewImpl_h 87 #endif // WebLayerTreeViewImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698