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

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
« no previous file with comments | « Source/web/ContextMenuClientImpl.cpp ('k') | 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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 const WebSize& maxSize) OVERRIDE; 205 const WebSize& maxSize) OVERRIDE;
206 virtual void disableAutoResizeMode() OVERRIDE; 206 virtual void disableAutoResizeMode() OVERRIDE;
207 virtual void performMediaPlayerAction( 207 virtual void performMediaPlayerAction(
208 const WebMediaPlayerAction& action, 208 const WebMediaPlayerAction& action,
209 const WebPoint& location) OVERRIDE; 209 const WebPoint& location) OVERRIDE;
210 virtual void performPluginAction( 210 virtual void performPluginAction(
211 const WebPluginAction&, 211 const WebPluginAction&,
212 const WebPoint&) OVERRIDE; 212 const WebPoint&) OVERRIDE;
213 virtual WebHitTestResult hitTestResultAt(const WebPoint&) OVERRIDE; 213 virtual WebHitTestResult hitTestResultAt(const WebPoint&) OVERRIDE;
214 virtual void copyImageAt(const WebPoint&) OVERRIDE; 214 virtual void copyImageAt(const WebPoint&) OVERRIDE;
215 virtual void saveImageAt(const WebPoint&) OVERRIDE;
215 virtual void dragSourceEndedAt( 216 virtual void dragSourceEndedAt(
216 const WebPoint& clientPoint, 217 const WebPoint& clientPoint,
217 const WebPoint& screenPoint, 218 const WebPoint& screenPoint,
218 WebDragOperation) OVERRIDE; 219 WebDragOperation) OVERRIDE;
219 virtual void dragSourceSystemDragEnded() OVERRIDE; 220 virtual void dragSourceSystemDragEnded() OVERRIDE;
220 virtual WebDragOperation dragTargetDragEnter( 221 virtual WebDragOperation dragTargetDragEnter(
221 const WebDragData&, 222 const WebDragData&,
222 const WebPoint& clientPoint, 223 const WebPoint& clientPoint,
223 const WebPoint& screenPoint, 224 const WebPoint& screenPoint,
224 WebDragOperationsMask operationsAllowed, 225 WebDragOperationsMask operationsAllowed,
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
730 bool m_userGestureObserved; 731 bool m_userGestureObserved;
731 }; 732 };
732 733
733 // We have no ways to check if the specified WebView is an instance of 734 // We have no ways to check if the specified WebView is an instance of
734 // WebViewImpl because WebViewImpl is the only implementation of WebView. 735 // WebViewImpl because WebViewImpl is the only implementation of WebView.
735 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 736 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
736 737
737 } // namespace blink 738 } // namespace blink
738 739
739 #endif 740 #endif
OLDNEW
« no previous file with comments | « Source/web/ContextMenuClientImpl.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698