OLD | NEW |
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 class HitTestResult; | 56 class HitTestResult; |
57 class HTMLFormControlElement; | 57 class HTMLFormControlElement; |
58 class HTMLInputElement; | 58 class HTMLInputElement; |
59 class HTMLSelectElement; | 59 class HTMLSelectElement; |
60 class IntRect; | 60 class IntRect; |
61 class LocalFrame; | 61 class LocalFrame; |
62 class Node; | 62 class Node; |
63 class Page; | 63 class Page; |
64 class PopupOpeningObserver; | 64 class PopupOpeningObserver; |
65 class WebCompositorAnimationTimeline; | 65 class WebCompositorAnimationTimeline; |
| 66 class WebPageImportanceSignals; |
66 | 67 |
67 struct CompositedSelection; | 68 struct CompositedSelection; |
68 struct DateTimeChooserParameters; | 69 struct DateTimeChooserParameters; |
69 struct FrameLoadRequest; | 70 struct FrameLoadRequest; |
70 struct GraphicsDeviceAdapter; | 71 struct GraphicsDeviceAdapter; |
71 struct ViewportDescription; | 72 struct ViewportDescription; |
72 struct WindowFeatures; | 73 struct WindowFeatures; |
73 | 74 |
74 class CORE_EXPORT ChromeClient : public HostWindow { | 75 class CORE_EXPORT ChromeClient : public HostWindow { |
75 public: | 76 public: |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 | 241 |
241 virtual void onMouseDown(Node*) { } | 242 virtual void onMouseDown(Node*) { } |
242 | 243 |
243 virtual void didUpdateTopControls() const { } | 244 virtual void didUpdateTopControls() const { } |
244 | 245 |
245 virtual void registerPopupOpeningObserver(PopupOpeningObserver*) = 0; | 246 virtual void registerPopupOpeningObserver(PopupOpeningObserver*) = 0; |
246 virtual void unregisterPopupOpeningObserver(PopupOpeningObserver*) = 0; | 247 virtual void unregisterPopupOpeningObserver(PopupOpeningObserver*) = 0; |
247 | 248 |
248 virtual FloatSize elasticOverscroll() const { return FloatSize(); } | 249 virtual FloatSize elasticOverscroll() const { return FloatSize(); } |
249 | 250 |
| 251 virtual void observedNonGetXHR() const { } |
| 252 |
250 protected: | 253 protected: |
251 ~ChromeClient() override { } | 254 ~ChromeClient() override { } |
252 | 255 |
253 virtual void showMouseOverURL(const HitTestResult&) = 0; | 256 virtual void showMouseOverURL(const HitTestResult&) = 0; |
254 virtual void setWindowRect(const IntRect&) = 0; | 257 virtual void setWindowRect(const IntRect&) = 0; |
255 virtual bool openBeforeUnloadConfirmPanelDelegate(LocalFrame*, const String&
message) = 0; | 258 virtual bool openBeforeUnloadConfirmPanelDelegate(LocalFrame*, const String&
message) = 0; |
256 virtual bool openJavaScriptAlertDelegate(LocalFrame*, const String&) = 0; | 259 virtual bool openJavaScriptAlertDelegate(LocalFrame*, const String&) = 0; |
257 virtual bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) = 0; | 260 virtual bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) = 0; |
258 virtual bool openJavaScriptPromptDelegate(LocalFrame*, const String& message
, const String& defaultValue, String& result) = 0; | 261 virtual bool openJavaScriptPromptDelegate(LocalFrame*, const String& message
, const String& defaultValue, String& result) = 0; |
259 virtual void printDelegate(LocalFrame*) = 0; | 262 virtual void printDelegate(LocalFrame*) = 0; |
260 | 263 |
261 private: | 264 private: |
262 bool canOpenModalIfDuringPageDismissal(Frame* mainFrame, DialogType, const S
tring& message); | 265 bool canOpenModalIfDuringPageDismissal(Frame* mainFrame, DialogType, const S
tring& message); |
263 void setToolTip(const HitTestResult&); | 266 void setToolTip(const HitTestResult&); |
264 }; | 267 }; |
265 | 268 |
266 } // namespace blink | 269 } // namespace blink |
267 | 270 |
268 #endif // ChromeClient_h | 271 #endif // ChromeClient_h |
OLD | NEW |