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

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: 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
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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 virtual void DragSourceEndedAt( 162 virtual void DragSourceEndedAt(
163 int client_x, int client_y, int screen_x, int screen_y, 163 int client_x, int client_y, int screen_x, int screen_y,
164 WebKit::WebDragOperation operation) OVERRIDE; 164 WebKit::WebDragOperation operation) OVERRIDE;
165 virtual void DragSourceMovedTo( 165 virtual void DragSourceMovedTo(
166 int client_x, int client_y, int screen_x, int screen_y) OVERRIDE; 166 int client_x, int client_y, int screen_x, int screen_y) OVERRIDE;
167 virtual void DragSourceSystemDragEnded() OVERRIDE; 167 virtual void DragSourceSystemDragEnded() OVERRIDE;
168 virtual void DragTargetDragEnter( 168 virtual void DragTargetDragEnter(
169 const WebDropData& drop_data, 169 const WebDropData& drop_data,
170 const gfx::Point& client_pt, 170 const gfx::Point& client_pt,
171 const gfx::Point& screen_pt, 171 const gfx::Point& screen_pt,
172 WebKit::WebDragOperationsMask operations_allowed) OVERRIDE; 172 WebKit::WebDragOperationsMask operations_allowed,
173 int key_modifiers) OVERRIDE;
173 virtual void DragTargetDragOver( 174 virtual void DragTargetDragOver(
174 const gfx::Point& client_pt, 175 const gfx::Point& client_pt,
175 const gfx::Point& screen_pt, 176 const gfx::Point& screen_pt,
176 WebKit::WebDragOperationsMask operations_allowed) OVERRIDE; 177 WebKit::WebDragOperationsMask operations_allowed,
178 int key_modifiers) OVERRIDE;
177 virtual void DragTargetDragLeave() OVERRIDE; 179 virtual void DragTargetDragLeave() OVERRIDE;
178 virtual void DragTargetDrop(const gfx::Point& client_pt, 180 virtual void DragTargetDrop(const gfx::Point& client_pt,
179 const gfx::Point& screen_pt) OVERRIDE; 181 const gfx::Point& screen_pt,
182 int key_modifiers) OVERRIDE;
180 virtual void EnableAutoResize(const gfx::Size& min_size, 183 virtual void EnableAutoResize(const gfx::Size& min_size,
181 const gfx::Size& max_size) OVERRIDE; 184 const gfx::Size& max_size) OVERRIDE;
182 virtual void DisableAutoResize(const gfx::Size& new_size) OVERRIDE; 185 virtual void DisableAutoResize(const gfx::Size& new_size) OVERRIDE;
183 virtual void EnablePreferredSizeMode() OVERRIDE; 186 virtual void EnablePreferredSizeMode() OVERRIDE;
184 virtual void ExecuteCustomContextMenuCommand( 187 virtual void ExecuteCustomContextMenuCommand(
185 int action, const CustomContextMenuContext& context) OVERRIDE; 188 int action, const CustomContextMenuContext& context) OVERRIDE;
186 virtual void ExecuteMediaPlayerActionAtLocation( 189 virtual void ExecuteMediaPlayerActionAtLocation(
187 const gfx::Point& location, 190 const gfx::Point& location,
188 const WebKit::WebMediaPlayerAction& action) OVERRIDE; 191 const WebKit::WebMediaPlayerAction& action) OVERRIDE;
189 virtual void ExecuteJavascriptInWebFrame(const string16& frame_xpath, 192 virtual void ExecuteJavascriptInWebFrame(const string16& frame_xpath,
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 651 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
649 }; 652 };
650 653
651 #if defined(COMPILER_MSVC) 654 #if defined(COMPILER_MSVC)
652 #pragma warning(pop) 655 #pragma warning(pop)
653 #endif 656 #endif
654 657
655 } // namespace content 658 } // namespace content
656 659
657 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 660 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/automation/testing_automation_provider.cc ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698