summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/plugins/createScriptableObject-before-start-expected.txt
diff options
context:
space:
mode:
authorandersca <andersca@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2007-05-24 01:01:02 +0000
committerandersca <andersca@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2007-05-24 01:01:02 +0000
commit7460d816218d11a284fa70b5d67303a75f5fd9f9 (patch)
treeb07f4097b3af01f2c08119be46e163bb2e9dbd95 /third_party/WebKit/LayoutTests/plugins/createScriptableObject-before-start-expected.txt
parent033ef3b45ed63073aeb70957358ad760f232e891 (diff)
downloadchromium_src-7460d816218d11a284fa70b5d67303a75f5fd9f9.zip
chromium_src-7460d816218d11a284fa70b5d67303a75f5fd9f9.tar.gz
chromium_src-7460d816218d11a284fa70b5d67303a75f5fd9f9.tar.bz2
Reviewed by Geoff.
<rdar://problem/3663808> Resize large images to fit in the browser window * WebCore.exp: Add new settings method. * loader/ImageDocument.cpp: (WebCore::ImageEventListener::ImageEventListener): New class that handles resize events and click events and forwards them to the image document. (WebCore::ImageTokenizer::ImageTokenizer): (WebCore::ImageTokenizer::writeRawData): (WebCore::ImageTokenizer::finish): (WebCore::ImageDocument::ImageDocument): (WebCore::ImageDocument::createDocumentStructure): (WebCore::ImageDocument::cachedImage): Let the ImageDocument class keep track of its document structure. (WebCore::ImageDocument::scale): Returns the scale that should be used when resizing the image. (WebCore::ImageDocument::resizeImage): Update the image size. (WebCore::ImageDocument::imageClicked): Toggle between resized and not resized. When restoring the size, scroll the image so that the area under the mouse stays the same. (WebCore::ImageDocument::imageChanged): When the image size is known, resize the image if needed. (WebCore::ImageDocument::restoreImageSize): Restore the image size. (WebCore::ImageDocument::imageNeedsResizing): Return whether the image is too big for its window or not. (WebCore::ImageDocument::windowSizeChanged): Called when the window's size changes. Determine if the window fits or not and resize it if it doesn't fit. (WebCore::ImageEventListener::handleEvent): Forward events to the image document. * page/Settings.cpp: (WebCore::Settings::Settings): (WebCore::Settings::setEnableAutomaticImageResizing): * page/Settings.h: (WebCore::Settings::enableAutomaticImageResizing): Add new setting. git-svn-id: svn://svn.chromium.org/blink/trunk@21686 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/LayoutTests/plugins/createScriptableObject-before-start-expected.txt')
0 files changed, 0 insertions, 0 deletions