cygprofile: increase timeouts to allow showing web contents
[chromium-blink-merge.git] / components / view_manager / public / cpp / view_surface_client.h
blob1a8d2e765bc65f4b5691fa6c4d63e765c9bc6766
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
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_VIEW_SURFACE_CLIENT_H_
6 #define COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_VIEW_SURFACE_CLIENT_H_
8 namespace mojo {
10 class ViewSurface;
12 class ViewSurfaceClient {
13 public:
14 virtual void OnResourcesReturned(
15 ViewSurface* surface,
16 mojo::Array<mojo::ReturnedResourcePtr> resources) = 0;
18 protected:
19 ~ViewSurfaceClient() {}
22 } // namespace mojo
24 #endif // COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_VIEW_SURFACE_CLIENT_H_