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

Side by Side Diff: third_party/WebKit/public/web/WebLocalFrame.h

Issue 2119283004: Remove unused helpers to selectively traverse through only local frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 virtual void setAutofillClient(WebAutofillClient*) = 0; 60 virtual void setAutofillClient(WebAutofillClient*) = 0;
61 virtual WebAutofillClient* autofillClient() = 0; 61 virtual WebAutofillClient* autofillClient() = 0;
62 virtual void setDevToolsAgentClient(WebDevToolsAgentClient*) = 0; 62 virtual void setDevToolsAgentClient(WebDevToolsAgentClient*) = 0;
63 virtual WebDevToolsAgent* devToolsAgent() = 0; 63 virtual WebDevToolsAgent* devToolsAgent() = 0;
64 64
65 // Hierarchy ---------------------------------------------------------- 65 // Hierarchy ----------------------------------------------------------
66 66
67 // Get the highest-level LocalFrame in this frame's in-process subtree. 67 // Get the highest-level LocalFrame in this frame's in-process subtree.
68 virtual WebLocalFrame* localRoot() = 0; 68 virtual WebLocalFrame* localRoot() = 0;
69 69
70 // Returns the previous/next local frame in "frame traversal order",
71 // optionally wrapping around.
72 virtual WebLocalFrame* traversePreviousLocal(bool wrap) const = 0;
73 virtual WebLocalFrame* traverseNextLocal(bool wrap) const = 0;
74
75 // Navigation Ping -------------------------------------------------------- 70 // Navigation Ping --------------------------------------------------------
76 71
77 virtual void sendPings(const WebURL& destinationURL) = 0; 72 virtual void sendPings(const WebURL& destinationURL) = 0;
78 73
79 // Navigation ---------------------------------------------------------- 74 // Navigation ----------------------------------------------------------
80 75
81 // Runs beforeunload handlers for this frame and returns the value returned 76 // Runs beforeunload handlers for this frame and returns the value returned
82 // by handlers. 77 // by handlers.
83 // Note: this may lead to the destruction of the frame. 78 // Note: this may lead to the destruction of the frame.
84 virtual bool dispatchBeforeUnloadEvent(bool isReload) = 0; 79 virtual bool dispatchBeforeUnloadEvent(bool isReload) = 0;
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 // to call these on a WebLocalFrame. 345 // to call these on a WebLocalFrame.
351 bool isWebLocalFrame() const override = 0; 346 bool isWebLocalFrame() const override = 0;
352 WebLocalFrame* toWebLocalFrame() override = 0; 347 WebLocalFrame* toWebLocalFrame() override = 0;
353 bool isWebRemoteFrame() const override = 0; 348 bool isWebRemoteFrame() const override = 0;
354 WebRemoteFrame* toWebRemoteFrame() override = 0; 349 WebRemoteFrame* toWebRemoteFrame() override = 0;
355 }; 350 };
356 351
357 } // namespace blink 352 } // namespace blink
358 353
359 #endif // WebLocalFrame_h 354 #endif // WebLocalFrame_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698