1 // Copyright (c) 2010 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 #ifndef CHROME_BROWSER_UI_VIEWS_WINDOW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_WINDOW_H_ 7 #pragma once 8 9 #include "ui/gfx/native_widget_types.h" 10 11 namespace gfx { 12 class Rect; 13 } 14 15 namespace views { 16 class Window; 17 class WindowDelegate; 18 } 19 20 namespace browser { 21 22 // Create a window for given |delegate| using default frame view. 23 views::Window* CreateViewsWindow(gfx::NativeWindow parent, 24 const gfx::Rect& bounds, 25 views::WindowDelegate* delegate); 26 27 } // namespace browser 28 29 #endif // CHROME_BROWSER_UI_VIEWS_WINDOW_H_ 30