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

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

Issue 1911273002: Don't restart the ImageQualityController timer unless it is already half over. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
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 1093 matching lines...) Expand 10 before | Expand all | Expand 10 after
1104 { 1104 {
1105 if (m_webView->pageImportanceSignals()) 1105 if (m_webView->pageImportanceSignals())
1106 m_webView->pageImportanceSignals()->setIssuedNonGetFetchFromScript(); 1106 m_webView->pageImportanceSignals()->setIssuedNonGetFetchFromScript();
1107 } 1107 }
1108 1108
1109 PassOwnPtr<WebFrameScheduler> ChromeClientImpl::createFrameScheduler(BlameContex t* blameContext) 1109 PassOwnPtr<WebFrameScheduler> ChromeClientImpl::createFrameScheduler(BlameContex t* blameContext)
1110 { 1110 {
1111 return adoptPtr(m_webView->scheduler()->createFrameScheduler(blameContext).r elease()); 1111 return adoptPtr(m_webView->scheduler()->createFrameScheduler(blameContext).r elease());
1112 } 1112 }
1113 1113
1114 double ChromeClientImpl::lastFrameTimeMonotonic() const
1115 {
1116 return m_webView->lastFrameTimeMonotonic();
1117 }
1118
1114 } // namespace blink 1119 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.h ('k') | third_party/WebKit/Source/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698