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

Unified Diff: ui/android/delegated_frame_host_android.h

Issue 2707403004: Unify background color gutters. (Closed)
Patch Set: Rebase Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: ui/android/delegated_frame_host_android.h
diff --git a/ui/android/delegated_frame_host_android.h b/ui/android/delegated_frame_host_android.h
index 9b47f7b43cc06c88612fa7c73b4aeea716901cc8..8421d06c96fbd17675f569698fa5faecca8ca3af 100644
--- a/ui/android/delegated_frame_host_android.h
+++ b/ui/android/delegated_frame_host_android.h
@@ -17,7 +17,6 @@
namespace cc {
class CompositorFrame;
-class Layer;
class SurfaceManager;
class SurfaceLayer;
class LocalSurfaceIdAllocator;
@@ -40,7 +39,6 @@ class UI_ANDROID_EXPORT DelegatedFrameHostAndroid
};
DelegatedFrameHostAndroid(ViewAndroid* view,
- SkColor background_color,
Client* client,
const cc::FrameSinkId& frame_sink_id);
@@ -63,10 +61,6 @@ class UI_ANDROID_EXPORT DelegatedFrameHostAndroid
void CompositorFrameSinkChanged();
- void UpdateBackgroundColor(SkColor color);
-
- void UpdateContainerSizeinDIP(const gfx::Size& size_in_dip);
-
// Called when this DFH is attached/detached from a parent browser compositor
// and needs to be attached to the surface hierarchy.
void AttachToCompositor(WindowAndroidCompositor* compositor);
@@ -77,8 +71,6 @@ class UI_ANDROID_EXPORT DelegatedFrameHostAndroid
void ReturnResources(const cc::ReturnedResourceArray& resources) override;
void SetBeginFrameSource(cc::BeginFrameSource* begin_frame_source) override;
- void UpdateBackgroundLayer();
-
const cc::FrameSinkId frame_sink_id_;
ViewAndroid* view_;
@@ -107,10 +99,6 @@ class UI_ANDROID_EXPORT DelegatedFrameHostAndroid
scoped_refptr<cc::SurfaceLayer> content_layer_;
- scoped_refptr<cc::Layer> background_layer_;
-
- gfx::Size container_size_in_dip_;
-
DISALLOW_COPY_AND_ASSIGN(DelegatedFrameHostAndroid);
};
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_android.cc ('k') | ui/android/delegated_frame_host_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698