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

Side by Side Diff: webkit/tools/test_shell/drop_delegate.h

Issue 293001: Delete glue/webview{_delegate}.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 | « webkit/tools/test_shell/drag_delegate.cc ('k') | webkit/tools/test_shell/drop_delegate.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) 2006-2008 The Chromium Authors. All rights reserved. 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 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 // A class that implements BaseDropTarget for the test shell webview delegate. 5 // A class that implements BaseDropTarget for the test shell webview delegate.
6 6
7 #ifndef WEBKIT_TOOLS_TEST_SHELL_DROP_DELEGATE_H__ 7 #ifndef WEBKIT_TOOLS_TEST_SHELL_DROP_DELEGATE_H__
8 #define WEBKIT_TOOLS_TEST_SHELL_DROP_DELEGATE_H__ 8 #define WEBKIT_TOOLS_TEST_SHELL_DROP_DELEGATE_H__
9 9
10 #include "base/base_drop_target.h" 10 #include "base/base_drop_target.h"
11 11
12 namespace WebKit {
12 class WebView; 13 class WebView;
14 }
13 15
14 class TestDropDelegate : public BaseDropTarget { 16 class TestDropDelegate : public BaseDropTarget {
15 public: 17 public:
16 TestDropDelegate(HWND source_hwnd, WebView* webview) 18 TestDropDelegate(HWND source_hwnd, WebKit::WebView* webview)
17 : BaseDropTarget(source_hwnd), 19 : BaseDropTarget(source_hwnd),
18 webview_(webview) { } 20 webview_(webview) { }
19 21
20 protected: 22 protected:
21 // BaseDropTarget methods 23 // BaseDropTarget methods
22 virtual DWORD OnDragEnter(IDataObject* data_object, 24 virtual DWORD OnDragEnter(IDataObject* data_object,
23 DWORD key_state, 25 DWORD key_state,
24 POINT cursor_position, 26 POINT cursor_position,
25 DWORD effect); 27 DWORD effect);
26 virtual DWORD OnDragOver(IDataObject* data_object, 28 virtual DWORD OnDragOver(IDataObject* data_object,
27 DWORD key_state, 29 DWORD key_state,
28 POINT cursor_position, 30 POINT cursor_position,
29 DWORD effect); 31 DWORD effect);
30 virtual void OnDragLeave(IDataObject* data_object); 32 virtual void OnDragLeave(IDataObject* data_object);
31 virtual DWORD OnDrop(IDataObject* data_object, 33 virtual DWORD OnDrop(IDataObject* data_object,
32 DWORD key_state, 34 DWORD key_state,
33 POINT cursor_position, 35 POINT cursor_position,
34 DWORD effect); 36 DWORD effect);
35 37
36 38
37 private: 39 private:
38 WebView* webview_; 40 WebKit::WebView* webview_;
39 }; 41 };
40 42
41 #endif // WEBKIT_TOOLS_TEST_SHELL_DROP_DELEGATE_H__ 43 #endif // WEBKIT_TOOLS_TEST_SHELL_DROP_DELEGATE_H__
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/drag_delegate.cc ('k') | webkit/tools/test_shell/drop_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698