OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |