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

Side by Side Diff: content/browser/renderer_host/render_view_host_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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 bool swapped_out, 150 bool swapped_out,
151 bool hidden); 151 bool hidden);
152 virtual ~RenderViewHostImpl(); 152 virtual ~RenderViewHostImpl();
153 153
154 // RenderViewHost implementation. 154 // RenderViewHost implementation.
155 virtual RenderFrameHost* GetMainFrame() OVERRIDE; 155 virtual RenderFrameHost* GetMainFrame() OVERRIDE;
156 virtual void AllowBindings(int binding_flags) OVERRIDE; 156 virtual void AllowBindings(int binding_flags) OVERRIDE;
157 virtual void ClearFocusedElement() OVERRIDE; 157 virtual void ClearFocusedElement() OVERRIDE;
158 virtual void ClosePage() OVERRIDE; 158 virtual void ClosePage() OVERRIDE;
159 virtual void CopyImageAt(int x, int y) OVERRIDE; 159 virtual void CopyImageAt(int x, int y) OVERRIDE;
160 virtual void SaveImageAt(int x, int y) OVERRIDE;
160 virtual void DirectoryEnumerationFinished( 161 virtual void DirectoryEnumerationFinished(
161 int request_id, 162 int request_id,
162 const std::vector<base::FilePath>& files) OVERRIDE; 163 const std::vector<base::FilePath>& files) OVERRIDE;
163 virtual void DisableScrollbarsForThreshold(const gfx::Size& size) OVERRIDE; 164 virtual void DisableScrollbarsForThreshold(const gfx::Size& size) OVERRIDE;
164 virtual void DragSourceEndedAt( 165 virtual void DragSourceEndedAt(
165 int client_x, int client_y, int screen_x, int screen_y, 166 int client_x, int client_y, int screen_x, int screen_y,
166 blink::WebDragOperation operation) OVERRIDE; 167 blink::WebDragOperation operation) OVERRIDE;
167 virtual void DragSourceSystemDragEnded() OVERRIDE; 168 virtual void DragSourceSystemDragEnded() OVERRIDE;
168 virtual void DragTargetDragEnter( 169 virtual void DragTargetDragEnter(
169 const DropData& drop_data, 170 const DropData& drop_data,
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 652 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
652 }; 653 };
653 654
654 #if defined(COMPILER_MSVC) 655 #if defined(COMPILER_MSVC)
655 #pragma warning(pop) 656 #pragma warning(pop)
656 #endif 657 #endif
657 658
658 } // namespace content 659 } // namespace content
659 660
660 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 661 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698