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

Side by Side Diff: webkit/mocks/mock_webframe.cc

Issue 6626047: Definition for new API method in WebKit::WebFrame. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « webkit/mocks/mock_webframe.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « webkit/mocks/mock_webframe.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698