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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 263453007: Implement "Save image as" for canvas (chromium side). (Closed) Base URL: http://chromium.googlesource.com/chromium/src.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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after
749 void OnMoveCaret(const gfx::Point& point); 749 void OnMoveCaret(const gfx::Point& point);
750 void OnScrollFocusedEditableNodeIntoRect(const gfx::Rect& rect); 750 void OnScrollFocusedEditableNodeIntoRect(const gfx::Rect& rect);
751 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands); 751 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands);
752 void OnAllowBindings(int enabled_bindings_flags); 752 void OnAllowBindings(int enabled_bindings_flags);
753 void OnAllowScriptToClose(bool script_can_close); 753 void OnAllowScriptToClose(bool script_can_close);
754 void OnCancelDownload(int32 download_id); 754 void OnCancelDownload(int32 download_id);
755 void OnClearFocusedElement(); 755 void OnClearFocusedElement();
756 void OnClosePage(); 756 void OnClosePage();
757 void OnShowContextMenu(const gfx::Point& location); 757 void OnShowContextMenu(const gfx::Point& location);
758 void OnCopyImageAt(int x, int y); 758 void OnCopyImageAt(int x, int y);
759 void OnSaveImageAt(int x, int y);
759 void OnSetName(const std::string& name); 760 void OnSetName(const std::string& name);
760 void OnDeterminePageLanguage(); 761 void OnDeterminePageLanguage();
761 void OnDisableScrollbarsForSmallWindows( 762 void OnDisableScrollbarsForSmallWindows(
762 const gfx::Size& disable_scrollbars_size_limit); 763 const gfx::Size& disable_scrollbars_size_limit);
763 void OnDragSourceEnded(const gfx::Point& client_point, 764 void OnDragSourceEnded(const gfx::Point& client_point,
764 const gfx::Point& screen_point, 765 const gfx::Point& screen_point,
765 blink::WebDragOperation drag_operation); 766 blink::WebDragOperation drag_operation);
766 void OnDragSourceSystemDragEnded(); 767 void OnDragSourceSystemDragEnded();
767 void OnDragTargetDrop(const gfx::Point& client_pt, 768 void OnDragTargetDrop(const gfx::Point& client_pt,
768 const gfx::Point& screen_pt, 769 const gfx::Point& screen_pt,
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
1309 // use the Observer interface to filter IPC messages and receive frame change 1310 // use the Observer interface to filter IPC messages and receive frame change
1310 // notifications. 1311 // notifications.
1311 // --------------------------------------------------------------------------- 1312 // ---------------------------------------------------------------------------
1312 1313
1313 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1314 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1314 }; 1315 };
1315 1316
1316 } // namespace content 1317 } // namespace content
1317 1318
1318 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1319 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698