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

Side by Side Diff: chrome/browser/views/window.cc

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 unified diff | Download patch
« no previous file with comments | « chrome/browser/views/window.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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 #include "chrome/browser/views/window.h"
6
7 #include "gfx/rect.h"
8 #include "views/window/window.h"
9
10 #if defined(OS_CHROMEOS)
11 #include "chrome/browser/chromeos/frame/bubble_window.h"
12 #endif // defined(OS_CHROMEOS)
13
14 namespace browser {
15
16 views::Window* CreateViewsWindow(gfx::NativeWindow parent,
17 const gfx::Rect& bounds,
18 views::WindowDelegate* delegate) {
19 #if defined(OS_CHROMEOS)
20 return chromeos::BubbleWindow::Create(parent, gfx::Rect(), delegate);
21 #else
22 return views::Window::CreateChromeWindow(parent, gfx::Rect(), delegate);
23 #endif
24 }
25
26 } // namespace browser
OLDNEW
« no previous file with comments | « chrome/browser/views/window.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698