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

Side by Side Diff: chrome/browser/ui/views/aura/aura_init.cc

Issue 8095016: Additional build fixes for aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing file Created 9 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 | Annotate | Revision Log
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 "chrome/browser/ui/views/aura/aura_init.h" 5 #include "chrome/browser/ui/views/aura/aura_init.h"
6 6
7 #include "chrome/browser/ui/views/chrome_views_delegate.h" 7 #include "chrome/browser/ui/views/chrome_views_delegate.h"
8 #include "ui/aura/desktop.h" 8 #include "ui/aura/desktop.h"
9 #include "ui/aura/hit_test.h" 9 #include "ui/aura/hit_test.h"
10 #include "ui/aura/window_delegate.h" 10 #include "ui/aura/window_delegate.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 params2.parent = aura::Desktop::GetInstance()->window(); 94 params2.parent = aura::Desktop::GetInstance()->window();
95 widget2->Init(params2); 95 widget2->Init(params2);
96 widget2->SetContentsView(new TestView); 96 widget2->SetContentsView(new TestView);
97 widget2->Show(); 97 widget2->Show();
98 98
99 DemoWindowDelegate* window_delegate1 = new DemoWindowDelegate(SK_ColorBLUE); 99 DemoWindowDelegate* window_delegate1 = new DemoWindowDelegate(SK_ColorBLUE);
100 aura::Window* window1 = new aura::Window(window_delegate1); 100 aura::Window* window1 = new aura::Window(window_delegate1);
101 window1->set_id(1); 101 window1->set_id(1);
102 window1->Init(); 102 window1->Init();
103 window1->SetBounds(gfx::Rect(100, 100, 400, 400)); 103 window1->SetBounds(gfx::Rect(100, 100, 400, 400));
104 window1->SetVisibility(aura::Window::VISIBILITY_SHOWN); 104 window1->Show();
105 window1->SetParent(NULL); 105 window1->SetParent(NULL);
106 } 106 }
107 107
108 } // namespace browser 108 } // namespace browser
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698