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

Side by Side Diff: services/ui/public/cpp/window_surface_client.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, 4 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 unified diff | Download patch
« no previous file with comments | « services/ui/public/cpp/window_surface.h ('k') | services/ui/public/cpp/window_tree_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SERVICES_UI_PUBLIC_CPP_WINDOW_SURFACE_CLIENT_H_ 5 #ifndef SERVICES_UI_PUBLIC_CPP_WINDOW_SURFACE_CLIENT_H_
6 #define SERVICES_UI_PUBLIC_CPP_WINDOW_SURFACE_CLIENT_H_ 6 #define SERVICES_UI_PUBLIC_CPP_WINDOW_SURFACE_CLIENT_H_
7 7
8 #include "mojo/public/cpp/bindings/array.h" 8 #include "mojo/public/cpp/bindings/array.h"
9 #include "services/ui/public/cpp/ui_export.h"
9 10
10 namespace cc { 11 namespace cc {
11 struct ReturnedResource; 12 struct ReturnedResource;
12 } 13 }
13 14
14 namespace ui { 15 namespace ui {
15 16
16 class WindowSurface; 17 class WindowSurface;
17 18
18 class WindowSurfaceClient { 19 class UI_EXPORT WindowSurfaceClient {
19 public: 20 public:
20 virtual void OnResourcesReturned( 21 virtual void OnResourcesReturned(
21 WindowSurface* surface, 22 WindowSurface* surface,
22 mojo::Array<cc::ReturnedResource> resources) = 0; 23 mojo::Array<cc::ReturnedResource> resources) = 0;
23 24
24 protected: 25 protected:
25 virtual ~WindowSurfaceClient() {} 26 virtual ~WindowSurfaceClient() {}
26 }; 27 };
27 28
28 } // namespace ui 29 } // namespace ui
29 30
30 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_SURFACE_CLIENT_H_ 31 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_SURFACE_CLIENT_H_
OLDNEW
« no previous file with comments | « services/ui/public/cpp/window_surface.h ('k') | services/ui/public/cpp/window_tree_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698