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

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: 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
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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 void DragTargetDragEnterWithMetaData( 179 void DragTargetDragEnterWithMetaData(
180 const std::vector<DropData::Metadata>& metadata, 180 const std::vector<DropData::Metadata>& metadata,
181 const gfx::Point& client_pt, 181 const gfx::Point& client_pt,
182 const gfx::Point& screen_pt, 182 const gfx::Point& screen_pt,
183 blink::WebDragOperationsMask operations_allowed, 183 blink::WebDragOperationsMask operations_allowed,
184 int key_modifiers) override; 184 int key_modifiers) override;
185 void DragTargetDragOver(const gfx::Point& client_pt, 185 void DragTargetDragOver(const gfx::Point& client_pt,
186 const gfx::Point& screen_pt, 186 const gfx::Point& screen_pt,
187 blink::WebDragOperationsMask operations_allowed, 187 blink::WebDragOperationsMask operations_allowed,
188 int key_modifiers) override; 188 int key_modifiers) override;
189 void DragTargetDragLeave() override; 189 void DragTargetDragLeave(const gfx::Point& client_point,
190 const gfx::Point& screen_point) override;
190 // |drop_data| must have been filtered. The embedder should call 191 // |drop_data| must have been filtered. The embedder should call
191 // FilterDropData before passing the drop data to RWHI. 192 // FilterDropData before passing the drop data to RWHI.
192 void DragTargetDrop(const DropData& drop_data, 193 void DragTargetDrop(const DropData& drop_data,
193 const gfx::Point& client_pt, 194 const gfx::Point& client_pt,
194 const gfx::Point& screen_pt, 195 const gfx::Point& screen_pt,
195 int key_modifiers) override; 196 int key_modifiers) override;
196 void DragSourceEndedAt(const gfx::Point& client_pt, 197 void DragSourceEndedAt(const gfx::Point& client_pt,
197 const gfx::Point& screen_pt, 198 const gfx::Point& screen_pt,
198 blink::WebDragOperation operation) override; 199 blink::WebDragOperation operation) override;
199 void DragSourceSystemDragEnded() override; 200 void DragSourceSystemDragEnded() override;
(...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after
896 #endif 897 #endif
897 898
898 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 899 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
899 900
900 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 901 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
901 }; 902 };
902 903
903 } // namespace content 904 } // namespace content
904 905
905 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 906 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/browser_plugin/browser_plugin_guest.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698