summaryrefslogtreecommitdiff
path: root/chromium/ui/base/base_window.cc
blob: 7894ce9c720e2575adfe57afe29cf8c24232277e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2013 The Chromium Authors
// 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