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

Side by Side Diff: components/html_viewer/web_test_delegate_impl.h

Issue 1262893006: Enable testing NotificationEvent.action (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@click_actions
Patch Set: Remove check Created 5 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
« no previous file with comments | « no previous file | components/html_viewer/web_test_delegate_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_ 5 #ifndef COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_
6 #define COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_ 6 #define COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/test_runner/test_preferences.h" 9 #include "components/test_runner/test_preferences.h"
10 #include "components/test_runner/web_test_delegate.h" 10 #include "components/test_runner/web_test_delegate.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 void EnableAutoResizeMode(const blink::WebSize& min_size, 58 void EnableAutoResizeMode(const blink::WebSize& min_size,
59 const blink::WebSize& max_size) override; 59 const blink::WebSize& max_size) override;
60 void DisableAutoResizeMode(const blink::WebSize& new_size) override; 60 void DisableAutoResizeMode(const blink::WebSize& new_size) override;
61 void ClearDevToolsLocalStorage() override; 61 void ClearDevToolsLocalStorage() override;
62 void ShowDevTools(const std::string& settings, 62 void ShowDevTools(const std::string& settings,
63 const std::string& frontend_url) override; 63 const std::string& frontend_url) override;
64 void CloseDevTools() override; 64 void CloseDevTools() override;
65 void EvaluateInWebInspector(long call_id, const std::string& script) override; 65 void EvaluateInWebInspector(long call_id, const std::string& script) override;
66 void ClearAllDatabases() override; 66 void ClearAllDatabases() override;
67 void SetDatabaseQuota(int quota) override; 67 void SetDatabaseQuota(int quota) override;
68 void SimulateWebNotificationClick(const std::string& title) override; 68 void SimulateWebNotificationClick(const std::string& title,
69 int action_index) override;
69 void SetDeviceScaleFactor(float factor) override; 70 void SetDeviceScaleFactor(float factor) override;
70 void SetDeviceColorProfile(const std::string& name) override; 71 void SetDeviceColorProfile(const std::string& name) override;
71 void SetBluetoothMockDataSet(const std::string& data_set) override; 72 void SetBluetoothMockDataSet(const std::string& data_set) override;
72 void SetGeofencingMockProvider(bool service_available) override; 73 void SetGeofencingMockProvider(bool service_available) override;
73 void ClearGeofencingMockProvider() override; 74 void ClearGeofencingMockProvider() override;
74 void SetGeofencingMockPosition(double latitude, double longitude) override; 75 void SetGeofencingMockPosition(double latitude, double longitude) override;
75 void SetFocus(test_runner::WebTestProxyBase* proxy, bool focus) override; 76 void SetFocus(test_runner::WebTestProxyBase* proxy, bool focus) override;
76 void SetAcceptAllCookies(bool accept) override; 77 void SetAcceptAllCookies(bool accept) override;
77 std::string PathToLocalResource(const std::string& resource) override; 78 std::string PathToLocalResource(const std::string& resource) override;
78 void SetLocale(const std::string& locale) override; 79 void SetLocale(const std::string& locale) override;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 test_runner::TestPreferences prefs_; 116 test_runner::TestPreferences prefs_;
116 test_runner::WebTestInterfaces* test_interfaces_; 117 test_runner::WebTestInterfaces* test_interfaces_;
117 test_runner::WebTestProxyBase* proxy_; 118 test_runner::WebTestProxyBase* proxy_;
118 119
119 DISALLOW_COPY_AND_ASSIGN(WebTestDelegateImpl); 120 DISALLOW_COPY_AND_ASSIGN(WebTestDelegateImpl);
120 }; 121 };
121 122
122 } // namespace html_viewer 123 } // namespace html_viewer
123 124
124 #endif // COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_ 125 #endif // COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | components/html_viewer/web_test_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698