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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_screen_position_client.cc

Issue 11369220: Move the desktop aura classes into a desktop subdir to make the gyp simpler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "ui/views/widget/desktop_screen_position_client.h" 5 #include "ui/views/widget/desktop_aura/desktop_screen_position_client.h"
6 6
7 #include "ui/aura/root_window.h" 7 #include "ui/aura/root_window.h"
8 #include "ui/views/widget/desktop_native_widget_aura.h" 8 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h"
9 9
10 namespace views { 10 namespace views {
11 11
12 DesktopScreenPositionClient::DesktopScreenPositionClient() { 12 DesktopScreenPositionClient::DesktopScreenPositionClient() {
13 } 13 }
14 14
15 DesktopScreenPositionClient::~DesktopScreenPositionClient() { 15 DesktopScreenPositionClient::~DesktopScreenPositionClient() {
16 } 16 }
17 17
18 void DesktopScreenPositionClient::ConvertPointToScreen( 18 void DesktopScreenPositionClient::ConvertPointToScreen(
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 DesktopNativeWidgetAura::ForWindow(window); 61 DesktopNativeWidgetAura::ForWindow(window);
62 if (desktop_native_widget) { 62 if (desktop_native_widget) {
63 root->SetHostBounds(bounds); 63 root->SetHostBounds(bounds);
64 // Setting bounds of root resizes |window|. 64 // Setting bounds of root resizes |window|.
65 } else { 65 } else {
66 window->SetBounds(bounds); 66 window->SetBounds(bounds);
67 } 67 }
68 } 68 }
69 69
70 } // namespace views 70 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_screen_position_client.h ('k') | ui/views/widget/desktop_aura/x11_desktop_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698