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

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: review comments, merge 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
« no previous file with comments | « content/renderer/render_view_browsertest.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 void SetValidationMessageDirection(base::string16* main_text, 343 void SetValidationMessageDirection(base::string16* main_text,
345 blink::WebTextDirection main_text_hint, 344 blink::WebTextDirection main_text_hint,
346 base::string16* sub_text, 345 base::string16* sub_text,
347 blink::WebTextDirection sub_text_hint); 346 blink::WebTextDirection sub_text_hint);
348 void showValidationMessage(const blink::WebRect& anchor_in_viewport, 347 void showValidationMessage(const blink::WebRect& anchor_in_viewport,
349 const blink::WebString& main_text, 348 const blink::WebString& main_text,
350 blink::WebTextDirection main_text_hint, 349 blink::WebTextDirection main_text_hint,
351 const blink::WebString& sub_text, 350 const blink::WebString& sub_text,
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands); 600 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands);
602 void OnAllowBindings(int enabled_bindings_flags); 601 void OnAllowBindings(int enabled_bindings_flags);
603 void OnAllowScriptToClose(bool script_can_close); 602 void OnAllowScriptToClose(bool script_can_close);
604 void OnCancelDownload(int32_t download_id); 603 void OnCancelDownload(int32_t download_id);
605 void OnClearFocusedElement(); 604 void OnClearFocusedElement();
606 void OnClosePage(); 605 void OnClosePage();
607 void OnClose(); 606 void OnClose();
608 607
609 void OnShowContextMenu(ui::MenuSourceType source_type, 608 void OnShowContextMenu(ui::MenuSourceType source_type,
610 const gfx::Point& location); 609 const gfx::Point& location);
611 void OnCopyImageAt(int x, int y);
612 void OnSaveImageAt(int x, int y);
613 void OnDeterminePageLanguage(); 610 void OnDeterminePageLanguage();
614 void OnDisableScrollbarsForSmallWindows( 611 void OnDisableScrollbarsForSmallWindows(
615 const gfx::Size& disable_scrollbars_size_limit); 612 const gfx::Size& disable_scrollbars_size_limit);
616 void OnDragSourceEnded(const gfx::Point& client_point, 613 void OnDragSourceEnded(const gfx::Point& client_point,
617 const gfx::Point& screen_point, 614 const gfx::Point& screen_point,
618 blink::WebDragOperation drag_operation); 615 blink::WebDragOperation drag_operation);
619 void OnDragSourceSystemDragEnded(); 616 void OnDragSourceSystemDragEnded();
620 void OnDragTargetDrop(const DropData& drop_data, 617 void OnDragTargetDrop(const DropData& drop_data,
621 const gfx::Point& client_pt, 618 const gfx::Point& client_pt,
622 const gfx::Point& screen_pt, 619 const gfx::Point& screen_pt,
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
948 // use the Observer interface to filter IPC messages and receive frame change 945 // use the Observer interface to filter IPC messages and receive frame change
949 // notifications. 946 // notifications.
950 // --------------------------------------------------------------------------- 947 // ---------------------------------------------------------------------------
951 948
952 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 949 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
953 }; 950 };
954 951
955 } // namespace content 952 } // namespace content
956 953
957 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 954 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_browsertest.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698