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

Unified Diff: ui/aura/mus/window_mus.h

Issue 2610723002: Unify SurfaceInfo (Closed)
Patch Set: Cleanup offscreen canvas Created 3 years, 12 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 | « ui/aura/mus/surface_id_handler.h ('k') | ui/aura/mus/window_port_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/window_mus.h
diff --git a/ui/aura/mus/window_mus.h b/ui/aura/mus/window_mus.h
index 107d11a7149f0954888dc4e71657aa27f8a444ff..f88d042285302a6a247a5bb94b78c77150a6dcd0 100644
--- a/ui/aura/mus/window_mus.h
+++ b/ui/aura/mus/window_mus.h
@@ -14,6 +14,10 @@
#include "ui/aura/aura_export.h"
#include "ui/aura/mus/mus_types.h"
+namespace cc {
+class SurfaceInfo;
+}
+
namespace gfx {
class Rect;
}
@@ -26,7 +30,6 @@ enum class OrderDirection;
namespace aura {
-struct SurfaceInfo;
class Window;
class WindowTreeClient;
@@ -79,8 +82,8 @@ class AURA_EXPORT WindowMus {
virtual void SetPredefinedCursorFromServer(ui::mojom::Cursor cursor) = 0;
virtual void SetPropertyFromServer(const std::string& property_name,
const std::vector<uint8_t>* data) = 0;
- virtual void SetSurfaceIdFromServer(
- std::unique_ptr<SurfaceInfo> surface_info) = 0;
+ virtual void SetSurfaceInfoFromServer(
+ const cc::SurfaceInfo& surface_info) = 0;
// The window was deleted on the server side. DestroyFromServer() should
// result in deleting |this|.
virtual void DestroyFromServer() = 0;
« no previous file with comments | « ui/aura/mus/surface_id_handler.h ('k') | ui/aura/mus/window_port_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698