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_EXAMPLES_AURA_DEMO_WINDOW_TREE_HOST_VIEW_MANAGER_DELEGATE_H_
6 #define MOJO_EXAMPLES_AURA_DEMO_WINDOW_TREE_HOST_VIEW_MANAGER_DELEGATE_H_
12 class WindowTreeHostMojoDelegate
{
14 // Invoked when the contents of the composite associated with the
15 // WindowTreeHostMojo are updated.
16 virtual void CompositorContentsChanged(const SkBitmap
& bitmap
) = 0;
19 virtual ~WindowTreeHostMojoDelegate() {}
24 #endif // MOJO_EXAMPLES_AURA_DEMO_WINDOW_TREE_HOST_VIEW_MANAGER_DELEGATE_H_