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

Unified Diff: components/exo/surface.h

Issue 2383263002: Generalize layer mirroring for phantom windows (Closed)
Patch Set: Rebase Created 4 years, 2 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
« no previous file with comments | « chrome/browser/ui/views/frame/contents_web_view.cc ('k') | components/exo/surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/surface.h
diff --git a/components/exo/surface.h b/components/exo/surface.h
index a3706787e488021f0d164a800f35417e2bcdaa6f..744587db667507e671e4996c4dfc6d5276691dc9 100644
--- a/components/exo/surface.h
+++ b/components/exo/surface.h
@@ -21,7 +21,6 @@
#include "third_party/skia/include/core/SkXfermode.h"
#include "ui/aura/window.h"
#include "ui/compositor/compositor.h"
-#include "ui/compositor/layer_owner_delegate.h"
#include "ui/gfx/geometry/rect.h"
namespace base {
@@ -89,8 +88,7 @@ class SurfaceFactoryOwner : public base::RefCounted<SurfaceFactoryOwner>,
// This class represents a rectangular area that is displayed on the screen.
// It has a location, size and pixel contents.
-class Surface : public ui::LayerOwnerDelegate,
- public ui::ContextFactoryObserver {
+class Surface : public ui::ContextFactoryObserver {
public:
using PropertyDeallocator = void (*)(int64_t value);
@@ -210,9 +208,6 @@ class Surface : public ui::LayerOwnerDelegate,
return pending_damage_.contains(gfx::RectToSkIRect(damage));
}
- // Overridden from ui::LayerOwnerDelegate:
- void OnLayerRecreated(ui::Layer* old_layer, ui::Layer* new_layer) override;
-
// Overridden from ui::ContextFactoryObserver.
void OnLostResources() override;
« no previous file with comments | « chrome/browser/ui/views/frame/contents_web_view.cc ('k') | components/exo/surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698