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

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

Issue 2655463015: Correctly set dragLeave and dragEnd coords for OOPIF drag and drop (Closed)
Patch Set: Cleanup Created 3 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
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_WIDGET_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 void OnDragTargetDragEnter( 521 void OnDragTargetDragEnter(
522 const std::vector<DropData::Metadata>& drop_meta_data, 522 const std::vector<DropData::Metadata>& drop_meta_data,
523 const gfx::Point& client_pt, 523 const gfx::Point& client_pt,
524 const gfx::Point& screen_pt, 524 const gfx::Point& screen_pt,
525 blink::WebDragOperationsMask operations_allowed, 525 blink::WebDragOperationsMask operations_allowed,
526 int key_modifiers); 526 int key_modifiers);
527 void OnDragTargetDragOver(const gfx::Point& client_pt, 527 void OnDragTargetDragOver(const gfx::Point& client_pt,
528 const gfx::Point& screen_pt, 528 const gfx::Point& screen_pt,
529 blink::WebDragOperationsMask operations_allowed, 529 blink::WebDragOperationsMask operations_allowed,
530 int key_modifiers); 530 int key_modifiers);
531 void OnDragTargetDragLeave(); 531 void OnDragTargetDragLeave(const gfx::Point& client_point,
532 const gfx::Point& screen_point);
532 void OnDragTargetDrop(const DropData& drop_data, 533 void OnDragTargetDrop(const DropData& drop_data,
533 const gfx::Point& client_pt, 534 const gfx::Point& client_pt,
534 const gfx::Point& screen_pt, 535 const gfx::Point& screen_pt,
535 int key_modifiers); 536 int key_modifiers);
536 void OnDragSourceEnded(const gfx::Point& client_point, 537 void OnDragSourceEnded(const gfx::Point& client_point,
537 const gfx::Point& screen_point, 538 const gfx::Point& screen_point,
538 blink::WebDragOperation drag_operation); 539 blink::WebDragOperation drag_operation);
539 void OnDragSourceSystemDragEnded(); 540 void OnDragSourceSystemDragEnded();
540 541
541 #if defined(OS_ANDROID) 542 #if defined(OS_ANDROID)
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
845 DragEventSourceInfo possible_drag_event_info_; 846 DragEventSourceInfo possible_drag_event_info_;
846 847
847 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; 848 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_;
848 849
849 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 850 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
850 }; 851 };
851 852
852 } // namespace content 853 } // namespace content
853 854
854 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 855 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698