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

Side by Side Diff: third_party/WebKit/public/web/WebLocalFrame.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 | « third_party/WebKit/public/web/WebFrameClient.h ('k') | third_party/WebKit/public/web/WebView.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 WebLocalFrame_h 5 #ifndef WebLocalFrame_h
6 #define WebLocalFrame_h 6 #define WebLocalFrame_h
7 7
8 #include "WebFrame.h" 8 #include "WebFrame.h"
9 #include "WebFrameLoadType.h" 9 #include "WebFrameLoadType.h"
10 10
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 328
329 // Context menu ----------------------------------------------------------- 329 // Context menu -----------------------------------------------------------
330 330
331 // Returns the node that the context menu opened over. 331 // Returns the node that the context menu opened over.
332 virtual WebNode contextMenuNode() const = 0; 332 virtual WebNode contextMenuNode() const = 0;
333 333
334 // Returns the WebFrameWidget associated with this frame if there is one or 334 // Returns the WebFrameWidget associated with this frame if there is one or
335 // nullptr otherwise. 335 // nullptr otherwise.
336 virtual WebWidget* frameWidget() const = 0; 336 virtual WebWidget* frameWidget() const = 0;
337 337
338 // Copy to the clipboard the image located at a particular point in visual
339 // viewport coordinates.
340 virtual void copyImageAt(const WebPoint&) = 0;
341
342 // Save as the image located at a particular point in visual viewport
343 // coordinates.
344 virtual void saveImageAt(const WebPoint&) = 0;
345
338 protected: 346 protected:
339 explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) { } 347 explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) { }
340 348
341 // Inherited from WebFrame, but intentionally hidden: it never makes sense 349 // Inherited from WebFrame, but intentionally hidden: it never makes sense
342 // to call these on a WebLocalFrame. 350 // to call these on a WebLocalFrame.
343 bool isWebLocalFrame() const override = 0; 351 bool isWebLocalFrame() const override = 0;
344 WebLocalFrame* toWebLocalFrame() override = 0; 352 WebLocalFrame* toWebLocalFrame() override = 0;
345 bool isWebRemoteFrame() const override = 0; 353 bool isWebRemoteFrame() const override = 0;
346 WebRemoteFrame* toWebRemoteFrame() override = 0; 354 WebRemoteFrame* toWebRemoteFrame() override = 0;
347 }; 355 };
348 356
349 } // namespace blink 357 } // namespace blink
350 358
351 #endif // WebLocalFrame_h 359 #endif // WebLocalFrame_h
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebFrameClient.h ('k') | third_party/WebKit/public/web/WebView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698