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