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

Unified Diff: chrome/common/automation_events.h

Issue 14977013: Delete Automation[Tab/Renderer]Helper and users. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update now that 202087 is committed Created 7 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 | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/automation_events.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/automation_events.h
diff --git a/chrome/common/automation_events.h b/chrome/common/automation_events.h
deleted file mode 100644
index 44c723202e0903d5b8aced1111aadc76a6ba7da5..0000000000000000000000000000000000000000
--- a/chrome/common/automation_events.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_COMMON_AUTOMATION_EVENTS_H_
-#define CHROME_COMMON_AUTOMATION_EVENTS_H_
-
-#include <string>
-#include <vector>
-
-#include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
-
-// A request to evaluate a script in a given frame.
-struct ScriptEvaluationRequest {
- ScriptEvaluationRequest();
- ScriptEvaluationRequest(const std::string& script,
- const std::string& frame_xpath);
- ~ScriptEvaluationRequest();
-
- std::string script;
- std::string frame_xpath;
-};
-
-// An extension to a normal mouse event that includes data for determining the
-// location of the mouse event.
-struct AutomationMouseEvent {
- AutomationMouseEvent();
- ~AutomationMouseEvent();
-
- WebKit::WebMouseEvent mouse_event;
-
- // A list of scripts that when evaluated returns a coordinate for the event.
- // The scripts are chained together in that the output for one script
- // provides the input for the next. Each script must result in exactly one
- // JavaScript object. This object will be passed to the next script
- // as arguments[0]. The only exceptions to this are the first script, which
- // is passed null. The last script should result in a single JavaScript
- // object with integer 'x' and 'y' properties.
- // If empty, the coordinates in the normal mouse event are used.
- std::vector<ScriptEvaluationRequest> location_script_chain;
-};
-
-#endif // CHROME_COMMON_AUTOMATION_EVENTS_H_
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/automation_events.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698