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

Side by Side Diff: Source/WebCore/platform/HostWindow.h

Issue 13818029: Remove TiledBacking / TileCache code (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 // Requests the host invalidate the contents and the root view. 44 // Requests the host invalidate the contents and the root view.
45 virtual void invalidateContentsAndRootView(const IntRect& updateRect) = 0; 45 virtual void invalidateContentsAndRootView(const IntRect& updateRect) = 0;
46 46
47 // Requests the host scroll backingstore by the specified delta, rect to scr oll, and clip rect. 47 // Requests the host scroll backingstore by the specified delta, rect to scr oll, and clip rect.
48 virtual void scroll(const IntSize& scrollDelta, const IntRect& rectToScroll, const IntRect& clipRect) = 0; 48 virtual void scroll(const IntSize& scrollDelta, const IntRect& rectToScroll, const IntRect& clipRect) = 0;
49 49
50 // Requests the host invalidate the contents, not the root view. This is the slow path for scrolling. 50 // Requests the host invalidate the contents, not the root view. This is the slow path for scrolling.
51 virtual void invalidateContentsForSlowScroll(const IntRect& updateRect) = 0; 51 virtual void invalidateContentsForSlowScroll(const IntRect& updateRect) = 0;
52 52
53 #if USE(TILED_BACKING_STORE)
54 // Requests the host to do the actual scrolling. This is only used in combin ation with a tiled backing store.
55 virtual void delegatedScrollRequested(const IntPoint& scrollPoint) = 0;
56 #endif
57
58 // Methods for doing coordinate conversions to and from screen coordinates. 53 // Methods for doing coordinate conversions to and from screen coordinates.
59 virtual IntPoint screenToRootView(const IntPoint&) const = 0; 54 virtual IntPoint screenToRootView(const IntPoint&) const = 0;
60 virtual IntRect rootViewToScreen(const IntRect&) const = 0; 55 virtual IntRect rootViewToScreen(const IntRect&) const = 0;
61 56
62 // Method for retrieving the native client of the page. 57 // Method for retrieving the native client of the page.
63 virtual PlatformPageClient platformPageClient() const = 0; 58 virtual PlatformPageClient platformPageClient() const = 0;
64 59
65 // To notify WebKit of scrollbar mode changes. 60 // To notify WebKit of scrollbar mode changes.
66 virtual void scrollbarsModeDidChange() const = 0; 61 virtual void scrollbarsModeDidChange() const = 0;
67 62
68 // Request that the cursor change. 63 // Request that the cursor change.
69 virtual void setCursor(const Cursor&) = 0; 64 virtual void setCursor(const Cursor&) = 0;
70 65
71 virtual void setCursorHiddenUntilMouseMoves(bool) = 0; 66 virtual void setCursorHiddenUntilMouseMoves(bool) = 0;
72 67
73 virtual void scheduleAnimation() = 0; 68 virtual void scheduleAnimation() = 0;
74 }; 69 };
75 70
76 } // namespace WebCore 71 } // namespace WebCore
77 72
78 #endif // HostWindow_h 73 #endif // HostWindow_h
OLDNEW
« no previous file with comments | « Source/WebCore/page/scrolling/ScrollingCoordinator.cpp ('k') | Source/WebCore/platform/ScrollView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698