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

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

Issue 387020: Upstreaming WebKit.gyp (Closed)
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
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 5
6 /* 6 /*
7 EventSendingController class: 7 EventSendingController class:
8 Bound to a JavaScript window.eventSender object using 8 Bound to a JavaScript window.eventSender object using
9 CppBoundClass::BindToJavascript(), this allows layout tests that are run in 9 CppBoundClass::BindToJavascript(), this allows layout tests that are run in
10 the test_shell to fire DOM events. 10 the test_shell to fire DOM events.
11 11
12 The OSX reference file is in 12 The OSX reference file is in
13 WebKit/WebKitTools/DumpRenderTree/EventSendingController.m 13 WebKit/WebKitTools/DumpRenderTree/EventSendingController.m
14 */ 14 */
15 15
16 #ifndef WEBKIT_TOOLS_TEST_SHELL_EVENT_SENDING_CONTROLLER_H_ 16 #ifndef WEBKIT_TOOLS_TEST_SHELL_EVENT_SENDING_CONTROLLER_H_
17 #define WEBKIT_TOOLS_TEST_SHELL_EVENT_SENDING_CONTROLLER_H_ 17 #define WEBKIT_TOOLS_TEST_SHELL_EVENT_SENDING_CONTROLLER_H_
18 18
19 #include "build/build_config.h" 19 #include "build/build_config.h"
20 #include "base/gfx/point.h" 20 #include "base/gfx/point.h"
21 #include "base/task.h" 21 #include "base/task.h"
22 #include "webkit/api/public/WebDragOperation.h" 22 #include "third_party/WebKit/WebKit/chromium/public/WebDragOperation.h"
23 #include "webkit/api/public/WebInputEvent.h" 23 #include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h"
24 #include "webkit/glue/cpp_bound_class.h" 24 #include "webkit/glue/cpp_bound_class.h"
25 25
26 class TestShell; 26 class TestShell;
27 27
28 namespace WebKit { 28 namespace WebKit {
29 class WebDragData; 29 class WebDragData;
30 class WebView; 30 class WebView;
31 struct WebPoint; 31 struct WebPoint;
32 } 32 }
33 33
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 // Currently pressed mouse button (Left/Right/Middle or None) 118 // Currently pressed mouse button (Left/Right/Middle or None)
119 static WebKit::WebMouseEvent::Button pressed_button_; 119 static WebKit::WebMouseEvent::Button pressed_button_;
120 120
121 // The last button number passed to mouseDown and mouseUp. 121 // The last button number passed to mouseDown and mouseUp.
122 // Used to determine whether the click count continues to 122 // Used to determine whether the click count continues to
123 // increment or not. 123 // increment or not.
124 static WebKit::WebMouseEvent::Button last_button_type_; 124 static WebKit::WebMouseEvent::Button last_button_type_;
125 }; 125 };
126 126
127 #endif // WEBKIT_TOOLS_TEST_SHELL_EVENT_SENDING_CONTROLLER_H_ 127 #endif // WEBKIT_TOOLS_TEST_SHELL_EVENT_SENDING_CONTROLLER_H_
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/drop_delegate.cc ('k') | webkit/tools/test_shell/event_sending_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698