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

Side by Side Diff: components/html_viewer/web_layer_tree_view_impl.h

Issue 1296673004: Devtools/CC: Remove continuous repainting feature (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | « cc/trees/thread_proxy.cc ('k') | content/renderer/gpu/render_widget_compositor.h » ('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 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 COMPONENTS_HTML_VIEWER_WEB_LAYER_TREE_VIEW_IMPL_H_ 5 #ifndef COMPONENTS_HTML_VIEWER_WEB_LAYER_TREE_VIEW_IMPL_H_
6 #define COMPONENTS_HTML_VIEWER_WEB_LAYER_TREE_VIEW_IMPL_H_ 6 #define COMPONENTS_HTML_VIEWER_WEB_LAYER_TREE_VIEW_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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 const blink::WebLayer* overscrollElasticityLayer, 103 const blink::WebLayer* overscrollElasticityLayer,
104 const blink::WebLayer* pageScaleLayerLayer, 104 const blink::WebLayer* pageScaleLayerLayer,
105 const blink::WebLayer* innerViewportScrollLayer, 105 const blink::WebLayer* innerViewportScrollLayer,
106 const blink::WebLayer* outerViewportScrollLayer); 106 const blink::WebLayer* outerViewportScrollLayer);
107 virtual void clearViewportLayers(); 107 virtual void clearViewportLayers();
108 virtual void registerSelection(const blink::WebSelection& selection) {} 108 virtual void registerSelection(const blink::WebSelection& selection) {}
109 virtual void clearSelection() {} 109 virtual void clearSelection() {}
110 virtual void setShowFPSCounter(bool) {} 110 virtual void setShowFPSCounter(bool) {}
111 virtual void setShowPaintRects(bool) {} 111 virtual void setShowPaintRects(bool) {}
112 virtual void setShowDebugBorders(bool) {} 112 virtual void setShowDebugBorders(bool) {}
113 virtual void setContinuousPaintingEnabled(bool) {}
114 virtual void setShowScrollBottleneckRects(bool) {} 113 virtual void setShowScrollBottleneckRects(bool) {}
115 114
116 private: 115 private:
117 // widget_ and view_ will outlive us. 116 // widget_ and view_ will outlive us.
118 blink::WebWidget* widget_; 117 blink::WebWidget* widget_;
119 mojo::View* view_; 118 mojo::View* view_;
120 scoped_ptr<cc::LayerTreeHost> layer_tree_host_; 119 scoped_ptr<cc::LayerTreeHost> layer_tree_host_;
121 scoped_ptr<cc::OutputSurface> output_surface_; 120 scoped_ptr<cc::OutputSurface> output_surface_;
122 scoped_refptr<base::SingleThreadTaskRunner> 121 scoped_refptr<base::SingleThreadTaskRunner>
123 main_thread_compositor_task_runner_; 122 main_thread_compositor_task_runner_;
124 base::WeakPtr<WebLayerTreeViewImpl> main_thread_bound_weak_ptr_; 123 base::WeakPtr<WebLayerTreeViewImpl> main_thread_bound_weak_ptr_;
125 124
126 base::WeakPtrFactory<WebLayerTreeViewImpl> weak_factory_; 125 base::WeakPtrFactory<WebLayerTreeViewImpl> weak_factory_;
127 DISALLOW_COPY_AND_ASSIGN(WebLayerTreeViewImpl); 126 DISALLOW_COPY_AND_ASSIGN(WebLayerTreeViewImpl);
128 }; 127 };
129 128
130 } // namespace html_viewer 129 } // namespace html_viewer
131 130
132 #endif // COMPONENTS_HTML_VIEWER_WEB_LAYER_TREE_VIEW_IMPL_H_ 131 #endif // COMPONENTS_HTML_VIEWER_WEB_LAYER_TREE_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/thread_proxy.cc ('k') | content/renderer/gpu/render_widget_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698