OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "webkit/mocks/mock_webframe.h" | 5 #include "webkit/mocks/mock_webframe.h" |
6 | 6 |
7 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLRequest.h" | 7 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLRequest.h" |
8 | 8 |
9 namespace webkit_glue { | 9 namespace webkit_glue { |
10 | 10 |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 } | 228 } |
229 | 229 |
230 bool MockWebFrame::isProcessingUserGesture() const { | 230 bool MockWebFrame::isProcessingUserGesture() const { |
231 return false; | 231 return false; |
232 } | 232 } |
233 | 233 |
234 bool MockWebFrame::willSuppressOpenerInNewFrame() const { | 234 bool MockWebFrame::willSuppressOpenerInNewFrame() const { |
235 return false; | 235 return false; |
236 } | 236 } |
237 | 237 |
| 238 bool MockWebFrame::pageDismissalEventBeingDispatched() const { |
| 239 return false; |
| 240 } |
| 241 |
238 void MockWebFrame::replaceSelection(const WebString& text) {} | 242 void MockWebFrame::replaceSelection(const WebString& text) {} |
239 | 243 |
240 void MockWebFrame::insertText(const WebString& text) {} | 244 void MockWebFrame::insertText(const WebString& text) {} |
241 | 245 |
242 void MockWebFrame::setMarkedText(const WebString& text, | 246 void MockWebFrame::setMarkedText(const WebString& text, |
243 unsigned location, | 247 unsigned location, |
244 unsigned length) {} | 248 unsigned length) {} |
245 | 249 |
246 void MockWebFrame::unmarkText() {} | 250 void MockWebFrame::unmarkText() {} |
247 | 251 |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 double time, | 398 double time, |
395 const WebString& elementId) { | 399 const WebString& elementId) { |
396 return false; | 400 return false; |
397 } | 401 } |
398 | 402 |
399 WebString MockWebFrame::layerTreeAsText() const { | 403 WebString MockWebFrame::layerTreeAsText() const { |
400 return WebString(); | 404 return WebString(); |
401 } | 405 } |
402 | 406 |
403 } // namespace webkit_glue | 407 } // namespace webkit_glue |
OLD | NEW |