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

Side by Side Diff: views/aura_desktop/aura_desktop_main.cc

Issue 7747032: Create a new views_aura_desktop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « views/DEPS ('k') | views/controls/menu/menu_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "aura/desktop.h" 5 #include "aura/desktop.h"
6 #include "aura/desktop_host.h" 6 #include "aura/desktop_host.h"
7 #include "aura/window.h" 7 #include "aura/window.h"
8 #include "aura/window_delegate.h" 8 #include "aura/window_delegate.h"
9 #include "base/at_exit.h" 9 #include "base/at_exit.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 views::Widget::InitParams params(views::Widget::InitParams::TYPE_CONTROL); 97 views::Widget::InitParams params(views::Widget::InitParams::TYPE_CONTROL);
98 params.bounds = gfx::Rect(75, 75, 80, 80); 98 params.bounds = gfx::Rect(75, 75, 80, 80);
99 params.parent = &window2; 99 params.parent = &window2;
100 widget.Init(params); 100 widget.Init(params);
101 widget.SetContentsView(new TestView); 101 widget.SetContentsView(new TestView);
102 102
103 aura::Desktop::GetInstance()->Run(); 103 aura::Desktop::GetInstance()->Run();
104 return 0; 104 return 0;
105 } 105 }
106 106
OLDNEW
« no previous file with comments | « views/DEPS ('k') | views/controls/menu/menu_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698