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

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

Issue 1382593004: Allow out-of-process iframes to update the mouse cursor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits addressed Created 5 years, 2 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
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* localRoot) = 0;
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/EmptyClients.h ('k') | third_party/WebKit/Source/web/ChromeClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698