base_window.cc 388 B

12345678910111213141516
  1. // Copyright 2013 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. #include "ui/base/base_window.h"
  5. namespace ui {
  6. bool BaseWindow::IsRestored(const BaseWindow& window) {
  7. return !window.IsMaximized() &&
  8. !window.IsMinimized() &&
  9. !window.IsFullscreen();
  10. }
  11. } // namespace ui