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

Side by Side Diff: webkit/glue/dragclient_impl.h

Issue 338041: Move a bunch of files into webkit/api/src... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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
(Empty)
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WEBKIT_GLUE_DRAGCLIENT_IMPL_H__
6 #define WEBKIT_GLUE_DRAGCLIENT_IMPL_H__
7
8 #include "DragClient.h"
9 #include "DragActions.h"
10
11 namespace WebCore {
12 class ClipBoard;
13 class DragData;
14 class IntPoint;
15 class KURL;
16 }
17
18 class WebViewImpl;
19
20 class DragClientImpl : public WebCore::DragClient {
21 public:
22 DragClientImpl(WebViewImpl* webview) : webview_(webview) {}
23 virtual ~DragClientImpl() {}
24
25 virtual void willPerformDragDestinationAction(WebCore::DragDestinationAction,
26 WebCore::DragData*);
27 virtual void willPerformDragSourceAction(WebCore::DragSourceAction,
28 const WebCore::IntPoint&,
29 WebCore::Clipboard*);
30 virtual WebCore::DragDestinationAction actionMaskForDrag(WebCore::DragData*);
31 virtual WebCore::DragSourceAction dragSourceActionMaskForPoint(
32 const WebCore::IntPoint& window_point);
33
34 virtual void startDrag(WebCore::DragImageRef drag_image,
35 const WebCore::IntPoint& drag_image_origin,
36 const WebCore::IntPoint& event_pos,
37 WebCore::Clipboard* clipboard,
38 WebCore::Frame* frame,
39 bool is_link_drag = false);
40 virtual WebCore::DragImageRef createDragImageForLink(
41 WebCore::KURL&, const WebCore::String& label, WebCore::Frame*);
42
43 virtual void dragControllerDestroyed();
44
45 private:
46 WebViewImpl* webview_;
47 };
48
49 #endif // #ifndef WEBKIT_GLUE_DRAGCLIENT_IMPL_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698