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

Unified Diff: chrome/browser/android/compositor/layer/overlay_panel_layer.cc

Issue 1747783002: CC Animation: Erase old animation system in Android Compositor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/compositor/layer/overlay_panel_layer.cc
diff --git a/chrome/browser/android/compositor/layer/overlay_panel_layer.cc b/chrome/browser/android/compositor/layer/overlay_panel_layer.cc
index 1a7f394d8b8de66b8bd39188fb8487a3486432a1..5645763f5a0ff0c9ebba33808760af8de9cd1729 100644
--- a/chrome/browser/android/compositor/layer/overlay_panel_layer.cc
+++ b/chrome/browser/android/compositor/layer/overlay_panel_layer.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/android/compositor/layer/overlay_panel_layer.h"
#include "cc/layers/layer.h"
+#include "cc/layers/layer_settings.h"
#include "cc/layers/nine_patch_layer.h"
#include "cc/layers/solid_color_layer.h"
#include "cc/layers/ui_resource_layer.h"
@@ -260,24 +261,24 @@ void OverlayPanelLayer::SetProperties(
OverlayPanelLayer::OverlayPanelLayer(
ui::ResourceManager* resource_manager)
: resource_manager_(resource_manager),
- layer_(cc::Layer::Create(content::Compositor::LayerSettings())),
+ layer_(cc::Layer::Create(cc::LayerSettings())),
panel_shadow_(
- cc::NinePatchLayer::Create(content::Compositor::LayerSettings())),
+ cc::NinePatchLayer::Create(cc::LayerSettings())),
bar_background_(
- cc::SolidColorLayer::Create(content::Compositor::LayerSettings())),
+ cc::SolidColorLayer::Create(cc::LayerSettings())),
bar_text_(
- cc::UIResourceLayer::Create(content::Compositor::LayerSettings())),
+ cc::UIResourceLayer::Create(cc::LayerSettings())),
bar_shadow_(
- cc::UIResourceLayer::Create(content::Compositor::LayerSettings())),
+ cc::UIResourceLayer::Create(cc::LayerSettings())),
panel_icon_(
- cc::UIResourceLayer::Create(content::Compositor::LayerSettings())),
+ cc::UIResourceLayer::Create(cc::LayerSettings())),
close_icon_(
- cc::UIResourceLayer::Create(content::Compositor::LayerSettings())),
+ cc::UIResourceLayer::Create(cc::LayerSettings())),
content_view_container_(
- cc::SolidColorLayer::Create(content::Compositor::LayerSettings())),
- text_container_(cc::Layer::Create(content::Compositor::LayerSettings())),
+ cc::SolidColorLayer::Create(cc::LayerSettings())),
+ text_container_(cc::Layer::Create(cc::LayerSettings())),
bar_border_(
- cc::SolidColorLayer::Create(content::Compositor::LayerSettings())) {
+ cc::SolidColorLayer::Create(cc::LayerSettings())) {
layer_->SetMasksToBounds(false);
layer_->SetIsDrawable(true);

Powered by Google App Engine
This is Rietveld 408576698