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

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 void DragTargetDragEnterWithMetaData( 184 void DragTargetDragEnterWithMetaData(
185 const std::vector<DropData::Metadata>& metadata, 185 const std::vector<DropData::Metadata>& metadata,
186 const gfx::Point& client_pt, 186 const gfx::Point& client_pt,
187 const gfx::Point& screen_pt, 187 const gfx::Point& screen_pt,
188 blink::WebDragOperationsMask operations_allowed, 188 blink::WebDragOperationsMask operations_allowed,
189 int key_modifiers) override; 189 int key_modifiers) override;
190 void DragTargetDragOver(const gfx::Point& client_pt, 190 void DragTargetDragOver(const gfx::Point& client_pt,
191 const gfx::Point& screen_pt, 191 const gfx::Point& screen_pt,
192 blink::WebDragOperationsMask operations_allowed, 192 blink::WebDragOperationsMask operations_allowed,
193 int key_modifiers) override; 193 int key_modifiers) override;
194 void DragTargetDragLeave() override; 194 void DragTargetDragLeave(const gfx::Point& client_point,
195 const gfx::Point& screen_point) override;
195 // |drop_data| must have been filtered. The embedder should call 196 // |drop_data| must have been filtered. The embedder should call
196 // FilterDropData before passing the drop data to RWHI. 197 // FilterDropData before passing the drop data to RWHI.
197 void DragTargetDrop(const DropData& drop_data, 198 void DragTargetDrop(const DropData& drop_data,
198 const gfx::Point& client_pt, 199 const gfx::Point& client_pt,
199 const gfx::Point& screen_pt, 200 const gfx::Point& screen_pt,
200 int key_modifiers) override; 201 int key_modifiers) override;
201 void DragSourceEndedAt(const gfx::Point& client_pt, 202 void DragSourceEndedAt(const gfx::Point& client_pt,
202 const gfx::Point& screen_pt, 203 const gfx::Point& screen_pt,
203 blink::WebDragOperation operation) override; 204 blink::WebDragOperation operation) override;
204 void DragSourceSystemDragEnded() override; 205 void DragSourceSystemDragEnded() override;
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after
907 #endif 908 #endif
908 909
909 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 910 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
910 911
911 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 912 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
912 }; 913 };
913 914
914 } // namespace content 915 } // namespace content
915 916
916 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 917 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698