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

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

Issue 2230053002: [chromedriver] Added option to make element references W3C compliant. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed presubmit errors. Created 4 years, 4 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_CHROME_IMPL_H_ 5 #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_IMPL_H_
6 #define CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_IMPL_H_ 6 #define CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 16 matching lines...) Expand all
27 struct WebViewInfo; 27 struct WebViewInfo;
28 28
29 class ChromeImpl : public Chrome { 29 class ChromeImpl : public Chrome {
30 public: 30 public:
31 ~ChromeImpl() override; 31 ~ChromeImpl() override;
32 32
33 // Overridden from Chrome: 33 // Overridden from Chrome:
34 Status GetAsDesktop(ChromeDesktopImpl** desktop) override; 34 Status GetAsDesktop(ChromeDesktopImpl** desktop) override;
35 const BrowserInfo* GetBrowserInfo() const override; 35 const BrowserInfo* GetBrowserInfo() const override;
36 bool HasCrashedWebView() override; 36 bool HasCrashedWebView() override;
37 Status GetWebViewIds(std::list<std::string>* web_view_ids) override; 37 Status GetWebViewIds(std::list<std::string>* web_view_ids,
38 bool w3c_compliant) override;
38 Status GetWebViewById(const std::string& id, WebView** web_view) override; 39 Status GetWebViewById(const std::string& id, WebView** web_view) override;
39 Status CloseWebView(const std::string& id) override; 40 Status CloseWebView(const std::string& id) override;
40 Status ActivateWebView(const std::string& id) override; 41 Status ActivateWebView(const std::string& id) override;
41 bool IsMobileEmulationEnabled() const override; 42 bool IsMobileEmulationEnabled() const override;
42 bool HasTouchScreen() const override; 43 bool HasTouchScreen() const override;
43 std::string page_load_strategy() const override; 44 std::string page_load_strategy() const override;
44 void set_page_load_strategy(std::string strategy) override; 45 void set_page_load_strategy(std::string strategy) override;
45 Status Quit() override; 46 Status Quit() override;
46 47
47 protected: 48 protected:
(...skipping 12 matching lines...) Expand all
60 std::string page_load_strategy_; 61 std::string page_load_strategy_;
61 typedef std::list<linked_ptr<WebViewImpl> > WebViewList; 62 typedef std::list<linked_ptr<WebViewImpl> > WebViewList;
62 63
63 // Web views in this list are in the same order as they are opened. 64 // Web views in this list are in the same order as they are opened.
64 WebViewList web_views_; 65 WebViewList web_views_;
65 ScopedVector<DevToolsEventListener> devtools_event_listeners_; 66 ScopedVector<DevToolsEventListener> devtools_event_listeners_;
66 std::unique_ptr<PortReservation> port_reservation_; 67 std::unique_ptr<PortReservation> port_reservation_;
67 }; 68 };
68 69
69 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_IMPL_H_ 70 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_CHROME_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/test/chromedriver/chrome/chrome_desktop_impl.cc ('k') | chrome/test/chromedriver/chrome/chrome_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698