Home | History | Annotate | Download | only in base
      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 
      5 #include "ui/base/base_window.h"
      6 
      7 namespace ui {
      8 
      9 bool BaseWindow::IsRestored(const BaseWindow& window) {
     10   return !window.IsMaximized() &&
     11      !window.IsMinimized() &&
     12      !window.IsFullscreen();
     13 }
     14 
     15 }  // namespace ui
     16 
     17