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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_native_widget_aura.h

Issue 148883003: Change destruction order of FocusController (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « no previous file | ui/views/widget/desktop_aura/desktop_native_widget_aura.cc » ('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) 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 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "ui/aura/client/activation_change_observer.h" 9 #include "ui/aura/client/activation_change_observer.h"
10 #include "ui/aura/client/activation_delegate.h" 10 #include "ui/aura/client/activation_delegate.h"
(...skipping 13 matching lines...) Expand all
24 class ScreenPositionClient; 24 class ScreenPositionClient;
25 class WindowTreeClient; 25 class WindowTreeClient;
26 } 26 }
27 } 27 }
28 28
29 namespace views { 29 namespace views {
30 30
31 namespace corewm { 31 namespace corewm {
32 class CompoundEventFilter; 32 class CompoundEventFilter;
33 class CursorManager; 33 class CursorManager;
34 class FocusController;
34 class InputMethodEventFilter; 35 class InputMethodEventFilter;
35 class ShadowController; 36 class ShadowController;
36 class TooltipController; 37 class TooltipController;
37 class VisibilityController; 38 class VisibilityController;
38 class WindowModalityController; 39 class WindowModalityController;
39 } 40 }
40 41
41 class DesktopCaptureClient; 42 class DesktopCaptureClient;
42 class DesktopDispatcherClient; 43 class DesktopDispatcherClient;
43 class DesktopEventClient; 44 class DesktopEventClient;
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 // Child of the root, contains |content_window_|. 262 // Child of the root, contains |content_window_|.
262 aura::Window* content_window_container_; 263 aura::Window* content_window_container_;
263 264
264 // Child of |content_window_container_|. This is the return value from 265 // Child of |content_window_container_|. This is the return value from
265 // GetNativeView(). 266 // GetNativeView().
266 // WARNING: this may be NULL, in particular during shutdown it becomes NULL. 267 // WARNING: this may be NULL, in particular during shutdown it becomes NULL.
267 aura::Window* content_window_; 268 aura::Window* content_window_;
268 269
269 internal::NativeWidgetDelegate* native_widget_delegate_; 270 internal::NativeWidgetDelegate* native_widget_delegate_;
270 271
271 scoped_ptr<aura::client::FocusClient> focus_client_; 272 scoped_ptr<corewm::FocusController> focus_client_;
272 scoped_ptr<DesktopDispatcherClient> dispatcher_client_; 273 scoped_ptr<DesktopDispatcherClient> dispatcher_client_;
273 scoped_ptr<aura::client::ScreenPositionClient> position_client_; 274 scoped_ptr<aura::client::ScreenPositionClient> position_client_;
274 scoped_ptr<aura::client::DragDropClient> drag_drop_client_; 275 scoped_ptr<aura::client::DragDropClient> drag_drop_client_;
275 scoped_ptr<aura::client::WindowTreeClient> window_tree_client_; 276 scoped_ptr<aura::client::WindowTreeClient> window_tree_client_;
276 scoped_ptr<DesktopEventClient> event_client_; 277 scoped_ptr<DesktopEventClient> event_client_;
277 scoped_ptr<FocusManagerEventHandler> focus_manager_event_handler_; 278 scoped_ptr<FocusManagerEventHandler> focus_manager_event_handler_;
278 279
279 // Toplevel event filter which dispatches to other event filters. 280 // Toplevel event filter which dispatches to other event filters.
280 corewm::CompoundEventFilter* root_window_event_filter_; 281 corewm::CompoundEventFilter* root_window_event_filter_;
281 282
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 315
315 // See class documentation for Widget in widget.h for a note about type. 316 // See class documentation for Widget in widget.h for a note about type.
316 Widget::InitParams::Type widget_type_; 317 Widget::InitParams::Type widget_type_;
317 318
318 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); 319 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura);
319 }; 320 };
320 321
321 } // namespace views 322 } // namespace views
322 323
323 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ 324 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_
OLDNEW
« no previous file with comments | « no previous file | ui/views/widget/desktop_aura/desktop_native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698