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

Unified Diff: services/ui/public/cpp/window_surface.h

Issue 2189893002: services/ui: Create a proper component for the client-lib. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 | « services/ui/public/cpp/window_observer.h ('k') | services/ui/public/cpp/window_surface_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/cpp/window_surface.h
diff --git a/services/ui/public/cpp/window_surface.h b/services/ui/public/cpp/window_surface.h
index 68d84cfd7949bc03abcb580deb4d2a49d6f604d8..117c47453cce95b40cbb45288cc62e9ffd897094 100644
--- a/services/ui/public/cpp/window_surface.h
+++ b/services/ui/public/cpp/window_surface.h
@@ -13,6 +13,7 @@
#include "base/threading/thread_checker.h"
#include "mojo/public/cpp/bindings/binding.h"
#include "mojo/public/cpp/bindings/interface_ptr_info.h"
+#include "services/ui/public/cpp/ui_export.h"
#include "services/ui/public/interfaces/surface.mojom.h"
namespace ui {
@@ -23,7 +24,7 @@ class Window;
// A WindowSurface is wrapper to simplify submitting CompositorFrames to
// Windows, and receiving ReturnedResources.
-class WindowSurface : public mojom::SurfaceClient {
+class UI_EXPORT WindowSurface : NON_EXPORTED_BASE(public mojom::SurfaceClient) {
public:
// static
static std::unique_ptr<WindowSurface> Create(
@@ -62,7 +63,7 @@ class WindowSurface : public mojom::SurfaceClient {
// A WindowSurfaceBinding is a bundle of mojo interfaces that are to be used by
// or implemented by the Mus window server when passed into
// Window::AttachSurface. WindowSurfaceBinding has no standalone functionality.
-class WindowSurfaceBinding {
+class UI_EXPORT WindowSurfaceBinding {
public:
~WindowSurfaceBinding();
« no previous file with comments | « services/ui/public/cpp/window_observer.h ('k') | services/ui/public/cpp/window_surface_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698