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

Side by Side Diff: content/browser/renderer_host/render_view_host_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: patch 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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 virtual void DragSourceEndedAt( 160 virtual void DragSourceEndedAt(
161 int client_x, int client_y, int screen_x, int screen_y, 161 int client_x, int client_y, int screen_x, int screen_y,
162 WebKit::WebDragOperation operation) OVERRIDE; 162 WebKit::WebDragOperation operation) OVERRIDE;
163 virtual void DragSourceMovedTo( 163 virtual void DragSourceMovedTo(
164 int client_x, int client_y, int screen_x, int screen_y) OVERRIDE; 164 int client_x, int client_y, int screen_x, int screen_y) OVERRIDE;
165 virtual void DragSourceSystemDragEnded() OVERRIDE; 165 virtual void DragSourceSystemDragEnded() OVERRIDE;
166 virtual void DragTargetDragEnter( 166 virtual void DragTargetDragEnter(
167 const WebDropData& drop_data, 167 const WebDropData& drop_data,
168 const gfx::Point& client_pt, 168 const gfx::Point& client_pt,
169 const gfx::Point& screen_pt, 169 const gfx::Point& screen_pt,
170 WebKit::WebDragOperationsMask operations_allowed) OVERRIDE; 170 WebKit::WebDragOperationsMask operations_allowed,
171 int key_modifiers) OVERRIDE;
171 virtual void DragTargetDragOver( 172 virtual void DragTargetDragOver(
172 const gfx::Point& client_pt, 173 const gfx::Point& client_pt,
173 const gfx::Point& screen_pt, 174 const gfx::Point& screen_pt,
174 WebKit::WebDragOperationsMask operations_allowed) OVERRIDE; 175 WebKit::WebDragOperationsMask operations_allowed,
176 int key_modifiers) OVERRIDE;
175 virtual void DragTargetDragLeave() OVERRIDE; 177 virtual void DragTargetDragLeave() OVERRIDE;
176 virtual void DragTargetDrop(const gfx::Point& client_pt, 178 virtual void DragTargetDrop(const gfx::Point& client_pt,
177 const gfx::Point& screen_pt) OVERRIDE; 179 const gfx::Point& screen_pt,
180 int key_modifiers) OVERRIDE;
178 virtual void EnableAutoResize(const gfx::Size& min_size, 181 virtual void EnableAutoResize(const gfx::Size& min_size,
179 const gfx::Size& max_size) OVERRIDE; 182 const gfx::Size& max_size) OVERRIDE;
180 virtual void DisableAutoResize(const gfx::Size& new_size) OVERRIDE; 183 virtual void DisableAutoResize(const gfx::Size& new_size) OVERRIDE;
181 virtual void EnablePreferredSizeMode() OVERRIDE; 184 virtual void EnablePreferredSizeMode() OVERRIDE;
182 virtual void ExecuteCustomContextMenuCommand( 185 virtual void ExecuteCustomContextMenuCommand(
183 int action, const CustomContextMenuContext& context) OVERRIDE; 186 int action, const CustomContextMenuContext& context) OVERRIDE;
184 virtual void ExecuteMediaPlayerActionAtLocation( 187 virtual void ExecuteMediaPlayerActionAtLocation(
185 const gfx::Point& location, 188 const gfx::Point& location,
186 const WebKit::WebMediaPlayerAction& action) OVERRIDE; 189 const WebKit::WebMediaPlayerAction& action) OVERRIDE;
187 virtual void ExecuteJavascriptInWebFrame(const string16& frame_xpath, 190 virtual void ExecuteJavascriptInWebFrame(const string16& frame_xpath,
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 654 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
652 }; 655 };
653 656
654 #if defined(COMPILER_MSVC) 657 #if defined(COMPILER_MSVC)
655 #pragma warning(pop) 658 #pragma warning(pop)
656 #endif 659 #endif
657 660
658 } // namespace content 661 } // namespace content
659 662
660 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 663 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698