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

Side by Side Diff: third_party/WebKit/Source/core/exported/WebRemoteFrameImpl.h

Issue 2922803003: Move most scripting-related methods from WebFrame to WebLocalFrame. (Closed)
Patch Set: Rebasing... Created 3 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 | « no previous file | third_party/WebKit/Source/core/exported/WebRemoteFrameImpl.cpp » ('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 WebRemoteFrameImpl_h 5 #ifndef WebRemoteFrameImpl_h
6 #define WebRemoteFrameImpl_h 6 #define WebRemoteFrameImpl_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/frame/RemoteFrame.h" 9 #include "core/frame/RemoteFrame.h"
10 #include "core/frame/WebRemoteFrameBase.h" 10 #include "core/frame/WebRemoteFrameBase.h"
(...skipping 27 matching lines...) Expand all
38 void SetScrollOffset(const WebSize&) override; 38 void SetScrollOffset(const WebSize&) override;
39 WebSize ContentsSize() const override; 39 WebSize ContentsSize() const override;
40 bool HasVisibleContent() const override; 40 bool HasVisibleContent() const override;
41 WebRect VisibleContentRect() const override; 41 WebRect VisibleContentRect() const override;
42 bool HasHorizontalScrollbar() const override; 42 bool HasHorizontalScrollbar() const override;
43 bool HasVerticalScrollbar() const override; 43 bool HasVerticalScrollbar() const override;
44 WebView* View() const override; 44 WebView* View() const override;
45 WebDocument GetDocument() const override; 45 WebDocument GetDocument() const override;
46 WebPerformance Performance() const override; 46 WebPerformance Performance() const override;
47 void DispatchUnloadEvent() override; 47 void DispatchUnloadEvent() override;
48 void ExecuteScriptInIsolatedWorld(int world_id,
49 const WebScriptSource* sources,
50 unsigned num_sources) override;
51 void SetIsolatedWorldSecurityOrigin(int world_id,
52 const WebSecurityOrigin&) override;
53 void SetIsolatedWorldContentSecurityPolicy(int world_id,
54 const WebString&) override;
55 void CollectGarbage() override;
56 v8::Local<v8::Value> ExecuteScriptAndReturnValue(
57 const WebScriptSource&) override;
58 void ExecuteScriptInIsolatedWorld(
59 int world_id,
60 const WebScriptSource* sources_in,
61 unsigned num_sources,
62 WebVector<v8::Local<v8::Value>>* results) override;
63 v8::Local<v8::Value> CallFunctionEvenIfScriptDisabled(
64 v8::Local<v8::Function>,
65 v8::Local<v8::Value>,
66 int argc,
67 v8::Local<v8::Value> argv[]) override;
68 void Reload(WebFrameLoadType) override; 48 void Reload(WebFrameLoadType) override;
69 void ReloadWithOverrideURL(const WebURL& override_url, 49 void ReloadWithOverrideURL(const WebURL& override_url,
70 WebFrameLoadType) override; 50 WebFrameLoadType) override;
71 void LoadRequest(const WebURLRequest&) override; 51 void LoadRequest(const WebURLRequest&) override;
72 void StopLoading() override; 52 void StopLoading() override;
73 void EnableViewSourceMode(bool enable) override; 53 void EnableViewSourceMode(bool enable) override;
74 bool IsViewSourceModeEnabled() const override; 54 bool IsViewSourceModeEnabled() const override;
75 void SetReferrerForRequest(WebURLRequest&, const WebURL& referrer) override; 55 void SetReferrerForRequest(WebURLRequest&, const WebURL& referrer) override;
76 WebAssociatedURLLoader* CreateAssociatedURLLoader( 56 WebAssociatedURLLoader* CreateAssociatedURLLoader(
77 const WebAssociatedURLLoaderOptions&) override; 57 const WebAssociatedURLLoaderOptions&) override;
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 139
160 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, 140 DEFINE_TYPE_CASTS(WebRemoteFrameImpl,
161 WebFrame, 141 WebFrame,
162 frame, 142 frame,
163 frame->IsWebRemoteFrame(), 143 frame->IsWebRemoteFrame(),
164 frame.IsWebRemoteFrame()); 144 frame.IsWebRemoteFrame());
165 145
166 } // namespace blink 146 } // namespace blink
167 147
168 #endif // WebRemoteFrameImpl_h 148 #endif // WebRemoteFrameImpl_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/exported/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698