Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Side by Side Diff: third_party/WebKit/Source/web/ChromeClientImpl.h

Issue 1625473002: compositor-worker: blink->cc plumbing Base URL: https://chromium.googlesource.com/chromium/src.git@upstream-compositor-worker
Patch Set: Merge with landing of https://codereview.chromium.org/1599673002/ on master Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 void willSetInputMethodState() override; 162 void willSetInputMethodState() override;
163 void didUpdateTextOfFocusedElementByNonUserInput() override; 163 void didUpdateTextOfFocusedElementByNonUserInput() override;
164 void showImeIfNeeded() override; 164 void showImeIfNeeded() override;
165 165
166 void registerViewportLayers() const override; 166 void registerViewportLayers() const override;
167 167
168 void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) override; 168 void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) override;
169 void onMouseDown(Node*) override; 169 void onMouseDown(Node*) override;
170 void didUpdateTopControls() const override; 170 void didUpdateTopControls() const override;
171 171
172 CompositorProxyClient* createCompositorProxyClient() override;
172 FloatSize elasticOverscroll() const override; 173 FloatSize elasticOverscroll() const override;
173 174
174 void didObserveNonGetFetchFromScript() const override; 175 void didObserveNonGetFetchFromScript() const override;
175 176
176 PassOwnPtr<WebFrameScheduler> createFrameScheduler() override; 177 PassOwnPtr<WebFrameScheduler> createFrameScheduler() override;
177 178
178 private: 179 private:
179 explicit ChromeClientImpl(WebViewImpl*); 180 explicit ChromeClientImpl(WebViewImpl*);
180 181
181 bool isChromeClientImpl() const override { return true; } 182 bool isChromeClientImpl() const override { return true; }
182 void registerPopupOpeningObserver(PopupOpeningObserver*) override; 183 void registerPopupOpeningObserver(PopupOpeningObserver*) override;
183 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override; 184 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override;
184 185
185 void notifyPopupOpeningObservers() const; 186 void notifyPopupOpeningObservers() const;
186 void setCursor(const WebCursorInfo&, LocalFrame* localRoot); 187 void setCursor(const WebCursorInfo&, LocalFrame* localRoot);
187 188
188 WebViewImpl* m_webView; // Weak pointer. 189 WebViewImpl* m_webView; // Weak pointer.
189 WindowFeatures m_windowFeatures; 190 WindowFeatures m_windowFeatures;
190 Vector<PopupOpeningObserver*> m_popupOpeningObservers; 191 Vector<PopupOpeningObserver*> m_popupOpeningObservers;
191 Cursor m_lastSetMouseCursorForTesting; 192 Cursor m_lastSetMouseCursorForTesting;
192 bool m_cursorOverridden; 193 bool m_cursorOverridden;
193 bool m_didRequestNonEmptyToolTip; 194 bool m_didRequestNonEmptyToolTip;
194 }; 195 };
195 196
196 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 197 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
197 198
198 } // namespace blink 199 } // namespace blink
199 200
200 #endif 201 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698