blob: 544f20527aaf50592b5fbc4ab8b95392aff01c3b [file] [log] [blame]
// Copyright 2013 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/views/views_export.h"
namespace views {
// Allows for the observation of lower level window events.
class VIEWS_EXPORT DesktopWindowTreeHostObserverX11 {
virtual ~DesktopWindowTreeHostObserverX11() {}
// Called after we receive a MapNotify event (the X11 server has allocated
// resources for it).
virtual void OnWindowMapped(unsigned long xid) = 0;
// Called after we receive an UnmapNotify event (the X11 server has freed
// resources for it).
virtual void OnWindowUnmapped(unsigned long xid) = 0;
} // namespace views