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

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

Issue 255563004: Implement "Save image as" for canvas (blink side). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 const WebSize& maxSize) OVERRIDE; 201 const WebSize& maxSize) OVERRIDE;
202 virtual void disableAutoResizeMode() OVERRIDE; 202 virtual void disableAutoResizeMode() OVERRIDE;
203 virtual void performMediaPlayerAction( 203 virtual void performMediaPlayerAction(
204 const WebMediaPlayerAction& action, 204 const WebMediaPlayerAction& action,
205 const WebPoint& location) OVERRIDE; 205 const WebPoint& location) OVERRIDE;
206 virtual void performPluginAction( 206 virtual void performPluginAction(
207 const WebPluginAction&, 207 const WebPluginAction&,
208 const WebPoint&) OVERRIDE; 208 const WebPoint&) OVERRIDE;
209 virtual WebHitTestResult hitTestResultAt(const WebPoint&) OVERRIDE; 209 virtual WebHitTestResult hitTestResultAt(const WebPoint&) OVERRIDE;
210 virtual void copyImageAt(const WebPoint&) OVERRIDE; 210 virtual void copyImageAt(const WebPoint&) OVERRIDE;
211 virtual void saveImageAt(const WebPoint&) OVERRIDE;
211 virtual void dragSourceEndedAt( 212 virtual void dragSourceEndedAt(
212 const WebPoint& clientPoint, 213 const WebPoint& clientPoint,
213 const WebPoint& screenPoint, 214 const WebPoint& screenPoint,
214 WebDragOperation) OVERRIDE; 215 WebDragOperation) OVERRIDE;
215 virtual void dragSourceSystemDragEnded() OVERRIDE; 216 virtual void dragSourceSystemDragEnded() OVERRIDE;
216 virtual WebDragOperation dragTargetDragEnter( 217 virtual WebDragOperation dragTargetDragEnter(
217 const WebDragData&, 218 const WebDragData&,
218 const WebPoint& clientPoint, 219 const WebPoint& clientPoint,
219 const WebPoint& screenPoint, 220 const WebPoint& screenPoint,
220 WebDragOperationsMask operationsAllowed, 221 WebDragOperationsMask operationsAllowed,
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 bool m_userGestureObserved; 727 bool m_userGestureObserved;
727 }; 728 };
728 729
729 // 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
730 // WebViewImpl because WebViewImpl is the only implementation of WebView. 731 // WebViewImpl because WebViewImpl is the only implementation of WebView.
731 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 732 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
732 733
733 } // namespace blink 734 } // namespace blink
734 735
735 #endif 736 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698