Move all sources under atom/.

This commit is contained in:
Cheng Zhao 2014-03-16 08:30:26 +08:00
parent 26ddbbb0ee
commit 516d46444d
217 changed files with 519 additions and 519 deletions

View file

@ -0,0 +1,33 @@
// Copyright (c) 2013 GitHub, Inc. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ATOM_BROSER_WINDOW_LIST_OBSERVER_H_
#define ATOM_BROSER_WINDOW_LIST_OBSERVER_H_
namespace atom {
class NativeWindow;
class WindowListObserver {
public:
// Called immediately after a window is added to the list.
virtual void OnWindowAdded(NativeWindow* window) {}
// Called immediately after a window is removed from the list.
virtual void OnWindowRemoved(NativeWindow* window) {}
// Called when a window close is cancelled by beforeunload handler.
virtual void OnWindowCloseCancelled(NativeWindow* window) {}
// Called immediately after all windows are closed.
virtual void OnWindowAllClosed() {}
protected:
virtual ~WindowListObserver() {}
};
} // namespace atom
#endif // ATOM_BROSER_WINDOW_LIST_OBSERVER_H_