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

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

Issue 1836973003: Move download messages from Renderer to Frame filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 const blink::WebWindowFeatures& features, 340 const blink::WebWindowFeatures& features,
341 const blink::WebString& frame_name, 341 const blink::WebString& frame_name,
342 blink::WebNavigationPolicy policy, 342 blink::WebNavigationPolicy policy,
343 bool suppress_opener) override; 343 bool suppress_opener) override;
344 blink::WebWidget* createPopupMenu(blink::WebPopupType popup_type) override; 344 blink::WebWidget* createPopupMenu(blink::WebPopupType popup_type) override;
345 blink::WebStorageNamespace* createSessionStorageNamespace() override; 345 blink::WebStorageNamespace* createSessionStorageNamespace() override;
346 void printPage(blink::WebLocalFrame* frame) override; 346 void printPage(blink::WebLocalFrame* frame) override;
347 bool enumerateChosenDirectory( 347 bool enumerateChosenDirectory(
348 const blink::WebString& path, 348 const blink::WebString& path,
349 blink::WebFileChooserCompletion* chooser_completion) override; 349 blink::WebFileChooserCompletion* chooser_completion) override;
350 void saveImageFromDataURL(const blink::WebString& data_url) override;
351 void didCancelCompositionOnSelectionChange() override; 350 void didCancelCompositionOnSelectionChange() override;
352 bool handleCurrentKeyboardEvent() override; 351 bool handleCurrentKeyboardEvent() override;
353 bool runFileChooser( 352 bool runFileChooser(
354 const blink::WebFileChooserParams& params, 353 const blink::WebFileChooserParams& params,
355 blink::WebFileChooserCompletion* chooser_completion) override; 354 blink::WebFileChooserCompletion* chooser_completion) override;
356 void SetValidationMessageDirection(base::string16* main_text, 355 void SetValidationMessageDirection(base::string16* main_text,
357 blink::WebTextDirection main_text_hint, 356 blink::WebTextDirection main_text_hint,
358 base::string16* sub_text, 357 base::string16* sub_text,
359 blink::WebTextDirection sub_text_hint); 358 blink::WebTextDirection sub_text_hint);
360 void showValidationMessage(const blink::WebRect& anchor_in_viewport, 359 void showValidationMessage(const blink::WebRect& anchor_in_viewport,
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
612 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands); 611 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands);
613 void OnAllowBindings(int enabled_bindings_flags); 612 void OnAllowBindings(int enabled_bindings_flags);
614 void OnAllowScriptToClose(bool script_can_close); 613 void OnAllowScriptToClose(bool script_can_close);
615 void OnCancelDownload(int32_t download_id); 614 void OnCancelDownload(int32_t download_id);
616 void OnClearFocusedElement(); 615 void OnClearFocusedElement();
617 void OnClosePage(); 616 void OnClosePage();
618 void OnClose(); 617 void OnClose();
619 618
620 void OnShowContextMenu(ui::MenuSourceType source_type, 619 void OnShowContextMenu(ui::MenuSourceType source_type,
621 const gfx::Point& location); 620 const gfx::Point& location);
622 void OnCopyImageAt(int x, int y);
623 void OnSaveImageAt(int x, int y);
624 void OnDeterminePageLanguage(); 621 void OnDeterminePageLanguage();
625 void OnDisableScrollbarsForSmallWindows( 622 void OnDisableScrollbarsForSmallWindows(
626 const gfx::Size& disable_scrollbars_size_limit); 623 const gfx::Size& disable_scrollbars_size_limit);
627 void OnDragSourceEnded(const gfx::Point& client_point, 624 void OnDragSourceEnded(const gfx::Point& client_point,
628 const gfx::Point& screen_point, 625 const gfx::Point& screen_point,
629 blink::WebDragOperation drag_operation); 626 blink::WebDragOperation drag_operation);
630 void OnDragSourceSystemDragEnded(); 627 void OnDragSourceSystemDragEnded();
631 void OnDragTargetDrop(const gfx::Point& client_pt, 628 void OnDragTargetDrop(const gfx::Point& client_pt,
632 const gfx::Point& screen_pt, 629 const gfx::Point& screen_pt,
633 int key_modifiers); 630 int key_modifiers);
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
979 // use the Observer interface to filter IPC messages and receive frame change 976 // use the Observer interface to filter IPC messages and receive frame change
980 // notifications. 977 // notifications.
981 // --------------------------------------------------------------------------- 978 // ---------------------------------------------------------------------------
982 979
983 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 980 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
984 }; 981 };
985 982
986 } // namespace content 983 } // namespace content
987 984
988 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 985 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698