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

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

Issue 1603253003: Add dedicated windowToViewport method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) override; 87 bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) override;
88 bool openJavaScriptPromptDelegate( 88 bool openJavaScriptPromptDelegate(
89 LocalFrame*, const String& message, 89 LocalFrame*, const String& message,
90 const String& defaultValue, String& result) override; 90 const String& defaultValue, String& result) override;
91 void setStatusbarText(const String& message) override; 91 void setStatusbarText(const String& message) override;
92 bool tabsToLinks() override; 92 bool tabsToLinks() override;
93 IntRect windowResizerRect() const override; 93 IntRect windowResizerRect() const override;
94 void invalidateRect(const IntRect&) override; 94 void invalidateRect(const IntRect&) override;
95 void scheduleAnimation(Widget*) override; 95 void scheduleAnimation(Widget*) override;
96 IntRect viewportToScreen(const IntRect&) const override; 96 IntRect viewportToScreen(const IntRect&) const override;
97 FloatRect windowToViewport(const FloatRect&) const override;
97 WebScreenInfo screenInfo() const override; 98 WebScreenInfo screenInfo() const override;
98 void contentsSizeChanged(LocalFrame*, const IntSize&) const override; 99 void contentsSizeChanged(LocalFrame*, const IntSize&) const override;
99 void pageScaleFactorChanged() const override; 100 void pageScaleFactorChanged() const override;
100 float clampPageScaleFactorToLimits(float scale) const override; 101 float clampPageScaleFactorToLimits(float scale) const override;
101 void layoutUpdated(LocalFrame*) const override; 102 void layoutUpdated(LocalFrame*) const override;
102 void showMouseOverURL(const HitTestResult&) override; 103 void showMouseOverURL(const HitTestResult&) override;
103 void setToolTip(const String& tooltipText, TextDirection) override; 104 void setToolTip(const String& tooltipText, TextDirection) override;
104 void dispatchViewportPropertiesDidChange(const ViewportDescription&) const o verride; 105 void dispatchViewportPropertiesDidChange(const ViewportDescription&) const o verride;
105 void printDelegate(LocalFrame*) override; 106 void printDelegate(LocalFrame*) override;
106 void annotatedRegionsChanged() override; 107 void annotatedRegionsChanged() override;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 Cursor m_lastSetMouseCursorForTesting; 192 Cursor m_lastSetMouseCursorForTesting;
192 bool m_cursorOverridden; 193 bool m_cursorOverridden;
193 bool m_didRequestNonEmptyToolTip; 194 bool m_didRequestNonEmptyToolTip;
194 }; 195 };
195 196
196 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 197 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
197 198
198 } // namespace blink 199 } // namespace blink
199 200
200 #endif 201 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698