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

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: CONTENT_EXPORT 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 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 const blink::WebWindowFeatures& features, 370 const blink::WebWindowFeatures& features,
371 const blink::WebString& frame_name, 371 const blink::WebString& frame_name,
372 blink::WebNavigationPolicy policy, 372 blink::WebNavigationPolicy policy,
373 bool suppress_opener); 373 bool suppress_opener);
374 virtual blink::WebWidget* createPopupMenu(blink::WebPopupType popup_type); 374 virtual blink::WebWidget* createPopupMenu(blink::WebPopupType popup_type);
375 virtual blink::WebStorageNamespace* createSessionStorageNamespace(); 375 virtual blink::WebStorageNamespace* createSessionStorageNamespace();
376 virtual void printPage(blink::WebLocalFrame* frame); 376 virtual void printPage(blink::WebLocalFrame* frame);
377 virtual bool enumerateChosenDirectory( 377 virtual bool enumerateChosenDirectory(
378 const blink::WebString& path, 378 const blink::WebString& path,
379 blink::WebFileChooserCompletion* chooser_completion); 379 blink::WebFileChooserCompletion* chooser_completion);
380 virtual void saveImageFromDataURL(const blink::WebString& data_url);
380 virtual void didCancelCompositionOnSelectionChange(); 381 virtual void didCancelCompositionOnSelectionChange();
381 virtual bool handleCurrentKeyboardEvent(); 382 virtual bool handleCurrentKeyboardEvent();
382 virtual bool runFileChooser( 383 virtual bool runFileChooser(
383 const blink::WebFileChooserParams& params, 384 const blink::WebFileChooserParams& params,
384 blink::WebFileChooserCompletion* chooser_completion); 385 blink::WebFileChooserCompletion* chooser_completion);
385 void SetValidationMessageDirection(base::string16* main_text, 386 void SetValidationMessageDirection(base::string16* main_text,
386 blink::WebTextDirection main_text_hint, 387 blink::WebTextDirection main_text_hint,
387 base::string16* sub_text, 388 base::string16* sub_text,
388 blink::WebTextDirection sub_text_hint); 389 blink::WebTextDirection sub_text_hint);
389 virtual void showValidationMessage(const blink::WebRect& anchor_in_root_view, 390 virtual void showValidationMessage(const blink::WebRect& anchor_in_root_view,
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after
1130 // use the Observer interface to filter IPC messages and receive frame change 1131 // use the Observer interface to filter IPC messages and receive frame change
1131 // notifications. 1132 // notifications.
1132 // --------------------------------------------------------------------------- 1133 // ---------------------------------------------------------------------------
1133 1134
1134 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1135 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1135 }; 1136 };
1136 1137
1137 } // namespace content 1138 } // namespace content
1138 1139
1139 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1140 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698