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

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

Issue 1303833002: Add WebPageImportanceSignals::issuedNonGetFetchFromScript() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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
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 964 matching lines...) Expand 10 before | Expand all | Expand 10 after
975 const Vector<PopupOpeningObserver*> observers(m_popupOpeningObservers); 975 const Vector<PopupOpeningObserver*> observers(m_popupOpeningObservers);
976 for (const auto& observer : observers) 976 for (const auto& observer : observers)
977 observer->willOpenPopup(); 977 observer->willOpenPopup();
978 } 978 }
979 979
980 FloatSize ChromeClientImpl::elasticOverscroll() const 980 FloatSize ChromeClientImpl::elasticOverscroll() const
981 { 981 {
982 return m_webView->elasticOverscroll(); 982 return m_webView->elasticOverscroll();
983 } 983 }
984 984
985 void ChromeClientImpl::observedNonGetXHR() const
986 {
987 m_webView->pageImportanceSignals().setIssuedNonGetXHR();
988 }
989
985 } // namespace blink 990 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698