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

Side by Side Diff: content/shell/renderer/test_runner/web_test_proxy.h

Issue 1100673004: Remove references to WebMidiClientMock from content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 5 years, 8 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_TEST_RUNNER_WEB_TEST_PROXY_H_ 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_PROXY_H_
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_PROXY_H_ 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_PROXY_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 30 matching lines...) Expand all
41 class WebCachedURLRequest; 41 class WebCachedURLRequest;
42 class WebColorChooser; 42 class WebColorChooser;
43 class WebColorChooserClient; 43 class WebColorChooserClient;
44 class WebDataSource; 44 class WebDataSource;
45 class WebDragData; 45 class WebDragData;
46 class WebFileChooserCompletion; 46 class WebFileChooserCompletion;
47 class WebFrame; 47 class WebFrame;
48 class WebLocalFrame; 48 class WebLocalFrame;
49 class WebMIDIAccessor; 49 class WebMIDIAccessor;
50 class WebMIDIAccessorClient; 50 class WebMIDIAccessorClient;
51 class WebMIDIClient;
52 class WebMIDIClientMock;
53 class WebNode; 51 class WebNode;
54 class WebPlugin; 52 class WebPlugin;
55 class WebRange; 53 class WebRange;
56 class WebSerializedScriptValue; 54 class WebSerializedScriptValue;
57 class WebSpeechRecognizer; 55 class WebSpeechRecognizer;
58 class WebSpellCheckClient; 56 class WebSpellCheckClient;
59 class WebString; 57 class WebString;
60 class WebURL; 58 class WebURL;
61 class WebURLResponse; 59 class WebURLResponse;
62 class WebUserMediaClient; 60 class WebUserMediaClient;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 void SetLogConsoleOutput(bool enabled); 119 void SetLogConsoleOutput(bool enabled);
122 120
123 void DidOpenChooser(); 121 void DidOpenChooser();
124 void DidCloseChooser(); 122 void DidCloseChooser();
125 bool IsChooserShown(); 123 bool IsChooserShown();
126 124
127 void DisplayAsyncThen(const base::Closure& callback); 125 void DisplayAsyncThen(const base::Closure& callback);
128 126
129 void GetScreenOrientationForTesting(blink::WebScreenInfo&); 127 void GetScreenOrientationForTesting(blink::WebScreenInfo&);
130 MockScreenOrientationClient* GetScreenOrientationClientMock(); 128 MockScreenOrientationClient* GetScreenOrientationClientMock();
131 blink::WebMIDIClientMock* GetMIDIClientMock();
132 MockWebSpeechRecognizer* GetSpeechRecognizerMock(); 129 MockWebSpeechRecognizer* GetSpeechRecognizerMock();
133 MockCredentialManagerClient* GetCredentialManagerClientMock(); 130 MockCredentialManagerClient* GetCredentialManagerClientMock();
134 131
135 WebTaskList* mutable_task_list() { return &task_list_; } 132 WebTaskList* mutable_task_list() { return &task_list_; }
136 133
137 blink::WebView* GetWebView() const; 134 blink::WebView* GetWebView() const;
138 135
139 void PostSpellCheckEvent(const blink::WebString& event_name); 136 void PostSpellCheckEvent(const blink::WebString& event_name);
140 137
141 void SetAcceptLanguages(const std::string& accept_languages); 138 void SetAcceptLanguages(const std::string& accept_languages);
(...skipping 19 matching lines...) Expand all
161 blink::WebNavigationPolicy policy, 158 blink::WebNavigationPolicy policy,
162 bool suppress_opener); 159 bool suppress_opener);
163 blink::WebPlugin* CreatePlugin(blink::WebLocalFrame* frame, 160 blink::WebPlugin* CreatePlugin(blink::WebLocalFrame* frame,
164 const blink::WebPluginParams& params); 161 const blink::WebPluginParams& params);
165 void SetStatusText(const blink::WebString& text); 162 void SetStatusText(const blink::WebString& text);
166 void DidStopLoading(); 163 void DidStopLoading();
167 void ShowContextMenu(blink::WebLocalFrame* frame, 164 void ShowContextMenu(blink::WebLocalFrame* frame,
168 const blink::WebContextMenuData& data); 165 const blink::WebContextMenuData& data);
169 blink::WebUserMediaClient* GetUserMediaClient(); 166 blink::WebUserMediaClient* GetUserMediaClient();
170 void PrintPage(blink::WebLocalFrame* frame); 167 void PrintPage(blink::WebLocalFrame* frame);
171 blink::WebMIDIClient* GetWebMIDIClient();
172 blink::WebSpeechRecognizer* GetSpeechRecognizer(); 168 blink::WebSpeechRecognizer* GetSpeechRecognizer();
173 bool RequestPointerLock(); 169 bool RequestPointerLock();
174 void RequestPointerUnlock(); 170 void RequestPointerUnlock();
175 bool IsPointerLocked(); 171 bool IsPointerLocked();
176 void DidFocus(); 172 void DidFocus();
177 void DidBlur(); 173 void DidBlur();
178 void SetToolTipText(const blink::WebString& text, 174 void SetToolTipText(const blink::WebString& text,
179 blink::WebTextDirection direction); 175 blink::WebTextDirection direction);
180 void DidAddMessageToConsole(const blink::WebConsoleMessage& text, 176 void DidAddMessageToConsole(const blink::WebConsoleMessage& text,
181 const blink::WebString& source_name, 177 const blink::WebString& source_name,
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 scoped_ptr<SpellCheckClient> spellcheck_; 257 scoped_ptr<SpellCheckClient> spellcheck_;
262 scoped_ptr<MockWebUserMediaClient> user_media_client_; 258 scoped_ptr<MockWebUserMediaClient> user_media_client_;
263 259
264 bool animate_scheduled_; 260 bool animate_scheduled_;
265 std::map<unsigned, std::string> resource_identifier_map_; 261 std::map<unsigned, std::string> resource_identifier_map_;
266 262
267 bool log_console_output_; 263 bool log_console_output_;
268 int chooser_count_; 264 int chooser_count_;
269 265
270 scoped_ptr<MockCredentialManagerClient> credential_manager_client_; 266 scoped_ptr<MockCredentialManagerClient> credential_manager_client_;
271 scoped_ptr<blink::WebMIDIClientMock> midi_client_;
272 scoped_ptr<MockWebSpeechRecognizer> speech_recognizer_; 267 scoped_ptr<MockWebSpeechRecognizer> speech_recognizer_;
273 scoped_ptr<MockScreenOrientationClient> screen_orientation_client_; 268 scoped_ptr<MockScreenOrientationClient> screen_orientation_client_;
274 269
275 std::string accept_languages_; 270 std::string accept_languages_;
276 271
277 private: 272 private:
278 DISALLOW_COPY_AND_ASSIGN(WebTestProxyBase); 273 DISALLOW_COPY_AND_ASSIGN(WebTestProxyBase);
279 }; 274 };
280 275
281 // WebTestProxy is used during LayoutTests and always instantiated, at time of 276 // WebTestProxy is used during LayoutTests and always instantiated, at time of
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 391
397 private: 392 private:
398 virtual ~WebTestProxy() {} 393 virtual ~WebTestProxy() {}
399 394
400 DISALLOW_COPY_AND_ASSIGN(WebTestProxy); 395 DISALLOW_COPY_AND_ASSIGN(WebTestProxy);
401 }; 396 };
402 397
403 } // namespace content 398 } // namespace content
404 399
405 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_PROXY_H_ 400 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_TEST_PROXY_H_
OLDNEW
« no previous file with comments | « content/shell/renderer/test_runner/web_frame_test_proxy.h ('k') | content/shell/renderer/test_runner/web_test_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698