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

Side by Side Diff: content/shell/renderer/layout_test/blink_test_runner.h

Issue 2403893002: Add layout test for reply property of notificationclick event (Closed)
Patch Set: Make reply field nullable in .idl files; add test cases for empty and null Created 4 years, 2 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 CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 5 #ifndef CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <memory> 9 #include <memory>
10 #include <vector> 10 #include <vector>
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 const blink::WebSize& max_size) override; 91 const blink::WebSize& max_size) override;
92 void DisableAutoResizeMode(const blink::WebSize& new_size) override; 92 void DisableAutoResizeMode(const blink::WebSize& new_size) override;
93 void ClearDevToolsLocalStorage() override; 93 void ClearDevToolsLocalStorage() override;
94 void ShowDevTools(const std::string& settings, 94 void ShowDevTools(const std::string& settings,
95 const std::string& frontend_url) override; 95 const std::string& frontend_url) override;
96 void CloseDevTools() override; 96 void CloseDevTools() override;
97 void EvaluateInWebInspector(int call_id, const std::string& script) override; 97 void EvaluateInWebInspector(int call_id, const std::string& script) override;
98 std::string EvaluateInWebInspectorOverlay(const std::string& script) override; 98 std::string EvaluateInWebInspectorOverlay(const std::string& script) override;
99 void ClearAllDatabases() override; 99 void ClearAllDatabases() override;
100 void SetDatabaseQuota(int quota) override; 100 void SetDatabaseQuota(int quota) override;
101 void SimulateWebNotificationClick(const std::string& title, 101 void SimulateWebNotificationClick(
102 int action_index) override; 102 const std::string& title,
103 int action_index,
104 const base::NullableString16& reply) override;
103 void SimulateWebNotificationClose(const std::string& title, 105 void SimulateWebNotificationClose(const std::string& title,
104 bool by_user) override; 106 bool by_user) override;
105 void SetDeviceScaleFactor(float factor) override; 107 void SetDeviceScaleFactor(float factor) override;
106 void SetDeviceColorProfile(const std::string& name) override; 108 void SetDeviceColorProfile(const std::string& name) override;
107 float GetWindowToViewportScale() override; 109 float GetWindowToViewportScale() override;
108 std::unique_ptr<blink::WebInputEvent> TransformScreenToWidgetCoordinates( 110 std::unique_ptr<blink::WebInputEvent> TransformScreenToWidgetCoordinates(
109 test_runner::WebWidgetTestProxyBase* web_widget_test_proxy_base, 111 test_runner::WebWidgetTestProxyBase* web_widget_test_proxy_base,
110 const blink::WebInputEvent& event) override; 112 const blink::WebInputEvent& event) override;
111 test_runner::WebWidgetTestProxyBase* GetWebWidgetTestProxyBase( 113 test_runner::WebWidgetTestProxyBase* GetWebWidgetTestProxyBase(
112 blink::WebLocalFrame* frame) override; 114 blink::WebLocalFrame* frame) override;
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 bool focus_on_next_commit_; 220 bool focus_on_next_commit_;
219 221
220 std::unique_ptr<LeakDetector> leak_detector_; 222 std::unique_ptr<LeakDetector> leak_detector_;
221 223
222 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); 224 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner);
223 }; 225 };
224 226
225 } // namespace content 227 } // namespace content
226 228
227 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 229 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « content/shell/common/layout_test/layout_test_messages.h ('k') | content/shell/renderer/layout_test/blink_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698