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

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

Issue 10377119: Plumb event flags (shift/alt/ctrl modifiers) for drag/drop events to WebKit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 | Annotate | Revision Log
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 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 void OnDeterminePageLanguage(); 831 void OnDeterminePageLanguage();
832 void OnDisableScrollbarsForSmallWindows( 832 void OnDisableScrollbarsForSmallWindows(
833 const gfx::Size& disable_scrollbars_size_limit); 833 const gfx::Size& disable_scrollbars_size_limit);
834 void OnDisassociateFromPopupCount(); 834 void OnDisassociateFromPopupCount();
835 void OnDragSourceEndedOrMoved(const gfx::Point& client_point, 835 void OnDragSourceEndedOrMoved(const gfx::Point& client_point,
836 const gfx::Point& screen_point, 836 const gfx::Point& screen_point,
837 bool ended, 837 bool ended,
838 WebKit::WebDragOperation drag_operation); 838 WebKit::WebDragOperation drag_operation);
839 void OnDragSourceSystemDragEnded(); 839 void OnDragSourceSystemDragEnded();
840 void OnDragTargetDrop(const gfx::Point& client_pt, 840 void OnDragTargetDrop(const gfx::Point& client_pt,
841 const gfx::Point& screen_pt); 841 const gfx::Point& screen_pt,
842 int key_modifiers);
842 void OnDragTargetDragEnter(const WebDropData& drop_data, 843 void OnDragTargetDragEnter(const WebDropData& drop_data,
843 const gfx::Point& client_pt, 844 const gfx::Point& client_pt,
844 const gfx::Point& screen_pt, 845 const gfx::Point& screen_pt,
845 WebKit::WebDragOperationsMask operations_allowed); 846 WebKit::WebDragOperationsMask operations_allowed,
847 int key_modifiers);
846 void OnDragTargetDragLeave(); 848 void OnDragTargetDragLeave();
847 void OnDragTargetDragOver(const gfx::Point& client_pt, 849 void OnDragTargetDragOver(const gfx::Point& client_pt,
848 const gfx::Point& screen_pt, 850 const gfx::Point& screen_pt,
849 WebKit::WebDragOperationsMask operations_allowed); 851 WebKit::WebDragOperationsMask operations_allowed,
852 int key_modifiers);
850 void OnEnablePreferredSizeChangedMode(); 853 void OnEnablePreferredSizeChangedMode();
851 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size); 854 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size);
852 void OnDisableAutoResize(const gfx::Size& new_size); 855 void OnDisableAutoResize(const gfx::Size& new_size);
853 void OnEnumerateDirectoryResponse(int id, const std::vector<FilePath>& paths); 856 void OnEnumerateDirectoryResponse(int id, const std::vector<FilePath>& paths);
854 void OnExecuteEditCommand(const std::string& name, const std::string& value); 857 void OnExecuteEditCommand(const std::string& name, const std::string& value);
855 void OnFileChooserResponse( 858 void OnFileChooserResponse(
856 const std::vector<content::SelectedFileInfo>& files); 859 const std::vector<content::SelectedFileInfo>& files);
857 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&); 860 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&);
858 void OnFindReplyAck(); 861 void OnFindReplyAck();
859 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url); 862 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url);
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
1343 // bunch of stuff, you should probably create a helper class and put your 1346 // bunch of stuff, you should probably create a helper class and put your
1344 // data and methods on that to avoid bloating RenderView more. You can 1347 // data and methods on that to avoid bloating RenderView more. You can
1345 // use the Observer interface to filter IPC messages and receive frame change 1348 // use the Observer interface to filter IPC messages and receive frame change
1346 // notifications. 1349 // notifications.
1347 // --------------------------------------------------------------------------- 1350 // ---------------------------------------------------------------------------
1348 1351
1349 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1352 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1350 }; 1353 };
1351 1354
1352 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1355 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698