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

Unified Diff: ui/aura/window_port.h

Issue 2582823002: WIP: Surface Synchronization System
Patch Set: Only create ClientSurfaceEmbedder if window is visible. Trash it otherwise. Created 3 years, 11 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/aura/window_port.h
diff --git a/ui/aura/window_port.h b/ui/aura/window_port.h
index b82305d2206d07bb9c13d90de7e01b41552fede0..c5e313c8687967146efd68fb74233fbdcc98bf6f 100644
--- a/ui/aura/window_port.h
+++ b/ui/aura/window_port.h
@@ -13,6 +13,7 @@
#include "base/observer_list.h"
#include "base/strings/string16.h"
#include "ui/aura/aura_export.h"
+#include "ui/compositor/layer_type.h"
namespace gfx {
class Rect;
@@ -39,7 +40,7 @@ class AURA_EXPORT WindowPort {
virtual ~WindowPort() {}
// Called from Window::Init().
- virtual void OnPreInit(Window* window) = 0;
+ virtual void OnPreInit(Window* window, ui::LayerType layer_type) = 0;
virtual void OnDeviceScaleFactorChanged(float device_scale_factor) = 0;

Powered by Google App Engine
This is Rietveld 408576698