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

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 2503563002: Drag-and-drop: updateDragCursor (Closed)
Patch Set: Created 4 years, 1 month 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 619 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 void OnSelectionBoundsChanged( 630 void OnSelectionBoundsChanged(
631 const ViewHostMsg_SelectionBounds_Params& params); 631 const ViewHostMsg_SelectionBounds_Params& params);
632 void OnForwardCompositorProto(const std::vector<uint8_t>& proto); 632 void OnForwardCompositorProto(const std::vector<uint8_t>& proto);
633 void OnSetNeedsBeginFrames(bool needs_begin_frames); 633 void OnSetNeedsBeginFrames(bool needs_begin_frames);
634 void OnHittestData(const FrameHostMsg_HittestData_Params& params); 634 void OnHittestData(const FrameHostMsg_HittestData_Params& params);
635 void OnStartDragging(const DropData& drop_data, 635 void OnStartDragging(const DropData& drop_data,
636 blink::WebDragOperationsMask operations_allowed, 636 blink::WebDragOperationsMask operations_allowed,
637 const SkBitmap& bitmap, 637 const SkBitmap& bitmap,
638 const gfx::Vector2d& bitmap_offset_in_dip, 638 const gfx::Vector2d& bitmap_offset_in_dip,
639 const DragEventSourceInfo& event_info); 639 const DragEventSourceInfo& event_info);
640 void OnUpdateDragCursor(blink::WebDragOperation drag_operation);
640 641
641 // Called (either immediately or asynchronously) after we're done with our 642 // Called (either immediately or asynchronously) after we're done with our
642 // BackingStore and can send an ACK to the renderer so it can paint onto it 643 // BackingStore and can send an ACK to the renderer so it can paint onto it
643 // again. 644 // again.
644 void DidUpdateBackingStore(const ViewHostMsg_UpdateRect_Params& params, 645 void DidUpdateBackingStore(const ViewHostMsg_UpdateRect_Params& params,
645 const base::TimeTicks& paint_start); 646 const base::TimeTicks& paint_start);
646 647
647 // Give key press listeners a chance to handle this key press. This allow 648 // Give key press listeners a chance to handle this key press. This allow
648 // widgets that don't have focus to still handle key presses. 649 // widgets that don't have focus to still handle key presses.
649 bool KeyPressListenersHandleEvent(const NativeWebKeyboardEvent& event); 650 bool KeyPressListenersHandleEvent(const NativeWebKeyboardEvent& event);
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
892 #endif 893 #endif
893 894
894 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 895 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
895 896
896 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 897 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
897 }; 898 };
898 899
899 } // namespace content 900 } // namespace content
900 901
901 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 902 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698