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

Side by Side Diff: Source/testing/runner/EventSender.h

Issue 18546003: Fix tests to avoid page scale reset when setting page scale. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove page scale override function from EventSender. Created 7 years, 4 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 /* 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 void mouseUp(const CppArgumentList&, CppVariant*); 79 void mouseUp(const CppArgumentList&, CppVariant*);
80 void mouseMoveTo(const CppArgumentList&, CppVariant*); 80 void mouseMoveTo(const CppArgumentList&, CppVariant*);
81 void leapForward(const CppArgumentList&, CppVariant*); 81 void leapForward(const CppArgumentList&, CppVariant*);
82 void keyDown(const CppArgumentList&, CppVariant*); 82 void keyDown(const CppArgumentList&, CppVariant*);
83 void dispatchMessage(const CppArgumentList&, CppVariant*); 83 void dispatchMessage(const CppArgumentList&, CppVariant*);
84 // FIXME: These aren't really events. They should be moved to layout control ler. 84 // FIXME: These aren't really events. They should be moved to layout control ler.
85 void textZoomIn(const CppArgumentList&, CppVariant*); 85 void textZoomIn(const CppArgumentList&, CppVariant*);
86 void textZoomOut(const CppArgumentList&, CppVariant*); 86 void textZoomOut(const CppArgumentList&, CppVariant*);
87 void zoomPageIn(const CppArgumentList&, CppVariant*); 87 void zoomPageIn(const CppArgumentList&, CppVariant*);
88 void zoomPageOut(const CppArgumentList&, CppVariant*); 88 void zoomPageOut(const CppArgumentList&, CppVariant*);
89 void scalePageBy(const CppArgumentList&, CppVariant*); 89 void setPageScaleFactor(const CppArgumentList&, CppVariant*);
90 90
91 void mouseDragBegin(const CppArgumentList&, CppVariant*); 91 void mouseDragBegin(const CppArgumentList&, CppVariant*);
92 void mouseScrollBy(const CppArgumentList&, CppVariant*); 92 void mouseScrollBy(const CppArgumentList&, CppVariant*);
93 void continuousMouseScrollBy(const CppArgumentList&, CppVariant*); 93 void continuousMouseScrollBy(const CppArgumentList&, CppVariant*);
94 void scheduleAsynchronousClick(const CppArgumentList&, CppVariant*); 94 void scheduleAsynchronousClick(const CppArgumentList&, CppVariant*);
95 void scheduleAsynchronousKeyDown(const CppArgumentList&, CppVariant*); 95 void scheduleAsynchronousKeyDown(const CppArgumentList&, CppVariant*);
96 void beginDragWithFiles(const CppArgumentList&, CppVariant*); 96 void beginDragWithFiles(const CppArgumentList&, CppVariant*);
97 CppVariant dragMode; 97 CppVariant dragMode;
98 98
99 void addTouchPoint(const CppArgumentList&, CppVariant*); 99 void addTouchPoint(const CppArgumentList&, CppVariant*);
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 198
199 // The last button number passed to mouseDown and mouseUp. 199 // The last button number passed to mouseDown and mouseUp.
200 // Used to determine whether the click count continues to 200 // Used to determine whether the click count continues to
201 // increment or not. 201 // increment or not.
202 static WebKit::WebMouseEvent::Button lastButtonType; 202 static WebKit::WebMouseEvent::Button lastButtonType;
203 }; 203 };
204 204
205 } 205 }
206 206
207 #endif // EventSender_h 207 #endif // EventSender_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698