| 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 | 145 |
| 146 // ChromeClient methods: | 146 // ChromeClient methods: |
| 147 virtual void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotif
ication) override; | 147 virtual void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotif
ication) override; |
| 148 virtual String acceptLanguages() override; | 148 virtual String acceptLanguages() override; |
| 149 | 149 |
| 150 // ChromeClientImpl: | 150 // ChromeClientImpl: |
| 151 void setCursorForPlugin(const WebCursorInfo&); | 151 void setCursorForPlugin(const WebCursorInfo&); |
| 152 void setNewWindowNavigationPolicy(WebNavigationPolicy); | 152 void setNewWindowNavigationPolicy(WebNavigationPolicy); |
| 153 | 153 |
| 154 virtual bool hasOpenedPopup() const override; | 154 virtual bool hasOpenedPopup() const override; |
| 155 virtual PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, Popup
MenuClient*) const override; | 155 virtual PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, Popup
MenuClient*) override; |
| 156 PagePopup* openPagePopup(PagePopupClient*, const IntRect&); | 156 PagePopup* openPagePopup(PagePopupClient*, const IntRect&); |
| 157 void closePagePopup(PagePopup*); | 157 void closePagePopup(PagePopup*); |
| 158 virtual DOMWindow* pagePopupWindowForTesting() const override; | 158 virtual DOMWindow* pagePopupWindowForTesting() const override; |
| 159 | 159 |
| 160 virtual bool shouldRunModalDialogDuringPageDismissal(const DialogType&, cons
t String& dialogMessage, Document::PageDismissalType) const override; | 160 virtual bool shouldRunModalDialogDuringPageDismissal(const DialogType&, cons
t String& dialogMessage, Document::PageDismissalType) const override; |
| 161 | 161 |
| 162 virtual bool requestPointerLock() override; | 162 virtual bool requestPointerLock() override; |
| 163 virtual void requestPointerUnlock() override; | 163 virtual void requestPointerUnlock() override; |
| 164 | 164 |
| 165 // AutofillClient pass throughs: | 165 // AutofillClient pass throughs: |
| (...skipping 18 matching lines...) Expand all Loading... |
| 184 WindowFeatures m_windowFeatures; | 184 WindowFeatures m_windowFeatures; |
| 185 | 185 |
| 186 PagePopupDriver* m_pagePopupDriver; | 186 PagePopupDriver* m_pagePopupDriver; |
| 187 }; | 187 }; |
| 188 | 188 |
| 189 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); | 189 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); |
| 190 | 190 |
| 191 } // namespace blink | 191 } // namespace blink |
| 192 | 192 |
| 193 #endif | 193 #endif |
| OLD | NEW |