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

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

Issue 269723008: Add a WebWidget::paintCompositedDeprecated. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: paint-compositor-android: . 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
« no previous file with comments | « no previous file | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
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&, PaintOptions = ReadbackFromCo mpositorIfAvailable) OVERRIDE;
106 #if OS(ANDROID)
107 virtual void paintCompositedDeprecated(WebCanvas*, const WebRect&) OVERRIDE;
108 #endif
106 virtual bool compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback* ) OVERRIDE; 109 virtual bool compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback* ) OVERRIDE;
107 virtual bool isTrackingRepaints() const OVERRIDE; 110 virtual bool isTrackingRepaints() const OVERRIDE;
108 virtual void themeChanged() OVERRIDE; 111 virtual void themeChanged() OVERRIDE;
109 virtual bool handleInputEvent(const WebInputEvent&) OVERRIDE; 112 virtual bool handleInputEvent(const WebInputEvent&) OVERRIDE;
110 virtual void setCursorVisibilityState(bool isVisible) OVERRIDE; 113 virtual void setCursorVisibilityState(bool isVisible) OVERRIDE;
111 virtual bool hasTouchEventHandlersAt(const WebPoint&) OVERRIDE; 114 virtual bool hasTouchEventHandlersAt(const WebPoint&) OVERRIDE;
112 virtual void applyScrollAndScale(const WebSize&, float) OVERRIDE; 115 virtual void applyScrollAndScale(const WebSize&, float) OVERRIDE;
113 virtual void mouseCaptureLost() OVERRIDE; 116 virtual void mouseCaptureLost() OVERRIDE;
114 virtual void setFocus(bool enable) OVERRIDE; 117 virtual void setFocus(bool enable) OVERRIDE;
115 virtual bool setComposition( 118 virtual bool setComposition(
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 bool m_userGestureObserved; 730 bool m_userGestureObserved;
728 }; 731 };
729 732
730 // We have no ways to check if the specified WebView is an instance of 733 // We have no ways to check if the specified WebView is an instance of
731 // WebViewImpl because WebViewImpl is the only implementation of WebView. 734 // WebViewImpl because WebViewImpl is the only implementation of WebView.
732 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 735 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
733 736
734 } // namespace blink 737 } // namespace blink
735 738
736 #endif 739 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698