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

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

Issue 2290233007: Move convertViewportToWindow and convertWindowToViewport from (Closed)
Patch Set: add client to WebSharedWorkerImpl Created 4 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
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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) override; 95 bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) override;
96 bool openJavaScriptPromptDelegate( 96 bool openJavaScriptPromptDelegate(
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(LocalFrame&) const override; 101 IntRect windowResizerRect(LocalFrame&) 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 Widget&, const float) const override;
106 WebScreenInfo screenInfo() const override; 106 WebScreenInfo screenInfo() const override;
107 WTF::Optional<IntRect> visibleContentRectForPainting() const override; 107 WTF::Optional<IntRect> visibleContentRectForPainting() const override;
108 void contentsSizeChanged(LocalFrame*, const IntSize&) const override; 108 void contentsSizeChanged(LocalFrame*, const IntSize&) const override;
109 void pageScaleFactorChanged() const override; 109 void pageScaleFactorChanged() const override;
110 float clampPageScaleFactorToLimits(float scale) const override; 110 float clampPageScaleFactorToLimits(float scale) const override;
111 void mainFrameScrollOffsetChanged() const override; 111 void mainFrameScrollOffsetChanged() const override;
112 void layoutUpdated(LocalFrame*) const override; 112 void layoutUpdated(LocalFrame*) const override;
113 void showMouseOverURL(const HitTestResult&) override; 113 void showMouseOverURL(const HitTestResult&) override;
114 void setToolTip(const String& tooltipText, TextDirection) override; 114 void setToolTip(const String& tooltipText, TextDirection) override;
115 void dispatchViewportPropertiesDidChange(const ViewportDescription&) const o verride; 115 void dispatchViewportPropertiesDidChange(const ViewportDescription&) const o verride;
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 Cursor m_lastSetMouseCursorForTesting; 208 Cursor m_lastSetMouseCursorForTesting;
209 bool m_cursorOverridden; 209 bool m_cursorOverridden;
210 bool m_didRequestNonEmptyToolTip; 210 bool m_didRequestNonEmptyToolTip;
211 }; 211 };
212 212
213 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 213 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
214 214
215 } // namespace blink 215 } // namespace blink
216 216
217 #endif 217 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/Scrollbar.cpp ('k') | third_party/WebKit/Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698