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

Side by Side Diff: content/test/web_layer_tree_view_impl_for_testing.cc

Issue 335943002: [Android] Composited selection handle rendering (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@input_native_handles_final
Patch Set: Clean up paste popup interaction 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 #include "content/test/web_layer_tree_view_impl_for_testing.h" 5 #include "content/test/web_layer_tree_view_impl_for_testing.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/strings/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
9 #include "base/synchronization/lock.h" 9 #include "base/synchronization/lock.h"
10 #include "cc/base/switches.h" 10 #include "cc/base/switches.h"
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 outerViewportScrollLayer 159 outerViewportScrollLayer
160 ? static_cast<const WebLayerImpl*>(outerViewportScrollLayer)->layer() 160 ? static_cast<const WebLayerImpl*>(outerViewportScrollLayer)->layer()
161 : NULL); 161 : NULL);
162 } 162 }
163 163
164 void WebLayerTreeViewImplForTesting::clearViewportLayers() { 164 void WebLayerTreeViewImplForTesting::clearViewportLayers() {
165 layer_tree_host_->RegisterViewportLayers(scoped_refptr<cc::Layer>(), 165 layer_tree_host_->RegisterViewportLayers(scoped_refptr<cc::Layer>(),
166 scoped_refptr<cc::Layer>(), 166 scoped_refptr<cc::Layer>(),
167 scoped_refptr<cc::Layer>()); 167 scoped_refptr<cc::Layer>());
168 } 168 }
169 void WebLayerTreeViewImplForTesting::registerSelection(
170 const blink::WebSelection& selection) {
171 }
172
173 void WebLayerTreeViewImplForTesting::clearSelection() {
174 }
175 169
176 void WebLayerTreeViewImplForTesting::registerSelection( 170 void WebLayerTreeViewImplForTesting::registerSelection(
177 const blink::WebSelectionBound& anchor, 171 const blink::WebSelectionBound& anchor,
178 const blink::WebSelectionBound& focus) { 172 const blink::WebSelectionBound& focus) {
179 } 173 }
180 174
181 void WebLayerTreeViewImplForTesting::clearSelection() { 175 void WebLayerTreeViewImplForTesting::clearSelection() {
182 } 176 }
183 177
184 } // namespace content 178 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698