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

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

Issue 263253002: Make WebWidget::compositeAndReadbackAsync() return void. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: voidcompositeAndReadbackAsync: void 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
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) 106 #if OS(ANDROID)
107 virtual void paintCompositedDeprecated(WebCanvas*, const WebRect&) OVERRIDE; 107 virtual void paintCompositedDeprecated(WebCanvas*, const WebRect&) OVERRIDE;
108 #endif 108 #endif
109 virtual bool compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback* ) OVERRIDE; 109 virtual void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback* ) OVERRIDE;
110 virtual bool isTrackingRepaints() const OVERRIDE; 110 virtual bool isTrackingRepaints() const OVERRIDE;
111 virtual void themeChanged() OVERRIDE; 111 virtual void themeChanged() OVERRIDE;
112 virtual bool handleInputEvent(const WebInputEvent&) OVERRIDE; 112 virtual bool handleInputEvent(const WebInputEvent&) OVERRIDE;
113 virtual void setCursorVisibilityState(bool isVisible) OVERRIDE; 113 virtual void setCursorVisibilityState(bool isVisible) OVERRIDE;
114 virtual bool hasTouchEventHandlersAt(const WebPoint&) OVERRIDE; 114 virtual bool hasTouchEventHandlersAt(const WebPoint&) OVERRIDE;
115 virtual void applyScrollAndScale(const WebSize&, float) OVERRIDE; 115 virtual void applyScrollAndScale(const WebSize&, float) OVERRIDE;
116 virtual void mouseCaptureLost() OVERRIDE; 116 virtual void mouseCaptureLost() OVERRIDE;
117 virtual void setFocus(bool enable) OVERRIDE; 117 virtual void setFocus(bool enable) OVERRIDE;
118 virtual bool setComposition( 118 virtual bool setComposition(
119 const WebString& text, 119 const WebString& text,
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
730 bool m_userGestureObserved; 730 bool m_userGestureObserved;
731 }; 731 };
732 732
733 // 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
734 // WebViewImpl because WebViewImpl is the only implementation of WebView. 734 // WebViewImpl because WebViewImpl is the only implementation of WebView.
735 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 735 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
736 736
737 } // namespace blink 737 } // namespace blink
738 738
739 #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