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

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

Issue 2011673002: [DevTools] Add notifyPopupOpeningObservers call before running debug loop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 void didUpdateTopControls() const override; 180 void didUpdateTopControls() const override;
181 181
182 FloatSize elasticOverscroll() const override; 182 FloatSize elasticOverscroll() const override;
183 183
184 void didObserveNonGetFetchFromScript() const override; 184 void didObserveNonGetFetchFromScript() const override;
185 185
186 PassOwnPtr<WebFrameScheduler> createFrameScheduler(BlameContext*) override; 186 PassOwnPtr<WebFrameScheduler> createFrameScheduler(BlameContext*) override;
187 187
188 double lastFrameTimeMonotonic() const override; 188 double lastFrameTimeMonotonic() const override;
189 189
190 void willEnterDebugLoop() const override;
191
190 private: 192 private:
191 explicit ChromeClientImpl(WebViewImpl*); 193 explicit ChromeClientImpl(WebViewImpl*);
192 194
193 bool isChromeClientImpl() const override { return true; } 195 bool isChromeClientImpl() const override { return true; }
194 void registerPopupOpeningObserver(PopupOpeningObserver*) override; 196 void registerPopupOpeningObserver(PopupOpeningObserver*) override;
195 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override; 197 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override;
196 198
197 void notifyPopupOpeningObservers() const; 199 void notifyPopupOpeningObservers() const;
198 void setCursor(const WebCursorInfo&, LocalFrame* localRoot); 200 void setCursor(const WebCursorInfo&, LocalFrame* localRoot);
199 201
200 WebViewImpl* m_webView; // Weak pointer. 202 WebViewImpl* m_webView; // Weak pointer.
201 WindowFeatures m_windowFeatures; 203 WindowFeatures m_windowFeatures;
202 Vector<PopupOpeningObserver*> m_popupOpeningObservers; 204 Vector<PopupOpeningObserver*> m_popupOpeningObservers;
203 Cursor m_lastSetMouseCursorForTesting; 205 Cursor m_lastSetMouseCursorForTesting;
204 bool m_cursorOverridden; 206 bool m_cursorOverridden;
205 bool m_didRequestNonEmptyToolTip; 207 bool m_didRequestNonEmptyToolTip;
206 }; 208 };
207 209
208 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 210 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
209 211
210 } // namespace blink 212 } // namespace blink
211 213
212 #endif 214 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698