[Drive] Handle error cases earlier in FakeDriveService
[chromium-blink-merge.git] / mojo / services / view_manager / root_view_manager_delegate.h
blob3a826971f9bff047c65c2475053512870f03b8c5
1 // Copyright 2014 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 MOJO_SERVICES_VIEW_MANAGER_ROOT_VIEW_MANAGER_DELEGATE_H_
6 #define MOJO_SERVICES_VIEW_MANAGER_ROOT_VIEW_MANAGER_DELEGATE_H_
8 #include "mojo/services/view_manager/view_manager_export.h"
10 namespace mojo {
11 namespace service {
13 class MOJO_VIEW_MANAGER_EXPORT RootViewManagerDelegate {
14 public:
15 // Invoked when the WindowTreeHost is ready.
16 virtual void OnRootViewManagerWindowTreeHostCreated() = 0;
18 protected:
19 virtual ~RootViewManagerDelegate() {}
22 } // namespace service
23 } // namespace mojo
25 #endif // MOJO_SERVICES_VIEW_MANAGER_ROOT_VIEW_MANAGER_H_