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

Side by Side Diff: Tools/DumpRenderTree/chromium/EventSender.h

Issue 7054067: Merge 87848 - 2011-06-01 Daniel Cheng <dcheng@chromium.org> (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 years, 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 // Builds the property and method lists needed to bind this class to a JS 55 // Builds the property and method lists needed to bind this class to a JS
56 // object. 56 // object.
57 EventSender(TestShell*); 57 EventSender(TestShell*);
58 58
59 // Resets some static variable state. 59 // Resets some static variable state.
60 void reset(); 60 void reset();
61 61
62 // Simulate drag&drop system call. 62 // Simulate drag&drop system call.
63 void doDragDrop(const WebKit::WebDragData&, WebKit::WebDragOperationsMask); 63 void doDragDrop(const WebKit::WebDragData&, WebKit::WebDragOperationsMask);
64 64
65 // Test helper for dragging out images.
66 void dumpFilenameBeingDragged(const CppArgumentList&, CppVariant*);
67
65 // JS callback methods. 68 // JS callback methods.
66 void mouseDown(const CppArgumentList&, CppVariant*); 69 void mouseDown(const CppArgumentList&, CppVariant*);
67 void mouseUp(const CppArgumentList&, CppVariant*); 70 void mouseUp(const CppArgumentList&, CppVariant*);
68 void mouseMoveTo(const CppArgumentList&, CppVariant*); 71 void mouseMoveTo(const CppArgumentList&, CppVariant*);
69 void leapForward(const CppArgumentList&, CppVariant*); 72 void leapForward(const CppArgumentList&, CppVariant*);
70 void keyDown(const CppArgumentList&, CppVariant*); 73 void keyDown(const CppArgumentList&, CppVariant*);
71 void dispatchMessage(const CppArgumentList&, CppVariant*); 74 void dispatchMessage(const CppArgumentList&, CppVariant*);
72 void textZoomIn(const CppArgumentList&, CppVariant*); 75 void textZoomIn(const CppArgumentList&, CppVariant*);
73 void textZoomOut(const CppArgumentList&, CppVariant*); 76 void textZoomOut(const CppArgumentList&, CppVariant*);
74 void zoomPageIn(const CppArgumentList&, CppVariant*); 77 void zoomPageIn(const CppArgumentList&, CppVariant*);
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 // Currently pressed mouse button (Left/Right/Middle or None) 157 // Currently pressed mouse button (Left/Right/Middle or None)
155 static WebKit::WebMouseEvent::Button pressedButton; 158 static WebKit::WebMouseEvent::Button pressedButton;
156 159
157 // The last button number passed to mouseDown and mouseUp. 160 // The last button number passed to mouseDown and mouseUp.
158 // Used to determine whether the click count continues to 161 // Used to determine whether the click count continues to
159 // increment or not. 162 // increment or not.
160 static WebKit::WebMouseEvent::Button lastButtonType; 163 static WebKit::WebMouseEvent::Button lastButtonType;
161 }; 164 };
162 165
163 #endif // EventSender_h 166 #endif // EventSender_h
OLDNEW
« no previous file with comments | « Source/WebCore/platform/chromium/ClipboardChromiumMac.cpp ('k') | Tools/DumpRenderTree/chromium/EventSender.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698