OLD | NEW |
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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 LocalFrame*, const String& message, | 97 LocalFrame*, const String& message, |
98 const String& defaultValue, String& result) override; | 98 const String& defaultValue, String& result) override; |
99 void setStatusbarText(const String& message) override; | 99 void setStatusbarText(const String& message) override; |
100 bool tabsToLinks() override; | 100 bool tabsToLinks() override; |
101 IntRect windowResizerRect() const override; | 101 IntRect windowResizerRect() const override; |
102 void invalidateRect(const IntRect&) override; | 102 void invalidateRect(const IntRect&) override; |
103 void scheduleAnimation(Widget*) override; | 103 void scheduleAnimation(Widget*) override; |
104 IntRect viewportToScreen(const IntRect&, const Widget*) const override; | 104 IntRect viewportToScreen(const IntRect&, const Widget*) const override; |
105 float windowToViewportScalar(const float) const override; | 105 float windowToViewportScalar(const float) const override; |
106 WebScreenInfo screenInfo() const override; | 106 WebScreenInfo screenInfo() const override; |
| 107 WTF::Optional<IntRect> visibleContentRectForPainting() const override; |
107 void contentsSizeChanged(LocalFrame*, const IntSize&) const override; | 108 void contentsSizeChanged(LocalFrame*, const IntSize&) const override; |
108 void pageScaleFactorChanged() const override; | 109 void pageScaleFactorChanged() const override; |
109 float clampPageScaleFactorToLimits(float scale) const override; | 110 float clampPageScaleFactorToLimits(float scale) const override; |
| 111 void mainFrameScrollOffsetChanged() const override; |
110 void layoutUpdated(LocalFrame*) const override; | 112 void layoutUpdated(LocalFrame*) const override; |
111 void showMouseOverURL(const HitTestResult&) override; | 113 void showMouseOverURL(const HitTestResult&) override; |
112 void setToolTip(const String& tooltipText, TextDirection) override; | 114 void setToolTip(const String& tooltipText, TextDirection) override; |
113 void dispatchViewportPropertiesDidChange(const ViewportDescription&) const o
verride; | 115 void dispatchViewportPropertiesDidChange(const ViewportDescription&) const o
verride; |
114 void printDelegate(LocalFrame*) override; | 116 void printDelegate(LocalFrame*) override; |
115 void annotatedRegionsChanged() override; | 117 void annotatedRegionsChanged() override; |
116 ColorChooser* openColorChooser(LocalFrame*, ColorChooserClient*, const Color
&) override; | 118 ColorChooser* openColorChooser(LocalFrame*, ColorChooserClient*, const Color
&) override; |
117 DateTimeChooser* openDateTimeChooser(DateTimeChooserClient*, const DateTimeC
hooserParameters&) override; | 119 DateTimeChooser* openDateTimeChooser(DateTimeChooserClient*, const DateTimeC
hooserParameters&) override; |
118 void openFileChooser(LocalFrame*, PassRefPtr<FileChooser>) override; | 120 void openFileChooser(LocalFrame*, PassRefPtr<FileChooser>) override; |
119 void enumerateChosenDirectory(FileChooser*) override; | 121 void enumerateChosenDirectory(FileChooser*) override; |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 Cursor m_lastSetMouseCursorForTesting; | 207 Cursor m_lastSetMouseCursorForTesting; |
206 bool m_cursorOverridden; | 208 bool m_cursorOverridden; |
207 bool m_didRequestNonEmptyToolTip; | 209 bool m_didRequestNonEmptyToolTip; |
208 }; | 210 }; |
209 | 211 |
210 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); | 212 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); |
211 | 213 |
212 } // namespace blink | 214 } // namespace blink |
213 | 215 |
214 #endif | 216 #endif |
OLD | NEW |