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

Unified Diff: chrome/test/base/interactive_test_utils.h

Issue 2005773002: MacViewsBrowser: TabDragging / simplifications Base URL: https://chromium.googlesource.com/chromium/src.git@20160523-MacViewsBrowser-TabDragging2
Patch Set: Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/test/base/interactive_test_utils_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/interactive_test_utils.h
diff --git a/chrome/test/base/interactive_test_utils.h b/chrome/test/base/interactive_test_utils.h
index b61116b00995850e9fdeeefee6b093c7d6b6fcc5..828f340cb1ccf8b8e880c13c8976f1ee4541e5c1 100644
--- a/chrome/test/base/interactive_test_utils.h
+++ b/chrome/test/base/interactive_test_utils.h
@@ -29,7 +29,6 @@ class DragAndDropOperation {
public:
enum class Type {
Move,
- MoveWithoutAck,
MouseDown,
MouseUp,
SetMousePositionOverride,
@@ -38,29 +37,22 @@ class DragAndDropOperation {
};
static DragAndDropOperation Move(const gfx::Point& p);
- // Doesn't wait for the event to finish processing, instead it waits for
- // |delay|.
- static DragAndDropOperation MoveWithoutAck(const gfx::Point& p,
- const base::TimeDelta& delay);
static DragAndDropOperation MouseDown();
static DragAndDropOperation MouseUp();
static DragAndDropOperation SetMousePositionOverride(const gfx::Point& p);
static DragAndDropOperation UnsetMousePositionOverride();
+ // comment
static DragAndDropOperation DebugDelay();
Type type() const { return type_; }
const gfx::Point& point() const { return point_; }
- const base::TimeDelta& delay() const { return delay_; }
private:
- DragAndDropOperation(Type type,
- const gfx::Point& p,
- const base::TimeDelta& delay = base::TimeDelta())
- : type_(type), point_(p), delay_(delay) {}
+ DragAndDropOperation(Type type, const gfx::Point& p)
+ : type_(type), point_(p) {}
Type type_;
gfx::Point point_;
- base::TimeDelta delay_;
};
// Performs a series of drag-and-drop operations on a background thread, while
« no previous file with comments | « no previous file | chrome/test/base/interactive_test_utils_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698