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

Side by Side Diff: Tools/DumpRenderTree/chromium/WebViewHost.cpp

Issue 15179002: Remove code that is unused after ContextMenu cleanup (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove canHandleRequest code from DRT Created 7 years, 7 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 | « Tools/DumpRenderTree/chromium/WebViewHost.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 /* 1 /*
2 * Copyright (C) 2010, 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2010, 2011, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 if (another) 440 if (another)
441 another->show(policy); 441 another->show(policy);
442 } 442 }
443 443
444 WebNavigationPolicy WebViewHost::decidePolicyForNavigation( 444 WebNavigationPolicy WebViewHost::decidePolicyForNavigation(
445 WebFrame*, const WebURLRequest&, WebNavigationType, WebNavigationPolicy defa ultPolicy, bool) 445 WebFrame*, const WebURLRequest&, WebNavigationType, WebNavigationPolicy defa ultPolicy, bool)
446 { 446 {
447 return defaultPolicy; 447 return defaultPolicy;
448 } 448 }
449 449
450 bool WebViewHost::canHandleRequest(WebFrame*, const WebURLRequest& request)
451 {
452 return true;
453 }
454
455 WebURLError WebViewHost::cancelledError(WebFrame*, const WebURLRequest& request) 450 WebURLError WebViewHost::cancelledError(WebFrame*, const WebURLRequest& request)
456 { 451 {
457 return webkit_support::CreateCancelledError(request); 452 return webkit_support::CreateCancelledError(request);
458 } 453 }
459 454
460 void WebViewHost::unableToImplementPolicyWithError(WebFrame* frame, const WebURL Error& error) 455 void WebViewHost::unableToImplementPolicyWithError(WebFrame* frame, const WebURL Error& error)
461 { 456 {
462 } 457 }
463 458
464 void WebViewHost::didCreateDataSource(WebFrame*, WebDataSource* ds) 459 void WebViewHost::didCreateDataSource(WebFrame*, WebDataSource* ds)
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
1004 webView()->willExitFullScreen(); 999 webView()->willExitFullScreen();
1005 webView()->didExitFullScreen(); 1000 webView()->didExitFullScreen();
1006 } 1001 }
1007 1002
1008 webkit_support::TestMediaStreamClient* WebViewHost::testMediaStreamClient() 1003 webkit_support::TestMediaStreamClient* WebViewHost::testMediaStreamClient()
1009 { 1004 {
1010 if (!m_testMediaStreamClient.get()) 1005 if (!m_testMediaStreamClient.get())
1011 m_testMediaStreamClient = adoptPtr(new webkit_support::TestMediaStreamCl ient()); 1006 m_testMediaStreamClient = adoptPtr(new webkit_support::TestMediaStreamCl ient());
1012 return m_testMediaStreamClient.get(); 1007 return m_testMediaStreamClient.get();
1013 } 1008 }
OLDNEW
« no previous file with comments | « Tools/DumpRenderTree/chromium/WebViewHost.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698