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

Side by Side Diff: ui/android/delegated_frame_host_android.cc

Issue 2509103002: Enable browser process hit testing on Android (Closed)
Patch Set: Cleanup Created 3 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "ui/android/delegated_frame_host_android.h" 5 #include "ui/android/delegated_frame_host_android.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "cc/layers/solid_color_layer.h" 10 #include "cc/layers/solid_color_layer.h"
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 void DelegatedFrameHostAndroid::ReturnResources( 198 void DelegatedFrameHostAndroid::ReturnResources(
199 const cc::ReturnedResourceArray& resources) { 199 const cc::ReturnedResourceArray& resources) {
200 client_->ReturnResources(resources); 200 client_->ReturnResources(resources);
201 } 201 }
202 202
203 void DelegatedFrameHostAndroid::SetBeginFrameSource( 203 void DelegatedFrameHostAndroid::SetBeginFrameSource(
204 cc::BeginFrameSource* begin_frame_source) { 204 cc::BeginFrameSource* begin_frame_source) {
205 client_->SetBeginFrameSource(begin_frame_source); 205 client_->SetBeginFrameSource(begin_frame_source);
206 } 206 }
207 207
208 cc::SurfaceId DelegatedFrameHostAndroid::SurfaceId() const {
209 return cc::SurfaceId(frame_sink_id_, current_frame_->local_surface_id);
210 }
211
208 } // namespace ui 212 } // namespace ui
OLDNEW
« content/browser/site_per_process_browsertest.cc ('K') | « ui/android/delegated_frame_host_android.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698