OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/at_exit.h" | 5 #include "base/at_exit.h" |
6 #include "base/command_line.h" | 6 #include "base/command_line.h" |
7 #include "base/i18n/icu_util.h" | 7 #include "base/i18n/icu_util.h" |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 views::Widget* views_window = views::Widget::CreateWindowWithParentAndBounds( | 178 views::Widget* views_window = views::Widget::CreateWindowWithParentAndBounds( |
179 contents, window2, gfx::Rect(120, 150, 200, 200)); | 179 contents, window2, gfx::Rect(120, 150, 200, 200)); |
180 views_window->Show(); | 180 views_window->Show(); |
181 | 181 |
182 aura::Desktop::GetInstance()->Run(); | 182 aura::Desktop::GetInstance()->Run(); |
183 | 183 |
184 delete aura::Desktop::GetInstance(); | 184 delete aura::Desktop::GetInstance(); |
185 | 185 |
186 return 0; | 186 return 0; |
187 } | 187 } |
188 | |
OLD | NEW |