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

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, 6 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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 const blink::WebWindowFeatures& features, 331 const blink::WebWindowFeatures& features,
332 const blink::WebString& frame_name, 332 const blink::WebString& frame_name,
333 blink::WebNavigationPolicy policy, 333 blink::WebNavigationPolicy policy,
334 bool suppress_opener) override; 334 bool suppress_opener) override;
335 blink::WebWidget* createPopupMenu(blink::WebPopupType popup_type) override; 335 blink::WebWidget* createPopupMenu(blink::WebPopupType popup_type) override;
336 blink::WebStorageNamespace* createSessionStorageNamespace() override; 336 blink::WebStorageNamespace* createSessionStorageNamespace() override;
337 void printPage(blink::WebLocalFrame* frame) override; 337 void printPage(blink::WebLocalFrame* frame) override;
338 bool enumerateChosenDirectory( 338 bool enumerateChosenDirectory(
339 const blink::WebString& path, 339 const blink::WebString& path,
340 blink::WebFileChooserCompletion* chooser_completion) override; 340 blink::WebFileChooserCompletion* chooser_completion) override;
341 void saveImageFromDataURL(const blink::WebString& data_url) override;
342 void didCancelCompositionOnSelectionChange() override; 341 void didCancelCompositionOnSelectionChange() override;
343 bool handleCurrentKeyboardEvent() override; 342 bool handleCurrentKeyboardEvent() override;
344 bool runFileChooser( 343 bool runFileChooser(
345 const blink::WebFileChooserParams& params, 344 const blink::WebFileChooserParams& params,
346 blink::WebFileChooserCompletion* chooser_completion) override; 345 blink::WebFileChooserCompletion* chooser_completion) override;
347 void SetValidationMessageDirection(base::string16* main_text, 346 void SetValidationMessageDirection(base::string16* main_text,
348 blink::WebTextDirection main_text_hint, 347 blink::WebTextDirection main_text_hint,
349 base::string16* sub_text, 348 base::string16* sub_text,
350 blink::WebTextDirection sub_text_hint); 349 blink::WebTextDirection sub_text_hint);
351 void showValidationMessage(const blink::WebRect& anchor_in_viewport, 350 void showValidationMessage(const blink::WebRect& anchor_in_viewport,
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands); 602 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands);
604 void OnAllowBindings(int enabled_bindings_flags); 603 void OnAllowBindings(int enabled_bindings_flags);
605 void OnAllowScriptToClose(bool script_can_close); 604 void OnAllowScriptToClose(bool script_can_close);
606 void OnCancelDownload(int32_t download_id); 605 void OnCancelDownload(int32_t download_id);
607 void OnClearFocusedElement(); 606 void OnClearFocusedElement();
608 void OnClosePage(); 607 void OnClosePage();
609 void OnClose(); 608 void OnClose();
610 609
611 void OnShowContextMenu(ui::MenuSourceType source_type, 610 void OnShowContextMenu(ui::MenuSourceType source_type,
612 const gfx::Point& location); 611 const gfx::Point& location);
613 void OnCopyImageAt(int x, int y);
614 void OnSaveImageAt(int x, int y);
615 void OnDeterminePageLanguage(); 612 void OnDeterminePageLanguage();
616 void OnDisableScrollbarsForSmallWindows( 613 void OnDisableScrollbarsForSmallWindows(
617 const gfx::Size& disable_scrollbars_size_limit); 614 const gfx::Size& disable_scrollbars_size_limit);
618 void OnDragSourceEnded(const gfx::Point& client_point, 615 void OnDragSourceEnded(const gfx::Point& client_point,
619 const gfx::Point& screen_point, 616 const gfx::Point& screen_point,
620 blink::WebDragOperation drag_operation); 617 blink::WebDragOperation drag_operation);
621 void OnDragSourceSystemDragEnded(); 618 void OnDragSourceSystemDragEnded();
622 void OnDragTargetDrop(const gfx::Point& client_pt, 619 void OnDragTargetDrop(const gfx::Point& client_pt,
623 const gfx::Point& screen_pt, 620 const gfx::Point& screen_pt,
624 int key_modifiers); 621 int key_modifiers);
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
954 // use the Observer interface to filter IPC messages and receive frame change 951 // use the Observer interface to filter IPC messages and receive frame change
955 // notifications. 952 // notifications.
956 // --------------------------------------------------------------------------- 953 // ---------------------------------------------------------------------------
957 954
958 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 955 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
959 }; 956 };
960 957
961 } // namespace content 958 } // namespace content
962 959
963 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 960 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698