| 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 759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 770 info->selectedIndex = popupContainer->selectedIndex(); | 770 info->selectedIndex = popupContainer->selectedIndex(); |
| 771 info->items.swap(outputItems); | 771 info->items.swap(outputItems); |
| 772 info->rightAligned = popupContainer->menuStyle().textDirection() == RTL; | 772 info->rightAligned = popupContainer->menuStyle().textDirection() == RTL; |
| 773 } | 773 } |
| 774 | 774 |
| 775 void ChromeClientImpl::postAccessibilityNotification(AXObject* obj, AXObjectCach
e::AXNotification notification) | 775 void ChromeClientImpl::postAccessibilityNotification(AXObject* obj, AXObjectCach
e::AXNotification notification) |
| 776 { | 776 { |
| 777 // Alert assistive technology about the accessibility object notification. | 777 // Alert assistive technology about the accessibility object notification. |
| 778 if (!obj) | 778 if (!obj) |
| 779 return; | 779 return; |
| 780 | 780 if (m_webView->client()) |
| 781 m_webView->client()->postAccessibilityEvent(WebAXObject(obj), toWebAXEvent(n
otification)); | 781 m_webView->client()->postAccessibilityEvent(WebAXObject(obj), toWebAXEve
nt(notification)); |
| 782 } | 782 } |
| 783 | 783 |
| 784 String ChromeClientImpl::acceptLanguages() | 784 String ChromeClientImpl::acceptLanguages() |
| 785 { | 785 { |
| 786 return m_webView->client()->acceptLanguages(); | 786 return m_webView->client()->acceptLanguages(); |
| 787 } | 787 } |
| 788 | 788 |
| 789 bool ChromeClientImpl::paintCustomOverhangArea(GraphicsContext* context, const I
ntRect& horizontalOverhangArea, const IntRect& verticalOverhangArea, const IntRe
ct& dirtyRect) | 789 bool ChromeClientImpl::paintCustomOverhangArea(GraphicsContext* context, const I
ntRect& horizontalOverhangArea, const IntRect& verticalOverhangArea, const IntRe
ct& dirtyRect) |
| 790 { | 790 { |
| 791 Frame* frame = m_webView->mainFrameImpl()->frame(); | 791 Frame* frame = m_webView->mainFrameImpl()->frame(); |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1036 notImplemented(); | 1036 notImplemented(); |
| 1037 return NavigatorContentUtilsClient::CustomHandlersDeclined; | 1037 return NavigatorContentUtilsClient::CustomHandlersDeclined; |
| 1038 } | 1038 } |
| 1039 | 1039 |
| 1040 void NavigatorContentUtilsClientImpl::unregisterProtocolHandler(const String& sc
heme, const String& baseURL, const String& url) | 1040 void NavigatorContentUtilsClientImpl::unregisterProtocolHandler(const String& sc
heme, const String& baseURL, const String& url) |
| 1041 { | 1041 { |
| 1042 notImplemented(); | 1042 notImplemented(); |
| 1043 } | 1043 } |
| 1044 | 1044 |
| 1045 } // namespace blink | 1045 } // namespace blink |
| OLD | NEW |