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

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

Issue 1547893003: WIP - compositor worker mega patch. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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;
173 void schedulePostCommitTask(PassOwnPtr<Closure>) override;
172 FloatSize elasticOverscroll() const override; 174 FloatSize elasticOverscroll() const override;
173 175
174 void didObserveNonGetFetchFromScript() const override; 176 void didObserveNonGetFetchFromScript() const override;
175 177
176 PassOwnPtr<WebFrameScheduler> createFrameScheduler() override; 178 PassOwnPtr<WebFrameScheduler> createFrameScheduler() override;
177 179
178 private: 180 private:
179 explicit ChromeClientImpl(WebViewImpl*); 181 explicit ChromeClientImpl(WebViewImpl*);
180 182
181 bool isChromeClientImpl() const override { return true; } 183 bool isChromeClientImpl() const override { return true; }
182 void registerPopupOpeningObserver(PopupOpeningObserver*) override; 184 void registerPopupOpeningObserver(PopupOpeningObserver*) override;
183 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override; 185 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override;
184 186
185 void notifyPopupOpeningObservers() const; 187 void notifyPopupOpeningObservers() const;
186 void setCursor(const WebCursorInfo&, LocalFrame* localRoot); 188 void setCursor(const WebCursorInfo&, LocalFrame* localRoot);
187 189
188 WebViewImpl* m_webView; // Weak pointer. 190 WebViewImpl* m_webView; // Weak pointer.
189 WindowFeatures m_windowFeatures; 191 WindowFeatures m_windowFeatures;
190 Vector<PopupOpeningObserver*> m_popupOpeningObservers; 192 Vector<PopupOpeningObserver*> m_popupOpeningObservers;
191 Cursor m_lastSetMouseCursorForTesting; 193 Cursor m_lastSetMouseCursorForTesting;
192 bool m_cursorOverridden; 194 bool m_cursorOverridden;
193 bool m_didRequestNonEmptyToolTip; 195 bool m_didRequestNonEmptyToolTip;
194 }; 196 };
195 197
196 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 198 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
197 199
198 } // namespace blink 200 } // namespace blink
199 201
200 #endif 202 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698