Changeset 95982 in webkit
- Timestamp:
- Sep 26, 2011 12:58:00 PM (13 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r95978 r95982 1 2011-09-26 Anders Carlsson <andersca@apple.com> 2 3 Remove an old DrawingAreaProxy::paint member function 4 https://bugs.webkit.org/show_bug.cgi?id=68825 5 6 Reviewed by Dan Bernstein. 7 8 * UIProcess/DrawingAreaProxy.h: 9 * UIProcess/DrawingAreaProxyImpl.cpp: 10 * UIProcess/DrawingAreaProxyImpl.h: 11 * UIProcess/TiledDrawingAreaProxy.cpp: 12 * UIProcess/TiledDrawingAreaProxy.h: 13 1 14 2011-09-26 Jer Noble <jer.noble@apple.com> 2 15 -
trunk/Source/WebKit2/UIProcess/DrawingAreaProxy.h
r95901 r95982 55 55 class WebPageProxy; 56 56 57 #if PLATFORM(MAC)58 typedef CGContextRef PlatformDrawingContext;59 #elif PLATFORM(WIN)60 typedef HDC PlatformDrawingContext;61 #elif PLATFORM(QT)62 typedef QPainter* PlatformDrawingContext;63 #elif PLATFORM(GTK)64 typedef cairo_t* PlatformDrawingContext;65 #endif66 67 57 class DrawingAreaProxy { 68 58 WTF_MAKE_NONCOPYABLE(DrawingAreaProxy); … … 74 64 75 65 void didReceiveDrawingAreaProxyMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*); 76 77 // Returns true if painting was successful, false otherwise.78 virtual bool paint(const WebCore::IntRect&, PlatformDrawingContext) = 0;79 66 80 67 virtual void deviceScaleFactorDidChange() = 0; -
trunk/Source/WebKit2/UIProcess/DrawingAreaProxyImpl.cpp
r95901 r95982 107 107 } 108 108 109 bool DrawingAreaProxyImpl::paint(const WebCore::IntRect&, PlatformDrawingContext)110 {111 ASSERT_NOT_REACHED();112 return false;113 }114 115 109 void DrawingAreaProxyImpl::sizeDidChange() 116 110 { -
trunk/Source/WebKit2/UIProcess/DrawingAreaProxyImpl.h
r95901 r95982 51 51 52 52 // DrawingAreaProxy 53 virtual bool paint(const WebCore::IntRect&, PlatformDrawingContext);54 53 virtual void sizeDidChange(); 55 54 virtual void deviceScaleFactorDidChange(); -
trunk/Source/WebKit2/UIProcess/TiledDrawingAreaProxy.cpp
r95901 r95982 117 117 } 118 118 119 bool TiledDrawingAreaProxy::paint(const WebCore::IntRect& rect, PlatformDrawingContext context)120 {121 notImplemented();122 return false;123 }124 125 126 119 } // namespace WebKit 127 120 -
trunk/Source/WebKit2/UIProcess/TiledDrawingAreaProxy.h
r95901 r95982 86 86 87 87 // DrawingAreaProxy 88 virtual bool paint(const WebCore::IntRect&, PlatformDrawingContext);89 88 virtual void sizeDidChange(); 90 89 virtual void deviceScaleFactorDidChange();
Note: See TracChangeset
for help on using the changeset viewer.