OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_WEB_VIEW_H_ | 5 #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_WEB_VIEW_H_ |
6 #define CHROME_TEST_CHROMEDRIVER_CHROME_WEB_VIEW_H_ | 6 #define CHROME_TEST_CHROMEDRIVER_CHROME_WEB_VIEW_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 | 13 |
14 namespace base { | 14 namespace base { |
15 class DictionaryValue; | 15 class DictionaryValue; |
16 class FilePath; | 16 class FilePath; |
17 class ListValue; | 17 class ListValue; |
18 class TimeDelta; | 18 class TimeDelta; |
19 class Value; | 19 class Value; |
20 } | 20 } |
21 | 21 |
| 22 class DeviceMetrics; |
22 class DevToolsClient; | 23 class DevToolsClient; |
23 struct Geoposition; | 24 struct Geoposition; |
24 class JavaScriptDialogManager; | 25 class JavaScriptDialogManager; |
25 struct KeyEvent; | 26 struct KeyEvent; |
26 struct MouseEvent; | 27 struct MouseEvent; |
27 struct TouchEvent; | 28 struct TouchEvent; |
28 class Status; | 29 class Status; |
29 | 30 |
30 class WebView { | 31 class WebView { |
31 public: | 32 public: |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 const std::vector<base::FilePath>& files) = 0; | 151 const std::vector<base::FilePath>& files) = 0; |
151 | 152 |
152 // Take a heap snapshot which can build up a graph of Javascript objects. | 153 // Take a heap snapshot which can build up a graph of Javascript objects. |
153 // A raw heap snapshot is in JSON format: | 154 // A raw heap snapshot is in JSON format: |
154 // 1. A meta data element "snapshot" about how to parse data elements. | 155 // 1. A meta data element "snapshot" about how to parse data elements. |
155 // 2. Data elements: "nodes", "edges", "strings". | 156 // 2. Data elements: "nodes", "edges", "strings". |
156 virtual Status TakeHeapSnapshot(scoped_ptr<base::Value>* snapshot) = 0; | 157 virtual Status TakeHeapSnapshot(scoped_ptr<base::Value>* snapshot) = 0; |
157 }; | 158 }; |
158 | 159 |
159 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_WEB_VIEW_H_ | 160 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_WEB_VIEW_H_ |
OLD | NEW |