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 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
715 } | 715 } |
716 | 716 |
717 void ChromeClientImpl::setCursorOverridden(bool overridden) | 717 void ChromeClientImpl::setCursorOverridden(bool overridden) |
718 { | 718 { |
719 m_cursorOverridden = overridden; | 719 m_cursorOverridden = overridden; |
720 } | 720 } |
721 | 721 |
722 void ChromeClientImpl::postAccessibilityNotification(AXObject* obj, AXObjectCach
e::AXNotification notification) | 722 void ChromeClientImpl::postAccessibilityNotification(AXObject* obj, AXObjectCach
e::AXNotification notification) |
723 { | 723 { |
724 // Alert assistive technology about the accessibility object notification. | 724 // Alert assistive technology about the accessibility object notification. |
725 if (!obj || !obj->document()) | 725 if (!obj || !obj->getDocument()) |
726 return; | 726 return; |
727 | 727 |
728 WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(obj->document()->
axObjectCacheOwner().frame()); | 728 WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(obj->getDocument(
)->axObjectCacheOwner().frame()); |
729 if (webframe && webframe->client()) | 729 if (webframe && webframe->client()) |
730 webframe->client()->postAccessibilityEvent(WebAXObject(obj), toWebAXEven
t(notification)); | 730 webframe->client()->postAccessibilityEvent(WebAXObject(obj), toWebAXEven
t(notification)); |
731 } | 731 } |
732 | 732 |
733 String ChromeClientImpl::acceptLanguages() | 733 String ChromeClientImpl::acceptLanguages() |
734 { | 734 { |
735 return m_webView->client()->acceptLanguages(); | 735 return m_webView->client()->acceptLanguages(); |
736 } | 736 } |
737 | 737 |
738 GraphicsLayerFactory* ChromeClientImpl::graphicsLayerFactory() const | 738 GraphicsLayerFactory* ChromeClientImpl::graphicsLayerFactory() const |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1058 if (m_webView->pageImportanceSignals()) | 1058 if (m_webView->pageImportanceSignals()) |
1059 m_webView->pageImportanceSignals()->setIssuedNonGetFetchFromScript(); | 1059 m_webView->pageImportanceSignals()->setIssuedNonGetFetchFromScript(); |
1060 } | 1060 } |
1061 | 1061 |
1062 PassOwnPtr<WebFrameScheduler> ChromeClientImpl::createFrameScheduler() | 1062 PassOwnPtr<WebFrameScheduler> ChromeClientImpl::createFrameScheduler() |
1063 { | 1063 { |
1064 return m_webView->scheduler()->createFrameScheduler().release(); | 1064 return m_webView->scheduler()->createFrameScheduler().release(); |
1065 } | 1065 } |
1066 | 1066 |
1067 } // namespace blink | 1067 } // namespace blink |
OLD | NEW |