| 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 void clearCompositedSelection() override; | 128 void clearCompositedSelection() override; |
| 129 void updateCompositedSelection(const CompositedSelection&) override; | 129 void updateCompositedSelection(const CompositedSelection&) override; |
| 130 | 130 |
| 131 // ChromeClient methods: | 131 // ChromeClient methods: |
| 132 void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotification)
override; | 132 void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotification)
override; |
| 133 String acceptLanguages() override; | 133 String acceptLanguages() override; |
| 134 | 134 |
| 135 // ChromeClientImpl: | 135 // ChromeClientImpl: |
| 136 void setCursorForPlugin(const WebCursorInfo&); | 136 void setCursorForPlugin(const WebCursorInfo&); |
| 137 void setNewWindowNavigationPolicy(WebNavigationPolicy); | 137 void setNewWindowNavigationPolicy(WebNavigationPolicy); |
| 138 void setCursorOverride(const Cursor&); |
| 138 | 139 |
| 139 bool hasOpenedPopup() const override; | 140 bool hasOpenedPopup() const override; |
| 140 PassRefPtrWillBeRawPtr<PopupMenu> openPopupMenu(LocalFrame&, HTMLSelectEleme
nt&) override; | 141 PassRefPtrWillBeRawPtr<PopupMenu> openPopupMenu(LocalFrame&, HTMLSelectEleme
nt&) override; |
| 141 PagePopup* openPagePopup(PagePopupClient*); | 142 PagePopup* openPagePopup(PagePopupClient*); |
| 142 void closePagePopup(PagePopup*); | 143 void closePagePopup(PagePopup*); |
| 143 DOMWindow* pagePopupWindowForTesting() const override; | 144 DOMWindow* pagePopupWindowForTesting() const override; |
| 144 | 145 |
| 145 bool shouldOpenModalDialogDuringPageDismissal(const DialogType&, const Strin
g& dialogMessage, Document::PageDismissalType) const override; | 146 bool shouldOpenModalDialogDuringPageDismissal(const DialogType&, const Strin
g& dialogMessage, Document::PageDismissalType) const override; |
| 146 | 147 |
| 147 bool requestPointerLock() override; | 148 bool requestPointerLock() override; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 176 void registerPopupOpeningObserver(PopupOpeningObserver*) override; | 177 void registerPopupOpeningObserver(PopupOpeningObserver*) override; |
| 177 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override; | 178 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override; |
| 178 | 179 |
| 179 void notifyPopupOpeningObservers() const; | 180 void notifyPopupOpeningObservers() const; |
| 180 void setCursor(const WebCursorInfo&); | 181 void setCursor(const WebCursorInfo&); |
| 181 | 182 |
| 182 WebViewImpl* m_webView; // Weak pointer. | 183 WebViewImpl* m_webView; // Weak pointer. |
| 183 WindowFeatures m_windowFeatures; | 184 WindowFeatures m_windowFeatures; |
| 184 Vector<PopupOpeningObserver*> m_popupOpeningObservers; | 185 Vector<PopupOpeningObserver*> m_popupOpeningObservers; |
| 185 Cursor m_lastSetMouseCursorForTesting; | 186 Cursor m_lastSetMouseCursorForTesting; |
| 187 Cursor m_overrideCursor; |
| 186 }; | 188 }; |
| 187 | 189 |
| 188 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); | 190 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); |
| 189 | 191 |
| 190 } // namespace blink | 192 } // namespace blink |
| 191 | 193 |
| 192 #endif | 194 #endif |
| OLD | NEW |