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

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: fixed compile error 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
« no previous file with comments | « content/public/browser/render_view_host.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 824 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 void OnDeterminePageLanguage(); 835 void OnDeterminePageLanguage();
836 void OnDisableScrollbarsForSmallWindows( 836 void OnDisableScrollbarsForSmallWindows(
837 const gfx::Size& disable_scrollbars_size_limit); 837 const gfx::Size& disable_scrollbars_size_limit);
838 void OnDisassociateFromPopupCount(); 838 void OnDisassociateFromPopupCount();
839 void OnDragSourceEndedOrMoved(const gfx::Point& client_point, 839 void OnDragSourceEndedOrMoved(const gfx::Point& client_point,
840 const gfx::Point& screen_point, 840 const gfx::Point& screen_point,
841 bool ended, 841 bool ended,
842 WebKit::WebDragOperation drag_operation); 842 WebKit::WebDragOperation drag_operation);
843 void OnDragSourceSystemDragEnded(); 843 void OnDragSourceSystemDragEnded();
844 void OnDragTargetDrop(const gfx::Point& client_pt, 844 void OnDragTargetDrop(const gfx::Point& client_pt,
845 const gfx::Point& screen_pt); 845 const gfx::Point& screen_pt,
846 int key_modifiers);
846 void OnDragTargetDragEnter(const WebDropData& drop_data, 847 void OnDragTargetDragEnter(const WebDropData& drop_data,
847 const gfx::Point& client_pt, 848 const gfx::Point& client_pt,
848 const gfx::Point& screen_pt, 849 const gfx::Point& screen_pt,
849 WebKit::WebDragOperationsMask operations_allowed); 850 WebKit::WebDragOperationsMask operations_allowed,
851 int key_modifiers);
850 void OnDragTargetDragLeave(); 852 void OnDragTargetDragLeave();
851 void OnDragTargetDragOver(const gfx::Point& client_pt, 853 void OnDragTargetDragOver(const gfx::Point& client_pt,
852 const gfx::Point& screen_pt, 854 const gfx::Point& screen_pt,
853 WebKit::WebDragOperationsMask operations_allowed); 855 WebKit::WebDragOperationsMask operations_allowed,
856 int key_modifiers);
854 void OnEnablePreferredSizeChangedMode(); 857 void OnEnablePreferredSizeChangedMode();
855 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size); 858 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size);
856 void OnDisableAutoResize(const gfx::Size& new_size); 859 void OnDisableAutoResize(const gfx::Size& new_size);
857 void OnEnumerateDirectoryResponse(int id, const std::vector<FilePath>& paths); 860 void OnEnumerateDirectoryResponse(int id, const std::vector<FilePath>& paths);
858 void OnExecuteEditCommand(const std::string& name, const std::string& value); 861 void OnExecuteEditCommand(const std::string& name, const std::string& value);
859 void OnFileChooserResponse( 862 void OnFileChooserResponse(
860 const std::vector<content::SelectedFileInfo>& files); 863 const std::vector<content::SelectedFileInfo>& files);
861 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&); 864 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&);
862 void OnFindReplyAck(); 865 void OnFindReplyAck();
863 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url); 866 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url);
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
1353 // bunch of stuff, you should probably create a helper class and put your 1356 // bunch of stuff, you should probably create a helper class and put your
1354 // data and methods on that to avoid bloating RenderView more. You can 1357 // data and methods on that to avoid bloating RenderView more. You can
1355 // use the Observer interface to filter IPC messages and receive frame change 1358 // use the Observer interface to filter IPC messages and receive frame change
1356 // notifications. 1359 // notifications.
1357 // --------------------------------------------------------------------------- 1360 // ---------------------------------------------------------------------------
1358 1361
1359 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1362 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1360 }; 1363 };
1361 1364
1362 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1365 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/browser/render_view_host.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698