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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 1723763002: Add WebDragData to blink::WebView::dragtargetDrop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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
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 CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after
624 const gfx::Point& location); 624 const gfx::Point& location);
625 void OnCopyImageAt(int x, int y); 625 void OnCopyImageAt(int x, int y);
626 void OnSaveImageAt(int x, int y); 626 void OnSaveImageAt(int x, int y);
627 void OnDeterminePageLanguage(); 627 void OnDeterminePageLanguage();
628 void OnDisableScrollbarsForSmallWindows( 628 void OnDisableScrollbarsForSmallWindows(
629 const gfx::Size& disable_scrollbars_size_limit); 629 const gfx::Size& disable_scrollbars_size_limit);
630 void OnDragSourceEnded(const gfx::Point& client_point, 630 void OnDragSourceEnded(const gfx::Point& client_point,
631 const gfx::Point& screen_point, 631 const gfx::Point& screen_point,
632 blink::WebDragOperation drag_operation); 632 blink::WebDragOperation drag_operation);
633 void OnDragSourceSystemDragEnded(); 633 void OnDragSourceSystemDragEnded();
634 void OnDragTargetDrop(const gfx::Point& client_pt, 634 // |drop_data| will only be used when drop data is valid. This is
635 // because on most platforms (Aura), the drop data is available when the drag
636 // starts and stays the same until it's dropped. On Android, the drop data is
637 // unavailable until DragTargetDrop. So on Android, |drop_data| will contain
638 // the real data.
639 void OnDragTargetDrop(const DropData& drop_data,
640 const gfx::Point& client_pt,
635 const gfx::Point& screen_pt, 641 const gfx::Point& screen_pt,
636 int key_modifiers); 642 int key_modifiers);
643 // On Android, |drop_data| will contain dummy data because drop data is
644 // unavailable until 'drop' action.
637 void OnDragTargetDragEnter(const DropData& drop_data, 645 void OnDragTargetDragEnter(const DropData& drop_data,
638 const gfx::Point& client_pt, 646 const gfx::Point& client_pt,
639 const gfx::Point& screen_pt, 647 const gfx::Point& screen_pt,
640 blink::WebDragOperationsMask operations_allowed, 648 blink::WebDragOperationsMask operations_allowed,
641 int key_modifiers); 649 int key_modifiers);
642 void OnDragTargetDragLeave(); 650 void OnDragTargetDragLeave();
643 void OnDragTargetDragOver(const gfx::Point& client_pt, 651 void OnDragTargetDragOver(const gfx::Point& client_pt,
644 const gfx::Point& screen_pt, 652 const gfx::Point& screen_pt,
645 blink::WebDragOperationsMask operations_allowed, 653 blink::WebDragOperationsMask operations_allowed,
646 int key_modifiers); 654 int key_modifiers);
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 // use the Observer interface to filter IPC messages and receive frame change 1015 // use the Observer interface to filter IPC messages and receive frame change
1008 // notifications. 1016 // notifications.
1009 // --------------------------------------------------------------------------- 1017 // ---------------------------------------------------------------------------
1010 1018
1011 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1019 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1012 }; 1020 };
1013 1021
1014 } // namespace content 1022 } // namespace content
1015 1023
1016 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1024 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698