OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTPROXY_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTPROXY_H_ |
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTPROXY_H_ | 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTPROXY_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 blink::WebMIDIClient* webMIDIClient(); | 158 blink::WebMIDIClient* webMIDIClient(); |
159 blink::WebSpeechInputController* speechInputController(blink::WebSpeechInput
Listener*); | 159 blink::WebSpeechInputController* speechInputController(blink::WebSpeechInput
Listener*); |
160 blink::WebSpeechRecognizer* speechRecognizer(); | 160 blink::WebSpeechRecognizer* speechRecognizer(); |
161 bool requestPointerLock(); | 161 bool requestPointerLock(); |
162 void requestPointerUnlock(); | 162 void requestPointerUnlock(); |
163 bool isPointerLocked(); | 163 bool isPointerLocked(); |
164 void didFocus(); | 164 void didFocus(); |
165 void didBlur(); | 165 void didBlur(); |
166 void setToolTipText(const blink::WebString&, blink::WebTextDirection); | 166 void setToolTipText(const blink::WebString&, blink::WebTextDirection); |
167 void didAddMessageToConsole(const blink::WebConsoleMessage&, const blink::We
bString& sourceName, unsigned sourceLine); | 167 void didAddMessageToConsole(const blink::WebConsoleMessage&, const blink::We
bString& sourceName, unsigned sourceLine); |
| 168 void loadURLExternally(blink::WebLocalFrame* frame, const blink::WebURLReque
st& request, blink::WebNavigationPolicy policy, const blink::WebString& suggeste
d_name); |
168 void didStartProvisionalLoad(blink::WebLocalFrame*); | 169 void didStartProvisionalLoad(blink::WebLocalFrame*); |
169 void didReceiveServerRedirectForProvisionalLoad(blink::WebLocalFrame*); | 170 void didReceiveServerRedirectForProvisionalLoad(blink::WebLocalFrame*); |
170 bool didFailProvisionalLoad(blink::WebLocalFrame*, const blink::WebURLError&
); | 171 bool didFailProvisionalLoad(blink::WebLocalFrame*, const blink::WebURLError&
); |
171 void didCommitProvisionalLoad(blink::WebLocalFrame*, const blink::WebHistory
Item&, blink::WebHistoryCommitType); | 172 void didCommitProvisionalLoad(blink::WebLocalFrame*, const blink::WebHistory
Item&, blink::WebHistoryCommitType); |
172 void didReceiveTitle(blink::WebLocalFrame*, const blink::WebString& title, b
link::WebTextDirection); | 173 void didReceiveTitle(blink::WebLocalFrame*, const blink::WebString& title, b
link::WebTextDirection); |
173 void didChangeIcon(blink::WebLocalFrame*, blink::WebIconURL::Type); | 174 void didChangeIcon(blink::WebLocalFrame*, blink::WebIconURL::Type); |
174 void didFinishDocumentLoad(blink::WebLocalFrame*); | 175 void didFinishDocumentLoad(blink::WebLocalFrame*); |
175 void didHandleOnloadEvents(blink::WebLocalFrame*); | 176 void didHandleOnloadEvents(blink::WebLocalFrame*); |
176 void didFailLoad(blink::WebLocalFrame*, const blink::WebURLError&); | 177 void didFailLoad(blink::WebLocalFrame*, const blink::WebURLError&); |
177 void didFinishLoad(blink::WebLocalFrame*); | 178 void didFinishLoad(blink::WebLocalFrame*); |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 WebTestProxyBase::postSpellCheckEvent(eventName); | 375 WebTestProxyBase::postSpellCheckEvent(eventName); |
375 } | 376 } |
376 | 377 |
377 private: | 378 private: |
378 DISALLOW_COPY_AND_ASSIGN(WebTestProxy); | 379 DISALLOW_COPY_AND_ASSIGN(WebTestProxy); |
379 }; | 380 }; |
380 | 381 |
381 } // namespace content | 382 } // namespace content |
382 | 383 |
383 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTPROXY_H_ | 384 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTPROXY_H_ |
OLD | NEW |