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

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

Issue 1447563002: Implement frame attribution (FrameBlamer) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup. Created 4 years, 9 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 void registerViewportLayers() const override; 171 void registerViewportLayers() const override;
172 172
173 void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) override; 173 void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) override;
174 void onMouseDown(Node*) override; 174 void onMouseDown(Node*) override;
175 void didUpdateTopControls() const override; 175 void didUpdateTopControls() const override;
176 176
177 FloatSize elasticOverscroll() const override; 177 FloatSize elasticOverscroll() const override;
178 178
179 void didObserveNonGetFetchFromScript() const override; 179 void didObserveNonGetFetchFromScript() const override;
180 180
181 PassOwnPtr<WebFrameScheduler> createFrameScheduler() override; 181 PassOwnPtr<WebFrameScheduler> createFrameScheduler(BlameContext*) override;
182 182
183 private: 183 private:
184 explicit ChromeClientImpl(WebViewImpl*); 184 explicit ChromeClientImpl(WebViewImpl*);
185 185
186 bool isChromeClientImpl() const override { return true; } 186 bool isChromeClientImpl() const override { return true; }
187 void registerPopupOpeningObserver(PopupOpeningObserver*) override; 187 void registerPopupOpeningObserver(PopupOpeningObserver*) override;
188 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override; 188 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override;
189 189
190 void notifyPopupOpeningObservers() const; 190 void notifyPopupOpeningObservers() const;
191 void setCursor(const WebCursorInfo&, LocalFrame* localRoot); 191 void setCursor(const WebCursorInfo&, LocalFrame* localRoot);
192 192
193 WebViewImpl* m_webView; // Weak pointer. 193 WebViewImpl* m_webView; // Weak pointer.
194 WindowFeatures m_windowFeatures; 194 WindowFeatures m_windowFeatures;
195 Vector<PopupOpeningObserver*> m_popupOpeningObservers; 195 Vector<PopupOpeningObserver*> m_popupOpeningObservers;
196 Cursor m_lastSetMouseCursorForTesting; 196 Cursor m_lastSetMouseCursorForTesting;
197 bool m_cursorOverridden; 197 bool m_cursorOverridden;
198 bool m_didRequestNonEmptyToolTip; 198 bool m_didRequestNonEmptyToolTip;
199 }; 199 };
200 200
201 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 201 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
202 202
203 } // namespace blink 203 } // namespace blink
204 204
205 #endif 205 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698