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

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

Issue 23477022: Two changes to desktop aura for tooltips: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 2013 Created 7 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
« no previous file with comments | « ui/views/views.gyp ('k') | 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 11 matching lines...) Expand all
22 } 22 }
23 } 23 }
24 24
25 namespace views { 25 namespace views {
26 26
27 namespace corewm { 27 namespace corewm {
28 class CompoundEventFilter; 28 class CompoundEventFilter;
29 class InputMethodEventFilter; 29 class InputMethodEventFilter;
30 class ScopedCaptureClient; 30 class ScopedCaptureClient;
31 class ShadowController; 31 class ShadowController;
32 class TooltipController;
33 class VisibilityController; 32 class VisibilityController;
34 class WindowModalityController; 33 class WindowModalityController;
35 } 34 }
36 35
37 class DesktopRootWindowHost; 36 class DesktopRootWindowHost;
38 class DropHelper; 37 class DropHelper;
39 class NativeWidgetAuraWindowObserver; 38 class NativeWidgetAuraWindowObserver;
39 class ScopedTooltipClient;
40 class TooltipManagerAura; 40 class TooltipManagerAura;
41 class WindowReorderer; 41 class WindowReorderer;
42 42
43 class VIEWS_EXPORT DesktopNativeWidgetAura 43 class VIEWS_EXPORT DesktopNativeWidgetAura
44 : public internal::NativeWidgetPrivate, 44 : public internal::NativeWidgetPrivate,
45 public aura::WindowDelegate, 45 public aura::WindowDelegate,
46 public aura::client::ActivationDelegate, 46 public aura::client::ActivationDelegate,
47 public aura::client::ActivationChangeObserver, 47 public aura::client::ActivationChangeObserver,
48 public aura::client::FocusChangeObserver, 48 public aura::client::FocusChangeObserver,
49 public views::internal::InputMethodDelegate, 49 public views::internal::InputMethodDelegate,
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 scoped_ptr<aura::client::StackingClient> stacking_client_; 240 scoped_ptr<aura::client::StackingClient> stacking_client_;
241 241
242 // Toplevel event filter which dispatches to other event filters. 242 // Toplevel event filter which dispatches to other event filters.
243 corewm::CompoundEventFilter* root_window_event_filter_; 243 corewm::CompoundEventFilter* root_window_event_filter_;
244 244
245 scoped_ptr<corewm::InputMethodEventFilter> input_method_event_filter_; 245 scoped_ptr<corewm::InputMethodEventFilter> input_method_event_filter_;
246 246
247 scoped_ptr<DropHelper> drop_helper_; 247 scoped_ptr<DropHelper> drop_helper_;
248 int last_drop_operation_; 248 int last_drop_operation_;
249 249
250 scoped_ptr<corewm::TooltipController> tooltip_controller_; 250 scoped_ptr<ScopedTooltipClient> scoped_tooltip_client_;
251 scoped_ptr<TooltipManagerAura> tooltip_manager_; 251 scoped_ptr<TooltipManagerAura> tooltip_manager_;
252 252
253 scoped_ptr<views::corewm::VisibilityController> visibility_controller_; 253 scoped_ptr<views::corewm::VisibilityController> visibility_controller_;
254 254
255 scoped_ptr<views::corewm::WindowModalityController> 255 scoped_ptr<views::corewm::WindowModalityController>
256 window_modality_controller_; 256 window_modality_controller_;
257 257
258 // See comments in OnLostActive(). 258 // See comments in OnLostActive().
259 bool restore_focus_on_activate_; 259 bool restore_focus_on_activate_;
260 260
261 gfx::NativeCursor cursor_; 261 gfx::NativeCursor cursor_;
262 262
263 scoped_ptr<corewm::ShadowController> shadow_controller_; 263 scoped_ptr<corewm::ShadowController> shadow_controller_;
264 264
265 // Reorders child windows of |window_| associated with a view based on the 265 // Reorders child windows of |window_| associated with a view based on the
266 // order of the associated views in the widget's view hierarchy. 266 // order of the associated views in the widget's view hierarchy.
267 scoped_ptr<WindowReorderer> window_reorderer_; 267 scoped_ptr<WindowReorderer> window_reorderer_;
268 268
269 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); 269 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura);
270 }; 270 };
271 271
272 } // namespace views 272 } // namespace views
273 273
274 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ 274 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_
OLDNEW
« no previous file with comments | « ui/views/views.gyp ('k') | 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