Revert of media-internals: Simplify the code path for creating a media log entry...
[chromium-blink-merge.git] / ui / base / base_window.cc
blob231a1771797ef9048144e4254f3a561c4ac3ea60
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.
5 #include "ui/base/base_window.h"
7 namespace ui {
9 bool BaseWindow::IsRestored(const BaseWindow& window) {
10 return !window.IsMaximized() &&
11 !window.IsMinimized() &&
12 !window.IsFullscreen();
15 } // namespace ui