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

Side by Side Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp

Issue 2449553002: Remove dead DocumentState metrics tracking code (Closed)
Patch Set: fix tests Created 4 years, 1 month 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 /* 1 /*
2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 m_webFrame->client()->didNavigateWithinPage( 410 m_webFrame->client()->didNavigateWithinPage(
411 m_webFrame, WebHistoryItem(item), 411 m_webFrame, WebHistoryItem(item),
412 static_cast<WebHistoryCommitType>(commitType), contentInitiated); 412 static_cast<WebHistoryCommitType>(commitType), contentInitiated);
413 } 413 }
414 414
415 void FrameLoaderClientImpl::dispatchWillCommitProvisionalLoad() { 415 void FrameLoaderClientImpl::dispatchWillCommitProvisionalLoad() {
416 if (m_webFrame->client()) 416 if (m_webFrame->client())
417 m_webFrame->client()->willCommitProvisionalLoad(m_webFrame); 417 m_webFrame->client()->willCommitProvisionalLoad(m_webFrame);
418 } 418 }
419 419
420 void FrameLoaderClientImpl::dispatchDidStartProvisionalLoad( 420 void FrameLoaderClientImpl::dispatchDidStartProvisionalLoad() {
421 double triggeringEventTime) {
422 if (m_webFrame->client()) 421 if (m_webFrame->client())
423 m_webFrame->client()->didStartProvisionalLoad(m_webFrame, 422 m_webFrame->client()->didStartProvisionalLoad(m_webFrame);
424 triggeringEventTime);
425 if (WebDevToolsAgentImpl* devTools = devToolsAgent()) 423 if (WebDevToolsAgentImpl* devTools = devToolsAgent())
426 devTools->didStartProvisionalLoad(m_webFrame->frame()); 424 devTools->didStartProvisionalLoad(m_webFrame->frame());
427 } 425 }
428 426
429 void FrameLoaderClientImpl::dispatchDidReceiveTitle(const String& title) { 427 void FrameLoaderClientImpl::dispatchDidReceiveTitle(const String& title) {
430 if (m_webFrame->client()) 428 if (m_webFrame->client())
431 m_webFrame->client()->didReceiveTitle(m_webFrame, title, 429 m_webFrame->client()->didReceiveTitle(m_webFrame, title,
432 WebTextDirectionLeftToRight); 430 WebTextDirectionLeftToRight);
433 } 431 }
434 432
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
977 WebDevToolsAgentImpl* FrameLoaderClientImpl::devToolsAgent() { 975 WebDevToolsAgentImpl* FrameLoaderClientImpl::devToolsAgent() {
978 return WebLocalFrameImpl::fromFrame(m_webFrame->frame()->localFrameRoot()) 976 return WebLocalFrameImpl::fromFrame(m_webFrame->frame()->localFrameRoot())
979 ->devToolsAgentImpl(); 977 ->devToolsAgentImpl();
980 } 978 }
981 979
982 KURL FrameLoaderClientImpl::overrideFlashEmbedWithHTML(const KURL& url) { 980 KURL FrameLoaderClientImpl::overrideFlashEmbedWithHTML(const KURL& url) {
983 return m_webFrame->client()->overrideFlashEmbedWithHTML(WebURL(url)); 981 return m_webFrame->client()->overrideFlashEmbedWithHTML(WebURL(url));
984 } 982 }
985 983
986 } // namespace blink 984 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698