| 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 virtual bool requestPointerLock() override; | 160 virtual bool requestPointerLock() override; |
| 161 virtual void requestPointerUnlock() override; | 161 virtual void requestPointerUnlock() override; |
| 162 | 162 |
| 163 // AutofillClient pass throughs: | 163 // AutofillClient pass throughs: |
| 164 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem
ber<Element>>&, LocalFrame*) override; | 164 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem
ber<Element>>&, LocalFrame*) override; |
| 165 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent
&) override; | 165 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent
&) override; |
| 166 virtual void didChangeValueInTextField(HTMLFormControlElement&) override; | 166 virtual void didChangeValueInTextField(HTMLFormControlElement&) override; |
| 167 virtual void didEndEditingOnTextField(HTMLInputElement&) override; | 167 virtual void didEndEditingOnTextField(HTMLInputElement&) override; |
| 168 virtual void openTextDataListChooser(HTMLInputElement&) override; | 168 virtual void openTextDataListChooser(HTMLInputElement&) override; |
| 169 virtual void textFieldDataListChanged(HTMLInputElement&) override; | 169 virtual void textFieldDataListChanged(HTMLInputElement&) override; |
| 170 virtual void xhrSucceeded(LocalFrame*) override; |
| 170 | 171 |
| 171 virtual void didCancelCompositionOnSelectionChange() override; | 172 virtual void didCancelCompositionOnSelectionChange() override; |
| 172 virtual void willSetInputMethodState() override; | 173 virtual void willSetInputMethodState() override; |
| 173 virtual void didUpdateTextOfFocusedElementByNonUserInput() override; | 174 virtual void didUpdateTextOfFocusedElementByNonUserInput() override; |
| 174 virtual void showImeIfNeeded() override; | 175 virtual void showImeIfNeeded() override; |
| 175 | 176 |
| 176 virtual void registerViewportLayers() const override; | 177 virtual void registerViewportLayers() const override; |
| 177 | 178 |
| 178 virtual void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) override; | 179 virtual void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) override; |
| 179 virtual void didUpdateTopControls() const override; | 180 virtual void didUpdateTopControls() const override; |
| 180 | 181 |
| 181 private: | 182 private: |
| 182 virtual bool isChromeClientImpl() const override { return true; } | 183 virtual bool isChromeClientImpl() const override { return true; } |
| 183 | 184 |
| 184 WebNavigationPolicy getNavigationPolicy(const WindowFeatures&); | 185 WebNavigationPolicy getNavigationPolicy(const WindowFeatures&); |
| 185 void setCursor(const WebCursorInfo&); | 186 void setCursor(const WebCursorInfo&); |
| 186 | 187 |
| 187 WebViewImpl* m_webView; // weak pointer | 188 WebViewImpl* m_webView; // weak pointer |
| 188 WindowFeatures m_windowFeatures; | 189 WindowFeatures m_windowFeatures; |
| 189 | 190 |
| 190 PagePopupDriver* m_pagePopupDriver; | 191 PagePopupDriver* m_pagePopupDriver; |
| 191 }; | 192 }; |
| 192 | 193 |
| 193 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); | 194 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); |
| 194 | 195 |
| 195 } // namespace blink | 196 } // namespace blink |
| 196 | 197 |
| 197 #endif | 198 #endif |
| OLD | NEW |