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

Side by Side Diff: third_party/WebKit/Source/core/page/ChromeClient.h

Issue 1978763004: Drag image should always use the real device scale factor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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) 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 bool openJavaScriptAlert(LocalFrame*, const String&); 150 bool openJavaScriptAlert(LocalFrame*, const String&);
151 bool openJavaScriptConfirm(LocalFrame*, const String&); 151 bool openJavaScriptConfirm(LocalFrame*, const String&);
152 bool openJavaScriptPrompt(LocalFrame*, const String& message, const String& defaultValue, String& result); 152 bool openJavaScriptPrompt(LocalFrame*, const String& message, const String& defaultValue, String& result);
153 virtual void setStatusbarText(const String&) = 0; 153 virtual void setStatusbarText(const String&) = 0;
154 virtual bool tabsToLinks() = 0; 154 virtual bool tabsToLinks() = 0;
155 155
156 virtual void* webView() const = 0; 156 virtual void* webView() const = 0;
157 157
158 virtual IntRect windowResizerRect() const = 0; 158 virtual IntRect windowResizerRect() const = 0;
159 159
160 virtual float nonEmulatedDeviceScaleFactor() const = 0;
161
160 // Methods used by HostWindow. 162 // Methods used by HostWindow.
161 virtual WebScreenInfo screenInfo() const = 0; 163 virtual WebScreenInfo screenInfo() const = 0;
162 virtual void setCursor(const Cursor&, LocalFrame* localRoot) = 0; 164 virtual void setCursor(const Cursor&, LocalFrame* localRoot) = 0;
163 // End methods used by HostWindow. 165 // End methods used by HostWindow.
164 virtual Cursor lastSetCursorForTesting() const = 0; 166 virtual Cursor lastSetCursorForTesting() const = 0;
165 167
166 virtual void dispatchViewportPropertiesDidChange(const ViewportDescription&) const { } 168 virtual void dispatchViewportPropertiesDidChange(const ViewportDescription&) const { }
167 169
168 virtual void contentsSizeChanged(LocalFrame*, const IntSize&) const = 0; 170 virtual void contentsSizeChanged(LocalFrame*, const IntSize&) const = 0;
169 virtual void pageScaleFactorChanged() const { } 171 virtual void pageScaleFactorChanged() const { }
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 300
299 LayoutPoint m_lastToolTipPoint; 301 LayoutPoint m_lastToolTipPoint;
300 String m_lastToolTipText; 302 String m_lastToolTipText;
301 303
302 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); 304 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood);
303 }; 305 };
304 306
305 } // namespace blink 307 } // namespace blink
306 308
307 #endif // ChromeClient_h 309 #endif // ChromeClient_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/EmptyClients.h ('k') | third_party/WebKit/Source/core/page/DragController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698