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

Side by Side Diff: mojo/services/html_viewer/weblayertreeview_impl.h

Issue 981483002: Remove Unused setTopControlsContentOffset function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/renderer/gpu/render_widget_compositor.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 MOJO_SERVICES_HTML_VIEWER_WEBLAYERTREEVIEW_IMPL_H_ 5 #ifndef MOJO_SERVICES_HTML_VIEWER_WEBLAYERTREEVIEW_IMPL_H_
6 #define MOJO_SERVICES_HTML_VIEWER_WEBLAYERTREEVIEW_IMPL_H_ 6 #define MOJO_SERVICES_HTML_VIEWER_WEBLAYERTREEVIEW_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 virtual void setHasTransparentBackground(bool has_transparent_background); 82 virtual void setHasTransparentBackground(bool has_transparent_background);
83 virtual void setVisible(bool visible); 83 virtual void setVisible(bool visible);
84 virtual void setPageScaleFactorAndLimits(float page_scale_factor, 84 virtual void setPageScaleFactorAndLimits(float page_scale_factor,
85 float minimum, 85 float minimum,
86 float maximum); 86 float maximum);
87 virtual void startPageScaleAnimation(const blink::WebPoint& destination, 87 virtual void startPageScaleAnimation(const blink::WebPoint& destination,
88 bool use_anchor, 88 bool use_anchor,
89 float new_page_scale, 89 float new_page_scale,
90 double duration_sec); 90 double duration_sec);
91 virtual void heuristicsForGpuRasterizationUpdated(bool matches_heuristic) {} 91 virtual void heuristicsForGpuRasterizationUpdated(bool matches_heuristic) {}
92 virtual void setTopControlsContentOffset(float offset) {}
93 virtual void setNeedsAnimate(); 92 virtual void setNeedsAnimate();
94 virtual bool commitRequested() const; 93 virtual bool commitRequested() const;
95 virtual void didStopFlinging() {} 94 virtual void didStopFlinging() {}
96 virtual void compositeAndReadbackAsync( 95 virtual void compositeAndReadbackAsync(
97 blink::WebCompositeAndReadbackAsyncCallback* callback) {} 96 blink::WebCompositeAndReadbackAsyncCallback* callback) {}
98 virtual void finishAllRendering(); 97 virtual void finishAllRendering();
99 virtual void setDeferCommits(bool defer_commits) {} 98 virtual void setDeferCommits(bool defer_commits) {}
100 virtual void registerForAnimations(blink::WebLayer* layer); 99 virtual void registerForAnimations(blink::WebLayer* layer);
101 virtual void registerViewportLayers( 100 virtual void registerViewportLayers(
102 const blink::WebLayer* overscrollElasticityLayer, 101 const blink::WebLayer* overscrollElasticityLayer,
(...skipping 25 matching lines...) Expand all
128 main_thread_compositor_task_runner_; 127 main_thread_compositor_task_runner_;
129 base::WeakPtr<WebLayerTreeViewImpl> main_thread_bound_weak_ptr_; 128 base::WeakPtr<WebLayerTreeViewImpl> main_thread_bound_weak_ptr_;
130 129
131 base::WeakPtrFactory<WebLayerTreeViewImpl> weak_factory_; 130 base::WeakPtrFactory<WebLayerTreeViewImpl> weak_factory_;
132 DISALLOW_COPY_AND_ASSIGN(WebLayerTreeViewImpl); 131 DISALLOW_COPY_AND_ASSIGN(WebLayerTreeViewImpl);
133 }; 132 };
134 133
135 } // namespace html_viewer 134 } // namespace html_viewer
136 135
137 #endif // MOJO_SERVICES_HTML_VIEWER_WEBLAYERTREEVIEW_IMPL_H_ 136 #endif // MOJO_SERVICES_HTML_VIEWER_WEBLAYERTREEVIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698