1424c4d7b64af9d0d8fd9624f381f469654d5e3d2Torne (Richard Coles)// Copyright 2013 The Chromium Authors. All rights reserved. 2424c4d7b64af9d0d8fd9624f381f469654d5e3d2Torne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be 3424c4d7b64af9d0d8fd9624f381f469654d5e3d2Torne (Richard Coles)// found in the LICENSE file. 4424c4d7b64af9d0d8fd9624f381f469654d5e3d2Torne (Richard Coles) 5424c4d7b64af9d0d8fd9624f381f469654d5e3d2Torne (Richard Coles)#include "ui/base/base_window.h" 6424c4d7b64af9d0d8fd9624f381f469654d5e3d2Torne (Richard Coles) 7424c4d7b64af9d0d8fd9624f381f469654d5e3d2Torne (Richard Coles)namespace ui { 8424c4d7b64af9d0d8fd9624f381f469654d5e3d2Torne (Richard Coles) 9424c4d7b64af9d0d8fd9624f381f469654d5e3d2Torne (Richard Coles)bool BaseWindow::IsRestored(const BaseWindow& window) { 10424c4d7b64af9d0d8fd9624f381f469654d5e3d2Torne (Richard Coles) return !window.IsMaximized() && 11424c4d7b64af9d0d8fd9624f381f469654d5e3d2Torne (Richard Coles) !window.IsMinimized() && 12424c4d7b64af9d0d8fd9624f381f469654d5e3d2Torne (Richard Coles) !window.IsFullscreen(); 13424c4d7b64af9d0d8fd9624f381f469654d5e3d2Torne (Richard Coles)} 14424c4d7b64af9d0d8fd9624f381f469654d5e3d2Torne (Richard Coles) 15424c4d7b64af9d0d8fd9624f381f469654d5e3d2Torne (Richard Coles)} // namespace ui 16424c4d7b64af9d0d8fd9624f381f469654d5e3d2Torne (Richard Coles) 17