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

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

Issue 2461493002: Moves DragDropClient to aura/client (Closed)
Patch Set: Created 4 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
« no previous file with comments | « chrome/browser/download/drag_download_item_views.cc ('k') | ui/aura/BUILD.gn » ('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 #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 <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/auto_reset.h" 10 #include "base/auto_reset.h"
(...skipping 28 matching lines...) Expand all
39 #include "content/public/browser/web_contents_delegate.h" 39 #include "content/public/browser/web_contents_delegate.h"
40 #include "content/public/browser/web_contents_observer.h" 40 #include "content/public/browser/web_contents_observer.h"
41 #include "content/public/browser/web_contents_view_delegate.h" 41 #include "content/public/browser/web_contents_view_delegate.h"
42 #include "content/public/browser/web_drag_dest_delegate.h" 42 #include "content/public/browser/web_drag_dest_delegate.h"
43 #include "content/public/common/content_client.h" 43 #include "content/public/common/content_client.h"
44 #include "content/public/common/content_switches.h" 44 #include "content/public/common/content_switches.h"
45 #include "content/public/common/drop_data.h" 45 #include "content/public/common/drop_data.h"
46 #include "net/base/filename_util.h" 46 #include "net/base/filename_util.h"
47 #include "third_party/WebKit/public/web/WebInputEvent.h" 47 #include "third_party/WebKit/public/web/WebInputEvent.h"
48 #include "ui/aura/client/aura_constants.h" 48 #include "ui/aura/client/aura_constants.h"
49 #include "ui/aura/client/drag_drop_client.h"
49 #include "ui/aura/client/screen_position_client.h" 50 #include "ui/aura/client/screen_position_client.h"
50 #include "ui/aura/client/window_parenting_client.h" 51 #include "ui/aura/client/window_parenting_client.h"
51 #include "ui/aura/env.h" 52 #include "ui/aura/env.h"
52 #include "ui/aura/window.h" 53 #include "ui/aura/window.h"
53 #include "ui/aura/window_observer.h" 54 #include "ui/aura/window_observer.h"
54 #include "ui/aura/window_tree_host.h" 55 #include "ui/aura/window_tree_host.h"
55 #include "ui/aura/window_tree_host_observer.h" 56 #include "ui/aura/window_tree_host_observer.h"
56 #include "ui/base/clipboard/clipboard.h" 57 #include "ui/base/clipboard/clipboard.h"
57 #include "ui/base/clipboard/custom_data_helper.h" 58 #include "ui/base/clipboard/custom_data_helper.h"
58 #include "ui/base/dragdrop/drag_drop_types.h" 59 #include "ui/base/dragdrop/drag_drop_types.h"
59 #include "ui/base/dragdrop/drag_utils.h" 60 #include "ui/base/dragdrop/drag_utils.h"
60 #include "ui/base/dragdrop/drop_target_event.h" 61 #include "ui/base/dragdrop/drop_target_event.h"
61 #include "ui/base/dragdrop/os_exchange_data.h" 62 #include "ui/base/dragdrop/os_exchange_data.h"
62 #include "ui/base/dragdrop/os_exchange_data_provider_factory.h" 63 #include "ui/base/dragdrop/os_exchange_data_provider_factory.h"
63 #include "ui/base/hit_test.h" 64 #include "ui/base/hit_test.h"
64 #include "ui/compositor/layer.h" 65 #include "ui/compositor/layer.h"
65 #include "ui/display/screen.h" 66 #include "ui/display/screen.h"
66 #include "ui/events/blink/web_input_event.h" 67 #include "ui/events/blink/web_input_event.h"
67 #include "ui/events/event.h" 68 #include "ui/events/event.h"
68 #include "ui/events/event_utils.h" 69 #include "ui/events/event_utils.h"
69 #include "ui/gfx/canvas.h" 70 #include "ui/gfx/canvas.h"
70 #include "ui/gfx/image/image.h" 71 #include "ui/gfx/image/image.h"
71 #include "ui/gfx/image/image_png_rep.h" 72 #include "ui/gfx/image/image_png_rep.h"
72 #include "ui/gfx/image/image_skia.h" 73 #include "ui/gfx/image/image_skia.h"
73 #include "ui/touch_selection/touch_selection_controller.h" 74 #include "ui/touch_selection/touch_selection_controller.h"
74 #include "ui/wm/public/drag_drop_client.h"
75 #include "ui/wm/public/drag_drop_delegate.h" 75 #include "ui/wm/public/drag_drop_delegate.h"
76 76
77 namespace content { 77 namespace content {
78 WebContentsView* CreateWebContentsView( 78 WebContentsView* CreateWebContentsView(
79 WebContentsImpl* web_contents, 79 WebContentsImpl* web_contents,
80 WebContentsViewDelegate* delegate, 80 WebContentsViewDelegate* delegate,
81 RenderViewHostDelegateView** render_view_host_delegate_view) { 81 RenderViewHostDelegateView** render_view_host_delegate_view) {
82 WebContentsViewAura* rv = new WebContentsViewAura(web_contents, delegate); 82 WebContentsViewAura* rv = new WebContentsViewAura(web_contents, delegate);
83 *render_view_host_delegate_view = rv; 83 *render_view_host_delegate_view = rv;
84 return rv; 84 return rv;
(...skipping 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after
1213 bool allow_multiple_selection) { 1213 bool allow_multiple_selection) {
1214 NOTIMPLEMENTED() << " show " << items.size() << " menu items"; 1214 NOTIMPLEMENTED() << " show " << items.size() << " menu items";
1215 } 1215 }
1216 1216
1217 void WebContentsViewAura::HidePopupMenu() { 1217 void WebContentsViewAura::HidePopupMenu() {
1218 NOTIMPLEMENTED(); 1218 NOTIMPLEMENTED();
1219 } 1219 }
1220 #endif 1220 #endif
1221 1221
1222 } // namespace content 1222 } // namespace content
OLDNEW
« no previous file with comments | « chrome/browser/download/drag_download_item_views.cc ('k') | ui/aura/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698