Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / mojo / services / view_manager / root_view_manager_delegate.h
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.
4
5 #ifndef MOJO_SERVICES_VIEW_MANAGER_ROOT_VIEW_MANAGER_DELEGATE_H_
6 #define MOJO_SERVICES_VIEW_MANAGER_ROOT_VIEW_MANAGER_DELEGATE_H_
7
8 #include "mojo/services/view_manager/view_manager_export.h"
9
10 namespace mojo {
11 namespace service {
12
13 class MOJO_VIEW_MANAGER_EXPORT RootViewManagerDelegate {
14  public:
15   // Invoked when the WindowTreeHost is ready.
16   virtual void OnRootViewManagerWindowTreeHostCreated() = 0;
17
18  protected:
19   virtual ~RootViewManagerDelegate() {}
20 };
21
22 }  // namespace service
23 }  // namespace mojo
24
25 #endif  // MOJO_SERVICES_VIEW_MANAGER_ROOT_VIEW_MANAGER_H_