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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_native_widget_aura.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_native_widget_aura.h" 5 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "ui/aura/client/stacking_client.h" 8 #include "ui/aura/client/stacking_client.h"
9 #include "ui/aura/focus_manager.h" 9 #include "ui/aura/focus_manager.h"
10 #include "ui/aura/root_window.h" 10 #include "ui/aura/root_window.h"
11 #include "ui/aura/root_window_host.h" 11 #include "ui/aura/root_window_host.h"
12 #include "ui/aura/window.h" 12 #include "ui/aura/window.h"
13 #include "ui/aura/window_property.h" 13 #include "ui/aura/window_property.h"
14 #include "ui/base/hit_test.h" 14 #include "ui/base/hit_test.h"
15 #include "ui/base/native_theme/native_theme.h" 15 #include "ui/base/native_theme/native_theme.h"
16 #include "ui/compositor/layer.h" 16 #include "ui/compositor/layer.h"
17 #include "ui/gfx/canvas.h" 17 #include "ui/gfx/canvas.h"
18 #include "ui/views/ime/input_method.h" 18 #include "ui/views/ime/input_method.h"
19 #include "ui/views/widget/desktop_root_window_host.h" 19 #include "ui/views/widget/desktop_aura/desktop_root_window_host.h"
20 #include "ui/views/widget/native_widget_aura_window_observer.h" 20 #include "ui/views/widget/native_widget_aura_window_observer.h"
21 #include "ui/views/widget/widget.h" 21 #include "ui/views/widget/widget.h"
22 #include "ui/views/widget/widget_aura_utils.h" 22 #include "ui/views/widget/widget_aura_utils.h"
23 23
24 DECLARE_EXPORTED_WINDOW_PROPERTY_TYPE(VIEWS_EXPORT, 24 DECLARE_EXPORTED_WINDOW_PROPERTY_TYPE(VIEWS_EXPORT,
25 views::DesktopNativeWidgetAura*); 25 views::DesktopNativeWidgetAura*);
26 26
27 namespace views { 27 namespace views {
28 28
29 DEFINE_WINDOW_PROPERTY_KEY(DesktopNativeWidgetAura*, 29 DEFINE_WINDOW_PROPERTY_KEY(DesktopNativeWidgetAura*,
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 GetWidget()->non_client_view()->SchedulePaint(); 578 GetWidget()->non_client_view()->SchedulePaint();
579 } 579 }
580 580
581 void DesktopNativeWidgetAura::OnLostActive() { 581 void DesktopNativeWidgetAura::OnLostActive() {
582 native_widget_delegate_->OnNativeWidgetActivationChanged(false); 582 native_widget_delegate_->OnNativeWidgetActivationChanged(false);
583 if (IsVisible() && GetWidget()->non_client_view()) 583 if (IsVisible() && GetWidget()->non_client_view())
584 GetWidget()->non_client_view()->SchedulePaint(); 584 GetWidget()->non_client_view()->SchedulePaint();
585 } 585 }
586 586
587 } // namespace views 587 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_native_widget_aura.h ('k') | ui/views/widget/desktop_aura/desktop_root_window_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698