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

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

Issue 379473002: Rename composited selection anchor/focus to start/end (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update test Created 6 years, 5 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/common/cc_messages.h ('k') | content/renderer/gpu/render_widget_compositor.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) 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/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 virtual void compositeAndReadbackAsync( 108 virtual void compositeAndReadbackAsync(
109 blink::WebCompositeAndReadbackAsyncCallback* callback); 109 blink::WebCompositeAndReadbackAsyncCallback* callback);
110 virtual void finishAllRendering(); 110 virtual void finishAllRendering();
111 virtual void setDeferCommits(bool defer_commits); 111 virtual void setDeferCommits(bool defer_commits);
112 virtual void registerForAnimations(blink::WebLayer* layer); 112 virtual void registerForAnimations(blink::WebLayer* layer);
113 virtual void registerViewportLayers( 113 virtual void registerViewportLayers(
114 const blink::WebLayer* pageScaleLayer, 114 const blink::WebLayer* pageScaleLayer,
115 const blink::WebLayer* innerViewportScrollLayer, 115 const blink::WebLayer* innerViewportScrollLayer,
116 const blink::WebLayer* outerViewportScrollLayer) OVERRIDE; 116 const blink::WebLayer* outerViewportScrollLayer) OVERRIDE;
117 virtual void clearViewportLayers() OVERRIDE; 117 virtual void clearViewportLayers() OVERRIDE;
118 virtual void registerSelection( 118 virtual void registerSelection(const blink::WebSelectionBound& start,
119 const blink::WebSelectionBound& anchor, 119 const blink::WebSelectionBound& end) OVERRIDE;
120 const blink::WebSelectionBound& focus) OVERRIDE;
121 virtual void clearSelection() OVERRIDE; 120 virtual void clearSelection() OVERRIDE;
122 virtual void setShowFPSCounter(bool show); 121 virtual void setShowFPSCounter(bool show);
123 virtual void setShowPaintRects(bool show); 122 virtual void setShowPaintRects(bool show);
124 virtual void setShowDebugBorders(bool show); 123 virtual void setShowDebugBorders(bool show);
125 virtual void setContinuousPaintingEnabled(bool enabled); 124 virtual void setContinuousPaintingEnabled(bool enabled);
126 virtual void setShowScrollBottleneckRects(bool show); 125 virtual void setShowScrollBottleneckRects(bool show);
127 126
128 // cc::LayerTreeHostClient implementation. 127 // cc::LayerTreeHostClient implementation.
129 virtual void WillBeginMainFrame(int frame_id) OVERRIDE; 128 virtual void WillBeginMainFrame(int frame_id) OVERRIDE;
130 virtual void DidBeginMainFrame() OVERRIDE; 129 virtual void DidBeginMainFrame() OVERRIDE;
(...skipping 23 matching lines...) Expand all
154 153
155 bool threaded_; 154 bool threaded_;
156 bool suppress_schedule_composite_; 155 bool suppress_schedule_composite_;
157 RenderWidget* widget_; 156 RenderWidget* widget_;
158 scoped_ptr<cc::LayerTreeHost> layer_tree_host_; 157 scoped_ptr<cc::LayerTreeHost> layer_tree_host_;
159 }; 158 };
160 159
161 } // namespace content 160 } // namespace content
162 161
163 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 162 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « content/common/cc_messages.h ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698