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

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: Added checks for null RWH on drag end 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
« no previous file with comments | « content/public/browser/render_widget_host.h ('k') | content/renderer/render_widget.cc » ('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 #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 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 void OnDragTargetDragEnter( 520 void OnDragTargetDragEnter(
521 const std::vector<DropData::Metadata>& drop_meta_data, 521 const std::vector<DropData::Metadata>& drop_meta_data,
522 const gfx::Point& client_pt, 522 const gfx::Point& client_pt,
523 const gfx::Point& screen_pt, 523 const gfx::Point& screen_pt,
524 blink::WebDragOperationsMask operations_allowed, 524 blink::WebDragOperationsMask operations_allowed,
525 int key_modifiers); 525 int key_modifiers);
526 void OnDragTargetDragOver(const gfx::Point& client_pt, 526 void OnDragTargetDragOver(const gfx::Point& client_pt,
527 const gfx::Point& screen_pt, 527 const gfx::Point& screen_pt,
528 blink::WebDragOperationsMask operations_allowed, 528 blink::WebDragOperationsMask operations_allowed,
529 int key_modifiers); 529 int key_modifiers);
530 void OnDragTargetDragLeave(); 530 void OnDragTargetDragLeave(const gfx::Point& client_point,
531 const gfx::Point& screen_point);
531 void OnDragTargetDrop(const DropData& drop_data, 532 void OnDragTargetDrop(const DropData& drop_data,
532 const gfx::Point& client_pt, 533 const gfx::Point& client_pt,
533 const gfx::Point& screen_pt, 534 const gfx::Point& screen_pt,
534 int key_modifiers); 535 int key_modifiers);
535 void OnDragSourceEnded(const gfx::Point& client_point, 536 void OnDragSourceEnded(const gfx::Point& client_point,
536 const gfx::Point& screen_point, 537 const gfx::Point& screen_point,
537 blink::WebDragOperation drag_operation); 538 blink::WebDragOperation drag_operation);
538 void OnDragSourceSystemDragEnded(); 539 void OnDragSourceSystemDragEnded();
539 540
540 #if defined(OS_ANDROID) 541 #if defined(OS_ANDROID)
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
844 DragEventSourceInfo possible_drag_event_info_; 845 DragEventSourceInfo possible_drag_event_info_;
845 846
846 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; 847 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_;
847 848
848 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 849 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
849 }; 850 };
850 851
851 } // namespace content 852 } // namespace content
852 853
853 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 854 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/public/browser/render_widget_host.h ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698