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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
171 void willSetInputMethodState() override; | 171 void willSetInputMethodState() override; |
172 void didUpdateTextOfFocusedElementByNonUserInput() override; | 172 void didUpdateTextOfFocusedElementByNonUserInput() override; |
173 void showImeIfNeeded() override; | 173 void showImeIfNeeded() override; |
174 | 174 |
175 void registerViewportLayers() const override; | 175 void registerViewportLayers() const override; |
176 | 176 |
177 void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) override; | 177 void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) override; |
178 void onMouseDown(Node*) override; | 178 void onMouseDown(Node*) override; |
179 void didUpdateTopControls() const override; | 179 void didUpdateTopControls() const override; |
180 | 180 |
181 CompositorProxyClient* createCompositorProxyClient(LocalFrame* localRoot) ov erride; | |
jbroman
2016/04/29 19:42:22
If you take my advice elsewhere about the monotoni
flackr
2016/05/03 22:24:54
Right, removed.
| |
181 FloatSize elasticOverscroll() const override; | 182 FloatSize elasticOverscroll() const override; |
182 | 183 |
183 void didObserveNonGetFetchFromScript() const override; | 184 void didObserveNonGetFetchFromScript() const override; |
184 | 185 |
185 PassOwnPtr<WebFrameScheduler> createFrameScheduler(BlameContext*) override; | 186 PassOwnPtr<WebFrameScheduler> createFrameScheduler(BlameContext*) override; |
186 | 187 |
187 private: | 188 private: |
188 explicit ChromeClientImpl(WebViewImpl*); | 189 explicit ChromeClientImpl(WebViewImpl*); |
189 | 190 |
190 bool isChromeClientImpl() const override { return true; } | 191 bool isChromeClientImpl() const override { return true; } |
191 void registerPopupOpeningObserver(PopupOpeningObserver*) override; | 192 void registerPopupOpeningObserver(PopupOpeningObserver*) override; |
192 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override; | 193 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override; |
193 | 194 |
194 void notifyPopupOpeningObservers() const; | 195 void notifyPopupOpeningObservers() const; |
195 void setCursor(const WebCursorInfo&, LocalFrame* localRoot); | 196 void setCursor(const WebCursorInfo&, LocalFrame* localRoot); |
196 | 197 |
197 WebViewImpl* m_webView; // Weak pointer. | 198 WebViewImpl* m_webView; // Weak pointer. |
198 WindowFeatures m_windowFeatures; | 199 WindowFeatures m_windowFeatures; |
199 Vector<PopupOpeningObserver*> m_popupOpeningObservers; | 200 Vector<PopupOpeningObserver*> m_popupOpeningObservers; |
200 Cursor m_lastSetMouseCursorForTesting; | 201 Cursor m_lastSetMouseCursorForTesting; |
201 bool m_cursorOverridden; | 202 bool m_cursorOverridden; |
202 bool m_didRequestNonEmptyToolTip; | 203 bool m_didRequestNonEmptyToolTip; |
203 }; | 204 }; |
204 | 205 |
205 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); | 206 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); |
206 | 207 |
207 } // namespace blink | 208 } // namespace blink |
208 | 209 |
209 #endif | 210 #endif |
OLD | NEW |