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_EXAMPLES_AURA_DEMO_WINDOW_TREE_HOST_VIEW_MANAGER_DELEGATE_H_ 6#define MOJO_EXAMPLES_AURA_DEMO_WINDOW_TREE_HOST_VIEW_MANAGER_DELEGATE_H_ 7 8class SkBitmap; 9 10namespace mojo { 11 12class WindowTreeHostMojoDelegate { 13 public: 14 // Invoked when the contents of the composite associated with the 15 // WindowTreeHostMojo are updated. 16 virtual void CompositorContentsChanged(const SkBitmap& bitmap) = 0; 17 18 protected: 19 virtual ~WindowTreeHostMojoDelegate() {} 20}; 21 22} // namespace mojo 23 24#endif // MOJO_EXAMPLES_AURA_DEMO_WINDOW_TREE_HOST_VIEW_MANAGER_DELEGATE_H_ 25