summaryrefslogtreecommitdiff
path: root/ui/base/base_window.cc
blob: 231a1771797ef9048144e4254f3a561c4ac3ea60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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