Chromium Code Reviews| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 97 #include "web/WebFrameWidgetImpl.h" | 97 #include "web/WebFrameWidgetImpl.h" |
| 98 #include "web/WebInputEventConversion.h" | 98 #include "web/WebInputEventConversion.h" |
| 99 #include "web/WebLocalFrameImpl.h" | 99 #include "web/WebLocalFrameImpl.h" |
| 100 #include "web/WebPluginContainerImpl.h" | 100 #include "web/WebPluginContainerImpl.h" |
| 101 #include "web/WebSettingsImpl.h" | 101 #include "web/WebSettingsImpl.h" |
| 102 #include "web/WebViewImpl.h" | 102 #include "web/WebViewImpl.h" |
| 103 #include "wtf/text/CString.h" | 103 #include "wtf/text/CString.h" |
| 104 #include "wtf/text/CharacterNames.h" | 104 #include "wtf/text/CharacterNames.h" |
| 105 #include "wtf/text/StringBuilder.h" | 105 #include "wtf/text/StringBuilder.h" |
| 106 #include "wtf/text/StringConcatenate.h" | 106 #include "wtf/text/StringConcatenate.h" |
| 107 | 107 |
|
tyoshino (SeeGerritForStatus)
2015/09/24 08:14:11
WebPageImportanceSignals.h
kouhei (in TOK)
2015/09/25 03:22:00
Done.
| |
| 108 namespace blink { | 108 namespace blink { |
| 109 | 109 |
| 110 class WebCompositorAnimationTimeline; | 110 class WebCompositorAnimationTimeline; |
| 111 | 111 |
| 112 // Converts a AXObjectCache::AXNotification to a WebAXEvent | 112 // Converts a AXObjectCache::AXNotification to a WebAXEvent |
| 113 static WebAXEvent toWebAXEvent(AXObjectCache::AXNotification notification) | 113 static WebAXEvent toWebAXEvent(AXObjectCache::AXNotification notification) |
| 114 { | 114 { |
| 115 // These enums have the same values; enforced in AssertMatchingEnums.cpp. | 115 // These enums have the same values; enforced in AssertMatchingEnums.cpp. |
| 116 return static_cast<WebAXEvent>(notification); | 116 return static_cast<WebAXEvent>(notification); |
| 117 } | 117 } |
| (...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 994 const Vector<PopupOpeningObserver*> observers(m_popupOpeningObservers); | 994 const Vector<PopupOpeningObserver*> observers(m_popupOpeningObservers); |
| 995 for (const auto& observer : observers) | 995 for (const auto& observer : observers) |
| 996 observer->willOpenPopup(); | 996 observer->willOpenPopup(); |
| 997 } | 997 } |
| 998 | 998 |
| 999 FloatSize ChromeClientImpl::elasticOverscroll() const | 999 FloatSize ChromeClientImpl::elasticOverscroll() const |
| 1000 { | 1000 { |
| 1001 return m_webView->elasticOverscroll(); | 1001 return m_webView->elasticOverscroll(); |
| 1002 } | 1002 } |
| 1003 | 1003 |
| 1004 void ChromeClientImpl::observedNonGetFetchFromScript() const | |
| 1005 { | |
| 1006 m_webView->pageImportanceSignals().setIssuedNonGetFetchFromScript(); | |
| 1007 } | |
| 1008 | |
| 1004 } // namespace blink | 1009 } // namespace blink |
| OLD | NEW |