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

Side by Side Diff: Source/web/WebViewImpl.h

Issue 264713014: Remove the composited path from WebViewImpl::paint(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: paint-compositor: Created 6 years, 7 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 virtual void resize(const WebSize&) OVERRIDE; 95 virtual void resize(const WebSize&) OVERRIDE;
96 virtual void resizePinchViewport(const WebSize&) OVERRIDE; 96 virtual void resizePinchViewport(const WebSize&) OVERRIDE;
97 virtual void willEndLiveResize() OVERRIDE; 97 virtual void willEndLiveResize() OVERRIDE;
98 virtual void willEnterFullScreen() OVERRIDE; 98 virtual void willEnterFullScreen() OVERRIDE;
99 virtual void didEnterFullScreen() OVERRIDE; 99 virtual void didEnterFullScreen() OVERRIDE;
100 virtual void willExitFullScreen() OVERRIDE; 100 virtual void willExitFullScreen() OVERRIDE;
101 virtual void didExitFullScreen() OVERRIDE; 101 virtual void didExitFullScreen() OVERRIDE;
102 virtual void animate(double) OVERRIDE; 102 virtual void animate(double) OVERRIDE;
103 virtual void layout() OVERRIDE; 103 virtual void layout() OVERRIDE;
104 virtual void enterForceCompositingMode(bool enable) OVERRIDE; 104 virtual void enterForceCompositingMode(bool enable) OVERRIDE;
105 virtual void paint(WebCanvas*, const WebRect&, PaintOptions = ReadbackFromCo mpositorIfAvailable) OVERRIDE; 105 virtual void paint(WebCanvas*, const WebRect&) OVERRIDE;
106 virtual bool compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback* ) OVERRIDE; 106 virtual bool compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback* ) OVERRIDE;
107 virtual bool isTrackingRepaints() const OVERRIDE; 107 virtual bool isTrackingRepaints() const OVERRIDE;
108 virtual void themeChanged() OVERRIDE; 108 virtual void themeChanged() OVERRIDE;
109 virtual bool handleInputEvent(const WebInputEvent&) OVERRIDE; 109 virtual bool handleInputEvent(const WebInputEvent&) OVERRIDE;
110 virtual void setCursorVisibilityState(bool isVisible) OVERRIDE; 110 virtual void setCursorVisibilityState(bool isVisible) OVERRIDE;
111 virtual bool hasTouchEventHandlersAt(const WebPoint&) OVERRIDE; 111 virtual bool hasTouchEventHandlersAt(const WebPoint&) OVERRIDE;
112 virtual void applyScrollAndScale(const WebSize&, float) OVERRIDE; 112 virtual void applyScrollAndScale(const WebSize&, float) OVERRIDE;
113 virtual void mouseCaptureLost() OVERRIDE; 113 virtual void mouseCaptureLost() OVERRIDE;
114 virtual void setFocus(bool enable) OVERRIDE; 114 virtual void setFocus(bool enable) OVERRIDE;
115 virtual bool setComposition( 115 virtual bool setComposition(
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 bool m_userGestureObserved; 727 bool m_userGestureObserved;
728 }; 728 };
729 729
730 // We have no ways to check if the specified WebView is an instance of 730 // We have no ways to check if the specified WebView is an instance of
731 // WebViewImpl because WebViewImpl is the only implementation of WebView. 731 // WebViewImpl because WebViewImpl is the only implementation of WebView.
732 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 732 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
733 733
734 } // namespace blink 734 } // namespace blink
735 735
736 #endif 736 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698