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

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

Issue 1303833002: Add WebPageImportanceSignals::issuedNonGetFetchFromScript() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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 | Annotate | Revision Log
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 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 onMouseDown(Node*) override;
168 void didUpdateTopControls() const override; 168 void didUpdateTopControls() const override;
169 169
170 FloatSize elasticOverscroll() const override; 170 FloatSize elasticOverscroll() const override;
171 171
172 void observedNonGetXHR() const override;
173
172 private: 174 private:
173 explicit ChromeClientImpl(WebViewImpl*); 175 explicit ChromeClientImpl(WebViewImpl*);
174 176
175 bool isChromeClientImpl() const override { return true; } 177 bool isChromeClientImpl() const override { return true; }
176 void registerPopupOpeningObserver(PopupOpeningObserver*) override; 178 void registerPopupOpeningObserver(PopupOpeningObserver*) override;
177 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override; 179 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override;
178 180
179 void notifyPopupOpeningObservers() const; 181 void notifyPopupOpeningObservers() const;
180 void setCursor(const WebCursorInfo&); 182 void setCursor(const WebCursorInfo&);
181 183
182 WebViewImpl* m_webView; // Weak pointer. 184 WebViewImpl* m_webView; // Weak pointer.
183 WindowFeatures m_windowFeatures; 185 WindowFeatures m_windowFeatures;
184 Vector<PopupOpeningObserver*> m_popupOpeningObservers; 186 Vector<PopupOpeningObserver*> m_popupOpeningObservers;
185 Cursor m_lastSetMouseCursorForTesting; 187 Cursor m_lastSetMouseCursorForTesting;
186 }; 188 };
187 189
188 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 190 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
189 191
190 } // namespace blink 192 } // namespace blink
191 193
192 #endif 194 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698