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

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

Issue 889803004: Add touchpad pinch zoom support to Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update tests Created 5 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) 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 virtual void setCursor(const Cursor&) = 0; 138 virtual void setCursor(const Cursor&) = 0;
139 virtual void scheduleAnimation() = 0; 139 virtual void scheduleAnimation() = 0;
140 // End methods used by HostWindow. 140 // End methods used by HostWindow.
141 141
142 virtual void scheduleAnimationForFrame(LocalFrame*) { } 142 virtual void scheduleAnimationForFrame(LocalFrame*) { }
143 143
144 virtual void dispatchViewportPropertiesDidChange(const ViewportDescription&) const { } 144 virtual void dispatchViewportPropertiesDidChange(const ViewportDescription&) const { }
145 145
146 virtual void contentsSizeChanged(LocalFrame*, const IntSize&) const = 0; 146 virtual void contentsSizeChanged(LocalFrame*, const IntSize&) const = 0;
147 virtual void pageScaleFactorChanged() const { } 147 virtual void pageScaleFactorChanged() const { }
148 virtual float clampPageScaleFactorToLimits(float scale) const { return scale ; }
148 virtual void layoutUpdated(LocalFrame*) const { } 149 virtual void layoutUpdated(LocalFrame*) const { }
149 150
150 virtual void mouseDidMoveOverElement(const HitTestResult&) = 0; 151 virtual void mouseDidMoveOverElement(const HitTestResult&) = 0;
151 152
152 virtual void setToolTip(const String&, TextDirection) = 0; 153 virtual void setToolTip(const String&, TextDirection) = 0;
153 154
154 virtual void print(LocalFrame*) = 0; 155 virtual void print(LocalFrame*) = 0;
155 156
156 virtual void annotatedRegionsChanged() = 0; 157 virtual void annotatedRegionsChanged() = 0;
157 158
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 234
234 virtual void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) { } 235 virtual void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) { }
235 236
236 protected: 237 protected:
237 virtual ~ChromeClient() { } 238 virtual ~ChromeClient() { }
238 }; 239 };
239 240
240 } // namespace blink 241 } // namespace blink
241 242
242 #endif // ChromeClient_h 243 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698