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

Side by Side Diff: ui/aura/desktop_host_win.cc

Issue 7886042: Move Aura to UI subdir. (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
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_host_win.h" 5 #include "ui/aura/desktop_host_win.h"
6 6
7 #include "aura/desktop.h"
8 #include "aura/event.h"
9 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "ui/aura/desktop.h"
9 #include "ui/aura/event.h"
10 10
11 namespace aura { 11 namespace aura {
12 12
13 // static 13 // static
14 DesktopHost* DesktopHost::Create(const gfx::Rect& bounds) { 14 DesktopHost* DesktopHost::Create(const gfx::Rect& bounds) {
15 return new DesktopHostWin(bounds); 15 return new DesktopHostWin(bounds);
16 } 16 }
17 17
18 DesktopHostWin::DesktopHostWin(const gfx::Rect& bounds) : desktop_(NULL) { 18 DesktopHostWin::DesktopHostWin(const gfx::Rect& bounds) : desktop_(NULL) {
19 Init(NULL, bounds); 19 Init(NULL, bounds);
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 void DesktopHostWin::OnPaint(HDC dc) { 87 void DesktopHostWin::OnPaint(HDC dc) {
88 desktop_->Draw(); 88 desktop_->Draw();
89 ValidateRect(hwnd(), NULL); 89 ValidateRect(hwnd(), NULL);
90 } 90 }
91 91
92 void DesktopHostWin::OnSize(UINT param, const CSize& size) { 92 void DesktopHostWin::OnSize(UINT param, const CSize& size) {
93 desktop_->OnHostResized(gfx::Size(size.cx, size.cy)); 93 desktop_->OnHostResized(gfx::Size(size.cx, size.cy));
94 } 94 }
95 95
96 } // namespace aura 96 } // namespace aura
OLDNEW
« ui/aura/aura.gyp ('K') | « ui/aura/desktop_host_win.h ('k') | ui/aura/event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698