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

Side by Side Diff: chrome/browser/ui/views/tabs/tab_drag_controller.cc

Issue 174803002: Move root_window.* to window_event_dispatcher.* (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
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 "chrome/browser/ui/views/tabs/tab_drag_controller.h" 5 #include "chrome/browser/ui/views/tabs/tab_drag_controller.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 #include <set> 8 #include <set>
9 9
10 #include "base/auto_reset.h" 10 #include "base/auto_reset.h"
(...skipping 30 matching lines...) Expand all
41 #include "ui/gfx/screen.h" 41 #include "ui/gfx/screen.h"
42 #include "ui/views/focus/view_storage.h" 42 #include "ui/views/focus/view_storage.h"
43 #include "ui/views/widget/root_view.h" 43 #include "ui/views/widget/root_view.h"
44 #include "ui/views/widget/widget.h" 44 #include "ui/views/widget/widget.h"
45 45
46 #if defined(USE_ASH) 46 #if defined(USE_ASH)
47 #include "ash/accelerators/accelerator_commands.h" 47 #include "ash/accelerators/accelerator_commands.h"
48 #include "ash/wm/coordinate_conversion.h" 48 #include "ash/wm/coordinate_conversion.h"
49 #include "ash/wm/window_state.h" 49 #include "ash/wm/window_state.h"
50 #include "ui/aura/env.h" 50 #include "ui/aura/env.h"
51 #include "ui/aura/root_window.h"
52 #include "ui/aura/window.h" 51 #include "ui/aura/window.h"
52 #include "ui/aura/window_event_dispatcher.h"
53 #include "ui/events/gestures/gesture_recognizer.h" 53 #include "ui/events/gestures/gesture_recognizer.h"
54 #endif 54 #endif
55 55
56 #if defined(OS_WIN) 56 #if defined(OS_WIN)
57 #include "ui/aura/window.h" 57 #include "ui/aura/window.h"
58 #include "ui/events/gestures/gesture_recognizer.h" 58 #include "ui/events/gestures/gesture_recognizer.h"
59 #endif 59 #endif
60 60
61 using base::UserMetricsAction; 61 using base::UserMetricsAction;
62 using content::OpenURLParams; 62 using content::OpenURLParams;
(...skipping 1836 matching lines...) Expand 10 before | Expand all | Expand 10 after
1899 aura::Window* dragged_window = 1899 aura::Window* dragged_window =
1900 attached_tabstrip_->GetWidget()->GetNativeView(); 1900 attached_tabstrip_->GetWidget()->GetNativeView();
1901 if (dragged_window) 1901 if (dragged_window)
1902 exclude.insert(dragged_window); 1902 exclude.insert(dragged_window);
1903 } 1903 }
1904 return GetLocalProcessWindowAtPoint(host_desktop_type_, 1904 return GetLocalProcessWindowAtPoint(host_desktop_type_,
1905 screen_point, 1905 screen_point,
1906 exclude); 1906 exclude);
1907 1907
1908 } 1908 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698