| // 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/base/base_window.h" | |
| namespace ui { | |
| bool BaseWindow::IsRestored(const BaseWindow& window) { | |
| return !window.IsMaximized() && | |
| !window.IsMinimized() && | |
| !window.IsFullscreen(); | |
| } | |
| } // namespace ui | |