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

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

Issue 518693002: Fix a crash when saving a <canvas> or <img> image which is large. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 const blink::WebWindowFeatures& features, 371 const blink::WebWindowFeatures& features,
372 const blink::WebString& frame_name, 372 const blink::WebString& frame_name,
373 blink::WebNavigationPolicy policy, 373 blink::WebNavigationPolicy policy,
374 bool suppress_opener); 374 bool suppress_opener);
375 virtual blink::WebWidget* createPopupMenu(blink::WebPopupType popup_type); 375 virtual blink::WebWidget* createPopupMenu(blink::WebPopupType popup_type);
376 virtual blink::WebStorageNamespace* createSessionStorageNamespace(); 376 virtual blink::WebStorageNamespace* createSessionStorageNamespace();
377 virtual void printPage(blink::WebLocalFrame* frame); 377 virtual void printPage(blink::WebLocalFrame* frame);
378 virtual bool enumerateChosenDirectory( 378 virtual bool enumerateChosenDirectory(
379 const blink::WebString& path, 379 const blink::WebString& path,
380 blink::WebFileChooserCompletion* chooser_completion); 380 blink::WebFileChooserCompletion* chooser_completion);
381 virtual void saveImageFromDataURL(const blink::WebString& data_url);
381 virtual void didCancelCompositionOnSelectionChange(); 382 virtual void didCancelCompositionOnSelectionChange();
382 virtual bool handleCurrentKeyboardEvent(); 383 virtual bool handleCurrentKeyboardEvent();
383 virtual bool runFileChooser( 384 virtual bool runFileChooser(
384 const blink::WebFileChooserParams& params, 385 const blink::WebFileChooserParams& params,
385 blink::WebFileChooserCompletion* chooser_completion); 386 blink::WebFileChooserCompletion* chooser_completion);
386 virtual void showValidationMessage(const blink::WebRect& anchor_in_root_view, 387 virtual void showValidationMessage(const blink::WebRect& anchor_in_root_view,
387 const blink::WebString& main_text, 388 const blink::WebString& main_text,
388 const blink::WebString& sub_text, 389 const blink::WebString& sub_text,
389 blink::WebTextDirection hint) OVERRIDE; 390 blink::WebTextDirection hint) OVERRIDE;
390 virtual void hideValidationMessage() OVERRIDE; 391 virtual void hideValidationMessage() OVERRIDE;
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after
1128 // use the Observer interface to filter IPC messages and receive frame change 1129 // use the Observer interface to filter IPC messages and receive frame change
1129 // notifications. 1130 // notifications.
1130 // --------------------------------------------------------------------------- 1131 // ---------------------------------------------------------------------------
1131 1132
1132 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1133 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1133 }; 1134 };
1134 1135
1135 } // namespace content 1136 } // namespace content
1136 1137
1137 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1138 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698