blob: bfb8e65c518a6a7ddd434bba919eabf6cabd0ac8 [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/aura/aura_export.h"
namespace gfx {
class Point;
class Size;
namespace aura {
class RootWindow;
class Window;
class AURA_EXPORT RootWindowObserver {
// Invoked after the RootWindow's host has been resized.
virtual void OnRootWindowHostResized(const RootWindow* root) {}
// Invoked after the RootWindow's host has been moved on screen.
virtual void OnRootWindowHostMoved(const RootWindow* root,
const gfx::Point& new_origin) {}
// Invoked when the native windowing system sends us a request to close our
// window.
virtual void OnRootWindowHostCloseRequested(const RootWindow* root) {}
// Invoked when the keyboard mapping has changed.
virtual void OnKeyboardMappingChanged(const RootWindow* root) {}
virtual ~RootWindowObserver() {}
} // namespace aura