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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
133 bool openJavaScriptPrompt(LocalFrame*, const String& message, const String& defaultValue, String& result); | 133 bool openJavaScriptPrompt(LocalFrame*, const String& message, const String& defaultValue, String& result); |
134 virtual void setStatusbarText(const String&) = 0; | 134 virtual void setStatusbarText(const String&) = 0; |
135 virtual bool tabsToLinks() = 0; | 135 virtual bool tabsToLinks() = 0; |
136 | 136 |
137 virtual void* webView() const = 0; | 137 virtual void* webView() const = 0; |
138 | 138 |
139 virtual IntRect windowResizerRect() const = 0; | 139 virtual IntRect windowResizerRect() const = 0; |
140 | 140 |
141 // Methods used by HostWindow. | 141 // Methods used by HostWindow. |
142 virtual WebScreenInfo screenInfo() const = 0; | 142 virtual WebScreenInfo screenInfo() const = 0; |
143 virtual void setCursor(const Cursor&) = 0; | 143 virtual void setCursor(const Cursor&, LocalFrame*) = 0; |
dcheng
2015/10/14 17:13:52
Explicitly name this parameter, since it can't jus
kenrb
2015/10/14 17:42:30
Done.
| |
144 // End methods used by HostWindow. | 144 // End methods used by HostWindow. |
145 virtual Cursor lastSetCursorForTesting() const = 0; | 145 virtual Cursor lastSetCursorForTesting() const = 0; |
146 | 146 |
147 virtual void scheduleAnimationForFrame(LocalFrame*) { } | 147 virtual void scheduleAnimationForFrame(LocalFrame*) { } |
148 | 148 |
149 virtual void dispatchViewportPropertiesDidChange(const ViewportDescription&) const { } | 149 virtual void dispatchViewportPropertiesDidChange(const ViewportDescription&) const { } |
150 | 150 |
151 virtual void contentsSizeChanged(LocalFrame*, const IntSize&) const = 0; | 151 virtual void contentsSizeChanged(LocalFrame*, const IntSize&) const = 0; |
152 virtual void pageScaleFactorChanged() const { } | 152 virtual void pageScaleFactorChanged() const { } |
153 virtual float clampPageScaleFactorToLimits(float scale) const { return scale ; } | 153 virtual float clampPageScaleFactorToLimits(float scale) const { return scale ; } |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
269 virtual void printDelegate(LocalFrame*) = 0; | 269 virtual void printDelegate(LocalFrame*) = 0; |
270 | 270 |
271 private: | 271 private: |
272 bool canOpenModalIfDuringPageDismissal(Frame* mainFrame, DialogType, const S tring& message); | 272 bool canOpenModalIfDuringPageDismissal(Frame* mainFrame, DialogType, const S tring& message); |
273 void setToolTip(const HitTestResult&); | 273 void setToolTip(const HitTestResult&); |
274 }; | 274 }; |
275 | 275 |
276 } // namespace blink | 276 } // namespace blink |
277 | 277 |
278 #endif // ChromeClient_h | 278 #endif // ChromeClient_h |
OLD | NEW |