| 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 void xhrSucceeded(LocalFrame*) override; | 157 void xhrSucceeded(LocalFrame*) override; |
| 158 | 158 |
| 159 void didCancelCompositionOnSelectionChange() override; | 159 void didCancelCompositionOnSelectionChange() override; |
| 160 void willSetInputMethodState() override; | 160 void willSetInputMethodState() override; |
| 161 void didUpdateTextOfFocusedElementByNonUserInput() override; | 161 void didUpdateTextOfFocusedElementByNonUserInput() override; |
| 162 void showImeIfNeeded() override; | 162 void showImeIfNeeded() override; |
| 163 | 163 |
| 164 void registerViewportLayers() const override; | 164 void registerViewportLayers() const override; |
| 165 | 165 |
| 166 void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) override; | 166 void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) override; |
| 167 void onMouseDown(Node*) override; |
| 167 void didUpdateTopControls() const override; | 168 void didUpdateTopControls() const override; |
| 168 | 169 |
| 169 private: | 170 private: |
| 170 bool isChromeClientImpl() const override { return true; } | 171 bool isChromeClientImpl() const override { return true; } |
| 171 void registerPopupOpeningObserver(PopupOpeningObserver*) override; | 172 void registerPopupOpeningObserver(PopupOpeningObserver*) override; |
| 172 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override; | 173 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override; |
| 173 | 174 |
| 174 void notifyPopupOpeningObservers() const; | 175 void notifyPopupOpeningObservers() const; |
| 175 void setCursor(const WebCursorInfo&); | 176 void setCursor(const WebCursorInfo&); |
| 176 | 177 |
| 177 WebViewImpl* m_webView; // Weak pointer. | 178 WebViewImpl* m_webView; // Weak pointer. |
| 178 WindowFeatures m_windowFeatures; | 179 WindowFeatures m_windowFeatures; |
| 179 Vector<PopupOpeningObserver*> m_popupOpeningObservers; | 180 Vector<PopupOpeningObserver*> m_popupOpeningObservers; |
| 180 Cursor m_lastSetMouseCursorForTesting; | 181 Cursor m_lastSetMouseCursorForTesting; |
| 181 }; | 182 }; |
| 182 | 183 |
| 183 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); | 184 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); |
| 184 | 185 |
| 185 } // namespace blink | 186 } // namespace blink |
| 186 | 187 |
| 187 #endif | 188 #endif |
| OLD | NEW |