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

Side by Side Diff: third_party/WebKit/public/web/WebFrameClient.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 virtual bool runFileChooser( 447 virtual bool runFileChooser(
448 const blink::WebFileChooserParams& params, 448 const blink::WebFileChooserParams& params,
449 WebFileChooserCompletion* chooserCompletion) { return false; } 449 WebFileChooserCompletion* chooserCompletion) { return false; }
450 450
451 // UI ------------------------------------------------------------------ 451 // UI ------------------------------------------------------------------
452 452
453 // Shows a context menu with commands relevant to a specific element on 453 // Shows a context menu with commands relevant to a specific element on
454 // the given frame. Additional context data is supplied. 454 // the given frame. Additional context data is supplied.
455 virtual void showContextMenu(const WebContextMenuData&) { } 455 virtual void showContextMenu(const WebContextMenuData&) { }
456 456
457 // This method is called in response to WebView's saveImageAt(x, y).
458 // A data url from <canvas> or <img> is passed to the method's argument.
459 virtual void saveImageFromDataURL(const WebString&) { }
460
457 // Low-level resource notifications ------------------------------------ 461 // Low-level resource notifications ------------------------------------
458 462
459 // A request is about to be sent out, and the client may modify it. Request 463 // A request is about to be sent out, and the client may modify it. Request
460 // is writable, and changes to the URL, for example, will change the request 464 // is writable, and changes to the URL, for example, will change the request
461 // made. If this request is the result of a redirect, then redirectResponse 465 // made. If this request is the result of a redirect, then redirectResponse
462 // will be non-null and contain the response that triggered the redirect. 466 // will be non-null and contain the response that triggered the redirect.
463 virtual void willSendRequest( 467 virtual void willSendRequest(
464 WebLocalFrame*, unsigned identifier, WebURLRequest&, 468 WebLocalFrame*, unsigned identifier, WebURLRequest&,
465 const WebURLResponse& redirectResponse) { } 469 const WebURLResponse& redirectResponse) { }
466 470
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
714 // Mojo ---------------------------------------------------------------- 718 // Mojo ----------------------------------------------------------------
715 virtual ServiceRegistry* serviceRegistry() { return nullptr; } 719 virtual ServiceRegistry* serviceRegistry() { return nullptr; }
716 720
717 protected: 721 protected:
718 virtual ~WebFrameClient() { } 722 virtual ~WebFrameClient() { }
719 }; 723 };
720 724
721 } // namespace blink 725 } // namespace blink
722 726
723 #endif 727 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebViewTest.cpp ('k') | third_party/WebKit/public/web/WebLocalFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698