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

Side by Side Diff: content/browser/web_contents/web_contents_view_aura.cc

Issue 196383014: Remove window/host accessors from WED; IWYU for WTH (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 9 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 "content/browser/web_contents/web_contents_view_aura.h" 5 #include "content/browser/web_contents/web_contents_view_aura.h"
6 6
7 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #include "content/public/common/content_switches.h" 42 #include "content/public/common/content_switches.h"
43 #include "content/public/common/drop_data.h" 43 #include "content/public/common/drop_data.h"
44 #include "net/base/net_util.h" 44 #include "net/base/net_util.h"
45 #include "third_party/WebKit/public/web/WebInputEvent.h" 45 #include "third_party/WebKit/public/web/WebInputEvent.h"
46 #include "ui/aura/client/aura_constants.h" 46 #include "ui/aura/client/aura_constants.h"
47 #include "ui/aura/client/drag_drop_client.h" 47 #include "ui/aura/client/drag_drop_client.h"
48 #include "ui/aura/client/drag_drop_delegate.h" 48 #include "ui/aura/client/drag_drop_delegate.h"
49 #include "ui/aura/client/window_tree_client.h" 49 #include "ui/aura/client/window_tree_client.h"
50 #include "ui/aura/env.h" 50 #include "ui/aura/env.h"
51 #include "ui/aura/window.h" 51 #include "ui/aura/window.h"
52 #include "ui/aura/window_event_dispatcher.h"
53 #include "ui/aura/window_observer.h" 52 #include "ui/aura/window_observer.h"
53 #include "ui/aura/window_tree_host.h"
54 #include "ui/aura/window_tree_host_observer.h" 54 #include "ui/aura/window_tree_host_observer.h"
55 #include "ui/base/clipboard/clipboard.h" 55 #include "ui/base/clipboard/clipboard.h"
56 #include "ui/base/clipboard/custom_data_helper.h" 56 #include "ui/base/clipboard/custom_data_helper.h"
57 #include "ui/base/dragdrop/drag_drop_types.h" 57 #include "ui/base/dragdrop/drag_drop_types.h"
58 #include "ui/base/dragdrop/drag_utils.h" 58 #include "ui/base/dragdrop/drag_utils.h"
59 #include "ui/base/dragdrop/drop_target_event.h" 59 #include "ui/base/dragdrop/drop_target_event.h"
60 #include "ui/base/dragdrop/os_exchange_data.h" 60 #include "ui/base/dragdrop/os_exchange_data.h"
61 #include "ui/base/hit_test.h" 61 #include "ui/base/hit_test.h"
62 #include "ui/compositor/layer.h" 62 #include "ui/compositor/layer.h"
63 #include "ui/compositor/scoped_layer_animation_settings.h" 63 #include "ui/compositor/scoped_layer_animation_settings.h"
(...skipping 1471 matching lines...) Expand 10 before | Expand all | Expand 10 after
1535 event.location(), 1535 event.location(),
1536 gfx::Screen::GetScreenFor(GetNativeView())->GetCursorScreenPoint(), 1536 gfx::Screen::GetScreenFor(GetNativeView())->GetCursorScreenPoint(),
1537 ConvertAuraEventFlagsToWebInputEventModifiers(event.flags())); 1537 ConvertAuraEventFlagsToWebInputEventModifiers(event.flags()));
1538 if (drag_dest_delegate_) 1538 if (drag_dest_delegate_)
1539 drag_dest_delegate_->OnDrop(); 1539 drag_dest_delegate_->OnDrop();
1540 current_drop_data_.reset(); 1540 current_drop_data_.reset();
1541 return ConvertFromWeb(current_drag_op_); 1541 return ConvertFromWeb(current_drag_op_);
1542 } 1542 }
1543 1543
1544 } // namespace content 1544 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698