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

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

Issue 1303833002: Add WebPageImportanceSignals::issuedNonGetFetchFromScript() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: m_document\.page() not ->page() Created 5 years, 2 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 #include "public/web/WebAXObject.h" 70 #include "public/web/WebAXObject.h"
71 #include "public/web/WebAutofillClient.h" 71 #include "public/web/WebAutofillClient.h"
72 #include "public/web/WebColorChooser.h" 72 #include "public/web/WebColorChooser.h"
73 #include "public/web/WebColorSuggestion.h" 73 #include "public/web/WebColorSuggestion.h"
74 #include "public/web/WebConsoleMessage.h" 74 #include "public/web/WebConsoleMessage.h"
75 #include "public/web/WebFrameClient.h" 75 #include "public/web/WebFrameClient.h"
76 #include "public/web/WebInputElement.h" 76 #include "public/web/WebInputElement.h"
77 #include "public/web/WebInputEvent.h" 77 #include "public/web/WebInputEvent.h"
78 #include "public/web/WebKit.h" 78 #include "public/web/WebKit.h"
79 #include "public/web/WebNode.h" 79 #include "public/web/WebNode.h"
80 #include "public/web/WebPageImportanceSignals.h"
80 #include "public/web/WebPlugin.h" 81 #include "public/web/WebPlugin.h"
81 #include "public/web/WebPopupMenuInfo.h" 82 #include "public/web/WebPopupMenuInfo.h"
82 #include "public/web/WebSelection.h" 83 #include "public/web/WebSelection.h"
83 #include "public/web/WebSettings.h" 84 #include "public/web/WebSettings.h"
84 #include "public/web/WebTextDirection.h" 85 #include "public/web/WebTextDirection.h"
85 #include "public/web/WebTouchAction.h" 86 #include "public/web/WebTouchAction.h"
86 #include "public/web/WebUserGestureIndicator.h" 87 #include "public/web/WebUserGestureIndicator.h"
87 #include "public/web/WebUserGestureToken.h" 88 #include "public/web/WebUserGestureToken.h"
88 #include "public/web/WebViewClient.h" 89 #include "public/web/WebViewClient.h"
89 #include "public/web/WebWindowFeatures.h" 90 #include "public/web/WebWindowFeatures.h"
(...skipping 909 matching lines...) Expand 10 before | Expand all | Expand 10 after
999 const Vector<PopupOpeningObserver*> observers(m_popupOpeningObservers); 1000 const Vector<PopupOpeningObserver*> observers(m_popupOpeningObservers);
1000 for (const auto& observer : observers) 1001 for (const auto& observer : observers)
1001 observer->willOpenPopup(); 1002 observer->willOpenPopup();
1002 } 1003 }
1003 1004
1004 FloatSize ChromeClientImpl::elasticOverscroll() const 1005 FloatSize ChromeClientImpl::elasticOverscroll() const
1005 { 1006 {
1006 return m_webView->elasticOverscroll(); 1007 return m_webView->elasticOverscroll();
1007 } 1008 }
1008 1009
1010 void ChromeClientImpl::didObserveNonGetFetchFromScript() const
1011 {
1012 if (m_webView->pageImportanceSignals())
1013 m_webView->pageImportanceSignals()->setIssuedNonGetFetchFromScript();
1014 }
1015
1009 } // namespace blink 1016 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.h ('k') | third_party/WebKit/Source/web/WebPageImportanceSignals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698