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

Unified Diff: chrome/test/webdriver/frame_path.h

Issue 23526047: Delete old chromedriver code, and remove mongoose webserver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 3 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/test/webdriver/commands/window_commands.cc ('k') | chrome/test/webdriver/frame_path.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/frame_path.h
diff --git a/chrome/test/webdriver/frame_path.h b/chrome/test/webdriver/frame_path.h
deleted file mode 100644
index cb4b27c7246fb6f5152a7bc334400e8264738e3c..0000000000000000000000000000000000000000
--- a/chrome/test/webdriver/frame_path.h
+++ /dev/null
@@ -1,60 +0,0 @@
-// Copyright (c) 2011 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_TEST_WEBDRIVER_FRAME_PATH_H_
-#define CHROME_TEST_WEBDRIVER_FRAME_PATH_H_
-
-#include <string>
-#include <vector>
-
-namespace webdriver {
-
-// A path identifying a frame within an HTML window. Recognized by Chrome
-// for identifying a frame of the window to execute JavaScript in.
-class FramePath {
- public:
- // Creates a frame path that refers to the root frame.
- FramePath();
- FramePath(const FramePath& other);
- explicit FramePath(const std::string& path);
- ~FramePath();
- FramePath& operator=(const FramePath& other);
-
- bool operator==(const FramePath& other) const;
-
- // Returns a FramePath appended with the given FramePath.
- FramePath Append(const FramePath& path) const;
-
- // Returns a FramePath appended with the given path.
- FramePath Append(const std::string& path) const;
-
- // Gets the parent path.
- FramePath Parent() const;
-
- // Gets the last path component.
- FramePath BaseName() const;
-
- // Gets a vector of all the components of the frame path.
- void GetComponents(std::vector<std::string>* components) const;
-
- // Returns whether the path refers to the root frame.
- bool IsRootFrame() const;
-
- // Returns whether the path refers to a subframe.
- bool IsSubframe() const;
-
- // Returns the identifier's string representation.
- const std::string& value() const;
-
- private:
- // This identifier contains newline-delimited xpath expressions to identify
- // a subframe multiple level deep.
- // Example: '//iframe[2]\n/frameset/frame[1]' identifies the first frame in
- // the root document's second iframe.
- std::string path_;
-};
-
-} // namespace webdriver
-
-#endif // CHROME_TEST_WEBDRIVER_FRAME_PATH_H_
« no previous file with comments | « chrome/test/webdriver/commands/window_commands.cc ('k') | chrome/test/webdriver/frame_path.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698