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

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: 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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 virtual void DragSourceEndedAt( 159 virtual void DragSourceEndedAt(
160 int client_x, int client_y, int screen_x, int screen_y, 160 int client_x, int client_y, int screen_x, int screen_y,
161 WebKit::WebDragOperation operation) OVERRIDE; 161 WebKit::WebDragOperation operation) OVERRIDE;
162 virtual void DragSourceMovedTo( 162 virtual void DragSourceMovedTo(
163 int client_x, int client_y, int screen_x, int screen_y) OVERRIDE; 163 int client_x, int client_y, int screen_x, int screen_y) OVERRIDE;
164 virtual void DragSourceSystemDragEnded() OVERRIDE; 164 virtual void DragSourceSystemDragEnded() OVERRIDE;
165 virtual void DragTargetDragEnter( 165 virtual void DragTargetDragEnter(
166 const WebDropData& drop_data, 166 const WebDropData& drop_data,
167 const gfx::Point& client_pt, 167 const gfx::Point& client_pt,
168 const gfx::Point& screen_pt, 168 const gfx::Point& screen_pt,
169 WebKit::WebDragOperationsMask operations_allowed) OVERRIDE; 169 WebKit::WebDragOperationsMask operations_allowed,
170 int key_modifiers) OVERRIDE;
170 virtual void DragTargetDragOver( 171 virtual void DragTargetDragOver(
171 const gfx::Point& client_pt, 172 const gfx::Point& client_pt,
172 const gfx::Point& screen_pt, 173 const gfx::Point& screen_pt,
173 WebKit::WebDragOperationsMask operations_allowed) OVERRIDE; 174 WebKit::WebDragOperationsMask operations_allowed,
175 int key_modifiers) OVERRIDE;
174 virtual void DragTargetDragLeave() OVERRIDE; 176 virtual void DragTargetDragLeave() OVERRIDE;
175 virtual void DragTargetDrop(const gfx::Point& client_pt, 177 virtual void DragTargetDrop(const gfx::Point& client_pt,
176 const gfx::Point& screen_pt) OVERRIDE; 178 const gfx::Point& screen_pt,
179 int key_modifiers) OVERRIDE;
177 virtual void EnableAutoResize(const gfx::Size& min_size, 180 virtual void EnableAutoResize(const gfx::Size& min_size,
178 const gfx::Size& max_size) OVERRIDE; 181 const gfx::Size& max_size) OVERRIDE;
179 virtual void DisableAutoResize(const gfx::Size& new_size) OVERRIDE; 182 virtual void DisableAutoResize(const gfx::Size& new_size) OVERRIDE;
180 virtual void EnablePreferredSizeMode() OVERRIDE; 183 virtual void EnablePreferredSizeMode() OVERRIDE;
181 virtual void ExecuteCustomContextMenuCommand( 184 virtual void ExecuteCustomContextMenuCommand(
182 int action, const CustomContextMenuContext& context) OVERRIDE; 185 int action, const CustomContextMenuContext& context) OVERRIDE;
183 virtual void ExecuteMediaPlayerActionAtLocation( 186 virtual void ExecuteMediaPlayerActionAtLocation(
184 const gfx::Point& location, 187 const gfx::Point& location,
185 const WebKit::WebMediaPlayerAction& action) OVERRIDE; 188 const WebKit::WebMediaPlayerAction& action) OVERRIDE;
186 virtual void ExecuteJavascriptInWebFrame(const string16& frame_xpath, 189 virtual void ExecuteJavascriptInWebFrame(const string16& frame_xpath,
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
641 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 644 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
642 }; 645 };
643 646
644 #if defined(COMPILER_MSVC) 647 #if defined(COMPILER_MSVC)
645 #pragma warning(pop) 648 #pragma warning(pop)
646 #endif 649 #endif
647 650
648 } // namespace content 651 } // namespace content
649 652
650 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 653 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698