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

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

Issue 8714006: Add autoresize capability for Chromium. (Closed) Base URL: http://git.chromium.org/external/WebKit_trimmed.git@master
Patch Set: Created 9 years 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 Apple, Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 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 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 virtual void scrollbarsModeDidChange() const = 0; 159 virtual void scrollbarsModeDidChange() const = 0;
160 virtual void setCursor(const Cursor&) = 0; 160 virtual void setCursor(const Cursor&) = 0;
161 virtual void setCursorHiddenUntilMouseMoves(bool) = 0; 161 virtual void setCursorHiddenUntilMouseMoves(bool) = 0;
162 #if ENABLE(REQUEST_ANIMATION_FRAME) && !USE(REQUEST_ANIMATION_FRAME_TIMER) 162 #if ENABLE(REQUEST_ANIMATION_FRAME) && !USE(REQUEST_ANIMATION_FRAME_TIMER)
163 virtual void scheduleAnimation() = 0; 163 virtual void scheduleAnimation() = 0;
164 #endif 164 #endif
165 // End methods used by HostWindow. 165 // End methods used by HostWindow.
166 166
167 virtual void dispatchViewportPropertiesDidChange(const ViewportArguments &) const { } 167 virtual void dispatchViewportPropertiesDidChange(const ViewportArguments &) const { }
168 168
169 virtual void layoutBeforeScrollbarUpdate(Frame*) { }
169 virtual void contentsSizeChanged(Frame*, const IntSize&) const = 0; 170 virtual void contentsSizeChanged(Frame*, const IntSize&) const = 0;
170 virtual void layoutUpdated(Frame*) const { } 171 virtual void layoutUpdated(Frame*) const { }
171 virtual void scrollRectIntoView(const IntRect&) const { }; // Currently only Mac has a non empty implementation. 172 virtual void scrollRectIntoView(const IntRect&) const { }; // Currently only Mac has a non empty implementation.
172 173
173 virtual bool shouldMissingPluginMessageBeButton() const { return false; } 174 virtual bool shouldMissingPluginMessageBeButton() const { return false; }
174 virtual void missingPluginButtonClicked(Element*) const { } 175 virtual void missingPluginButtonClicked(Element*) const { }
175 virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned modi fierFlags) = 0; 176 virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned modi fierFlags) = 0;
176 177
177 virtual void setToolTip(const String&, TextDirection) = 0; 178 virtual void setToolTip(const String&, TextDirection) = 0;
178 179
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 339
339 virtual bool isSVGImageChromeClient() const { return false; } 340 virtual bool isSVGImageChromeClient() const { return false; }
340 341
341 protected: 342 protected:
342 virtual ~ChromeClient() { } 343 virtual ~ChromeClient() { }
343 }; 344 };
344 345
345 } 346 }
346 347
347 #endif // ChromeClient_h 348 #endif // ChromeClient_h
OLDNEW
« no previous file with comments | « no previous file | Source/WebCore/page/FrameView.cpp » ('j') | Source/WebKit/chromium/src/WebViewImpl.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698