Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: chrome/browser/views/window.h

Issue 3538012: Use BubbleWindow for ChromeOS windows/dialogs. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: fix win trybot Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/views/page_info_window_view.cc ('k') | chrome/browser/views/window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/window.h
diff --git a/chrome/browser/views/window.h b/chrome/browser/views/window.h
new file mode 100644
index 0000000000000000000000000000000000000000..c2f2bb4797c0147d2c0b18a754a2e38457e8599c
--- /dev/null
+++ b/chrome/browser/views/window.h
@@ -0,0 +1,29 @@
+// Copyright (c) 2010 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.
+
+#ifndef CHROME_BROWSER_VIEWS_WINDOW_H_
+#define CHROME_BROWSER_VIEWS_WINDOW_H_
+#pragma once
+
+#include "gfx/native_widget_types.h"
+
+namespace gfx {
+class Rect;
+}
+
+namespace views {
+class Window;
+class WindowDelegate;
+}
+
+namespace browser {
+
+// Create a window for given |delegate| using default frame view.
+views::Window* CreateViewsWindow(gfx::NativeWindow parent,
+ const gfx::Rect& bounds,
+ views::WindowDelegate* delegate);
+
+} // namespace browser
+
+#endif // CHROME_BROWSER_VIEWS_WINDOW_H_
« no previous file with comments | « chrome/browser/views/page_info_window_view.cc ('k') | chrome/browser/views/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698