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

Unified Diff: chrome/test/chromedriver/dom_tracker.h

Issue 12848005: [chromedriver] Separate stuff of chrome from chromedriver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments and fix compile error on mac. Created 7 years, 9 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/chromedriver/devtools_event_listener.h ('k') | chrome/test/chromedriver/dom_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/dom_tracker.h
diff --git a/chrome/test/chromedriver/dom_tracker.h b/chrome/test/chromedriver/dom_tracker.h
deleted file mode 100644
index 1173a08af200220903093d545315ca6d478eb5a9..0000000000000000000000000000000000000000
--- a/chrome/test/chromedriver/dom_tracker.h
+++ /dev/null
@@ -1,46 +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_TEST_CHROMEDRIVER_DOM_TRACKER_H_
-#define CHROME_TEST_CHROMEDRIVER_DOM_TRACKER_H_
-
-#include <map>
-#include <string>
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "chrome/test/chromedriver/devtools_event_listener.h"
-
-namespace base {
-class DictionaryValue;
-class Value;
-}
-
-class DevToolsClient;
-class Status;
-
-// Tracks the state of the DOM and execution context creation.
-class DomTracker : public DevToolsEventListener {
- public:
- explicit DomTracker(DevToolsClient* client);
- virtual ~DomTracker();
-
- Status GetFrameIdForNode(int node_id, std::string* frame_id);
-
- // Overridden from DevToolsEventListener:
- virtual Status OnConnected() OVERRIDE;
- virtual void OnEvent(const std::string& method,
- const base::DictionaryValue& params) OVERRIDE;
-
- private:
- DevToolsClient* client_;
- bool ProcessNodeList(const base::Value* nodes);
- bool ProcessNode(const base::Value* node);
-
- std::map<int, std::string> node_to_frame_map_;
-
- DISALLOW_COPY_AND_ASSIGN(DomTracker);
-};
-
-#endif // CHROME_TEST_CHROMEDRIVER_DOM_TRACKER_H_
« no previous file with comments | « chrome/test/chromedriver/devtools_event_listener.h ('k') | chrome/test/chromedriver/dom_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698