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

Side by Side Diff: Source/core/page/ChromeClient.h

Issue 1303833002: Add WebPageImportanceSignals::issuedNonGetFetchFromScript() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: hook DocumentThreadableLoader Created 5 years, 3 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) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, 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 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 class HitTestResult; 57 class HitTestResult;
58 class HTMLFormControlElement; 58 class HTMLFormControlElement;
59 class HTMLInputElement; 59 class HTMLInputElement;
60 class HTMLSelectElement; 60 class HTMLSelectElement;
61 class IntRect; 61 class IntRect;
62 class LocalFrame; 62 class LocalFrame;
63 class Node; 63 class Node;
64 class Page; 64 class Page;
65 class PopupOpeningObserver; 65 class PopupOpeningObserver;
66 class WebCompositorAnimationTimeline; 66 class WebCompositorAnimationTimeline;
67 class WebPageImportanceSignals;
tyoshino (SeeGerritForStatus) 2015/09/24 08:14:11 remove
kouhei (in TOK) 2015/09/25 03:22:00 Done.
67 68
68 struct CompositedSelection; 69 struct CompositedSelection;
69 struct DateTimeChooserParameters; 70 struct DateTimeChooserParameters;
70 struct FrameLoadRequest; 71 struct FrameLoadRequest;
71 struct GraphicsDeviceAdapter; 72 struct GraphicsDeviceAdapter;
72 struct ViewportDescription; 73 struct ViewportDescription;
73 struct WindowFeatures; 74 struct WindowFeatures;
74 75
75 class CORE_EXPORT ChromeClient : public HostWindow { 76 class CORE_EXPORT ChromeClient : public HostWindow {
76 public: 77 public:
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 245
245 virtual void onMouseDown(Node*) { } 246 virtual void onMouseDown(Node*) { }
246 247
247 virtual void didUpdateTopControls() const { } 248 virtual void didUpdateTopControls() const { }
248 249
249 virtual void registerPopupOpeningObserver(PopupOpeningObserver*) = 0; 250 virtual void registerPopupOpeningObserver(PopupOpeningObserver*) = 0;
250 virtual void unregisterPopupOpeningObserver(PopupOpeningObserver*) = 0; 251 virtual void unregisterPopupOpeningObserver(PopupOpeningObserver*) = 0;
251 252
252 virtual FloatSize elasticOverscroll() const { return FloatSize(); } 253 virtual FloatSize elasticOverscroll() const { return FloatSize(); }
253 254
255 virtual void observedNonGetFetchFromScript() const { }
tyoshino (SeeGerritForStatus) 2015/09/24 08:14:11 write a note to say that this doesn't capture all
kouhei (in TOK) 2015/09/25 03:22:00 Done.
256
254 protected: 257 protected:
255 ~ChromeClient() override { } 258 ~ChromeClient() override { }
256 259
257 virtual void showMouseOverURL(const HitTestResult&) = 0; 260 virtual void showMouseOverURL(const HitTestResult&) = 0;
258 virtual void setWindowRect(const IntRect&) = 0; 261 virtual void setWindowRect(const IntRect&) = 0;
259 virtual bool openBeforeUnloadConfirmPanelDelegate(LocalFrame*, const String& message) = 0; 262 virtual bool openBeforeUnloadConfirmPanelDelegate(LocalFrame*, const String& message) = 0;
260 virtual bool openJavaScriptAlertDelegate(LocalFrame*, const String&) = 0; 263 virtual bool openJavaScriptAlertDelegate(LocalFrame*, const String&) = 0;
261 virtual bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) = 0; 264 virtual bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) = 0;
262 virtual bool openJavaScriptPromptDelegate(LocalFrame*, const String& message , const String& defaultValue, String& result) = 0; 265 virtual bool openJavaScriptPromptDelegate(LocalFrame*, const String& message , const String& defaultValue, String& result) = 0;
263 virtual void printDelegate(LocalFrame*) = 0; 266 virtual void printDelegate(LocalFrame*) = 0;
264 267
265 private: 268 private:
266 bool canOpenModalIfDuringPageDismissal(Frame* mainFrame, DialogType, const S tring& message); 269 bool canOpenModalIfDuringPageDismissal(Frame* mainFrame, DialogType, const S tring& message);
267 void setToolTip(const HitTestResult&); 270 void setToolTip(const HitTestResult&);
268 }; 271 };
269 272
270 } // namespace blink 273 } // namespace blink
271 274
272 #endif // ChromeClient_h 275 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698