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

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

Issue 2874133002: Removed WebFrameClient.cpp from Source/web (Closed)
Patch Set: Added TODO back Created 3 years, 7 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') | 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 <set> 8 #include <set>
9 #include "WebCompositionUnderline.h" 9 #include "WebCompositionUnderline.h"
10 #include "WebFrame.h" 10 #include "WebFrame.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 // 75 //
76 // Otherwise, if the load should not commit, call detach() to discard the 76 // Otherwise, if the load should not commit, call detach() to discard the
77 // frame. 77 // frame.
78 BLINK_EXPORT static WebLocalFrame* CreateProvisional( 78 BLINK_EXPORT static WebLocalFrame* CreateProvisional(
79 WebFrameClient*, 79 WebFrameClient*,
80 blink::InterfaceProvider*, 80 blink::InterfaceProvider*,
81 blink::InterfaceRegistry*, 81 blink::InterfaceRegistry*,
82 WebRemoteFrame*, 82 WebRemoteFrame*,
83 WebSandboxFlags); 83 WebSandboxFlags);
84 84
85 // TODO(dcheng): Add a CreateChild() method.
86
85 // Returns the WebFrame associated with the current V8 context. This 87 // Returns the WebFrame associated with the current V8 context. This
86 // function can return 0 if the context is associated with a Document that 88 // function can return 0 if the context is associated with a Document that
87 // is not currently being displayed in a Frame. 89 // is not currently being displayed in a Frame.
88 BLINK_EXPORT static WebLocalFrame* FrameForCurrentContext(); 90 BLINK_EXPORT static WebLocalFrame* FrameForCurrentContext();
89 91
90 // Returns the frame corresponding to the given context. This can return 0 92 // Returns the frame corresponding to the given context. This can return 0
91 // if the context is detached from the frame, or if the context doesn't 93 // if the context is detached from the frame, or if the context doesn't
92 // correspond to a frame (e.g., workers). 94 // correspond to a frame (e.g., workers).
93 BLINK_EXPORT static WebLocalFrame* FrameForContext(v8::Local<v8::Context>); 95 BLINK_EXPORT static WebLocalFrame* FrameForContext(v8::Local<v8::Context>);
94 96
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 // to call these on a WebLocalFrame. 565 // to call these on a WebLocalFrame.
564 bool IsWebLocalFrame() const override = 0; 566 bool IsWebLocalFrame() const override = 0;
565 WebLocalFrame* ToWebLocalFrame() override = 0; 567 WebLocalFrame* ToWebLocalFrame() override = 0;
566 bool IsWebRemoteFrame() const override = 0; 568 bool IsWebRemoteFrame() const override = 0;
567 WebRemoteFrame* ToWebRemoteFrame() override = 0; 569 WebRemoteFrame* ToWebRemoteFrame() override = 0;
568 }; 570 };
569 571
570 } // namespace blink 572 } // namespace blink
571 573
572 #endif // WebLocalFrame_h 574 #endif // WebLocalFrame_h
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebFrameClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698