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

Side by Side Diff: chrome/test/chromedriver/chrome/web_view.h

Issue 251933005: [ChromeDriver] Support mobile emulation on desktop Chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing review comments Created 6 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 unified diff | Download patch
OLDNEW
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 struct DeviceMetrics;
stgao 2014/05/19 17:34:02 Seems unused.
sam.rawlins 2014/05/20 00:25:20 Done. Moved to web_view_impl.h
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698