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

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

Issue 2485693003: Drag-and-drop: DragEnter, DragOver, DragLeave, DragDrop (Closed)
Patch Set: No longer using GetSiteInstance() in RenderWidgetHostImpl. 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_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 529
530 void OnShowContextMenu(ui::MenuSourceType source_type, 530 void OnShowContextMenu(ui::MenuSourceType source_type,
531 const gfx::Point& location); 531 const gfx::Point& location);
532 void OnDeterminePageLanguage(); 532 void OnDeterminePageLanguage();
533 void OnDisableScrollbarsForSmallWindows( 533 void OnDisableScrollbarsForSmallWindows(
534 const gfx::Size& disable_scrollbars_size_limit); 534 const gfx::Size& disable_scrollbars_size_limit);
535 void OnDragSourceEnded(const gfx::Point& client_point, 535 void OnDragSourceEnded(const gfx::Point& client_point,
536 const gfx::Point& screen_point, 536 const gfx::Point& screen_point,
537 blink::WebDragOperation drag_operation); 537 blink::WebDragOperation drag_operation);
538 void OnDragSourceSystemDragEnded(); 538 void OnDragSourceSystemDragEnded();
539 void OnDragTargetDrop(const DropData& drop_data,
540 const gfx::Point& client_pt,
541 const gfx::Point& screen_pt,
542 int key_modifiers);
543 // Real data that is dragged is not included at DragEnter time.
544 void OnDragTargetDragEnter(
545 const std::vector<DropData::Metadata>& drop_meta_data,
546 const gfx::Point& client_pt,
547 const gfx::Point& screen_pt,
548 blink::WebDragOperationsMask operations_allowed,
549 int key_modifiers);
550 void OnDragTargetDragLeave();
551 void OnDragTargetDragOver(const gfx::Point& client_pt,
552 const gfx::Point& screen_pt,
553 blink::WebDragOperationsMask operations_allowed,
554 int key_modifiers);
555 void OnEnablePreferredSizeChangedMode(); 539 void OnEnablePreferredSizeChangedMode();
556 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size); 540 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size);
557 void OnDisableAutoResize(const gfx::Size& new_size); 541 void OnDisableAutoResize(const gfx::Size& new_size);
558 void OnEnumerateDirectoryResponse(int id, 542 void OnEnumerateDirectoryResponse(int id,
559 const std::vector<base::FilePath>& paths); 543 const std::vector<base::FilePath>& paths);
560 void OnMediaPlayerActionAt(const gfx::Point& location, 544 void OnMediaPlayerActionAt(const gfx::Point& location,
561 const blink::WebMediaPlayerAction& action); 545 const blink::WebMediaPlayerAction& action);
562 void OnPluginActionAt(const gfx::Point& location, 546 void OnPluginActionAt(const gfx::Point& location,
563 const blink::WebPluginAction& action); 547 const blink::WebPluginAction& action);
564 void OnMoveOrResizeStarted(); 548 void OnMoveOrResizeStarted();
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
861 // use the Observer interface to filter IPC messages and receive frame change 845 // use the Observer interface to filter IPC messages and receive frame change
862 // notifications. 846 // notifications.
863 // --------------------------------------------------------------------------- 847 // ---------------------------------------------------------------------------
864 848
865 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 849 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
866 }; 850 };
867 851
868 } // namespace content 852 } // namespace content
869 853
870 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 854 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698