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

Side by Side Diff: ui/views/demo/main.cc

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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 | « ui/gfx/win_util.cc ('k') | ui/views/events/event.h » ('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 <windows.h> 5 #include <windows.h>
6 #include <atlbase.h> 6 #include <atlbase.h>
7 #include <atlapp.h> 7 #include <atlapp.h>
8 #include <atlcrack.h> 8 #include <atlcrack.h>
9 #include <atlmisc.h> 9 #include <atlmisc.h>
10 10
11 #include "base/at_exit.h" 11 #include "base/at_exit.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop.h"
13 #include "gfx/canvas.h" 13 #include "ui/gfx/canvas.h"
14 #include "ui/views/view.h" 14 #include "ui/views/view.h"
15 #include "ui/views/widget/widget.h" 15 #include "ui/views/widget/widget.h"
16 #include "ui/views/widget/native_widget_win.h" 16 #include "ui/views/widget/native_widget_win.h"
17 17
18 class V2DemoDispatcher : public MessageLoopForUI::Dispatcher { 18 class V2DemoDispatcher : public MessageLoopForUI::Dispatcher {
19 public: 19 public:
20 V2DemoDispatcher() {} 20 V2DemoDispatcher() {}
21 virtual ~V2DemoDispatcher() {} 21 virtual ~V2DemoDispatcher() {}
22 22
23 private: 23 private:
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 ui::Widget widget(&cv); 168 ui::Widget widget(&cv);
169 widget.InitWithNativeViewParent(NULL, gfx::Rect(20, 20, 400, 400)); 169 widget.InitWithNativeViewParent(NULL, gfx::Rect(20, 20, 400, 400));
170 cv.Init(); 170 cv.Init();
171 widget.Show(); 171 widget.Show();
172 172
173 V2DemoDispatcher dispatcher; 173 V2DemoDispatcher dispatcher;
174 MessageLoopForUI::current()->Run(&dispatcher); 174 MessageLoopForUI::current()->Run(&dispatcher);
175 175
176 OleUninitialize(); 176 OleUninitialize();
177 } 177 }
OLDNEW
« no previous file with comments | « ui/gfx/win_util.cc ('k') | ui/views/events/event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698