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

Side by Side Diff: third_party/WebKit/Source/web/WebRemoteFrameImpl.h

Issue 2923433002: Move ExecuteScript method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Tweaked a comment in WebViewPlugin::WebViewHelper::main_frame [as suggested in CR feedback] 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
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/frame/RemoteFrame.h" 8 #include "core/frame/RemoteFrame.h"
9 #include "core/frame/WebRemoteFrameBase.h" 9 #include "core/frame/WebRemoteFrameBase.h"
10 #include "platform/heap/SelfKeepAlive.h" 10 #include "platform/heap/SelfKeepAlive.h"
(...skipping 28 matching lines...) Expand all
39 void SetScrollOffset(const WebSize&) override; 39 void SetScrollOffset(const WebSize&) override;
40 WebSize ContentsSize() const override; 40 WebSize ContentsSize() const override;
41 bool HasVisibleContent() const override; 41 bool HasVisibleContent() const override;
42 WebRect VisibleContentRect() const override; 42 WebRect VisibleContentRect() const override;
43 bool HasHorizontalScrollbar() const override; 43 bool HasHorizontalScrollbar() const override;
44 bool HasVerticalScrollbar() const override; 44 bool HasVerticalScrollbar() const override;
45 WebView* View() const override; 45 WebView* View() const override;
46 WebDocument GetDocument() const override; 46 WebDocument GetDocument() const override;
47 WebPerformance Performance() const override; 47 WebPerformance Performance() const override;
48 void DispatchUnloadEvent() override; 48 void DispatchUnloadEvent() override;
49 void ExecuteScript(const WebScriptSource&) override;
50 void ExecuteScriptInIsolatedWorld(int world_id, 49 void ExecuteScriptInIsolatedWorld(int world_id,
51 const WebScriptSource* sources, 50 const WebScriptSource* sources,
52 unsigned num_sources) override; 51 unsigned num_sources) override;
53 void SetIsolatedWorldSecurityOrigin(int world_id, 52 void SetIsolatedWorldSecurityOrigin(int world_id,
54 const WebSecurityOrigin&) override; 53 const WebSecurityOrigin&) override;
55 void SetIsolatedWorldContentSecurityPolicy(int world_id, 54 void SetIsolatedWorldContentSecurityPolicy(int world_id,
56 const WebString&) override; 55 const WebString&) override;
57 void CollectGarbage() override; 56 void CollectGarbage() override;
58 v8::Local<v8::Value> ExecuteScriptAndReturnValue( 57 v8::Local<v8::Value> ExecuteScriptAndReturnValue(
59 const WebScriptSource&) override; 58 const WebScriptSource&) override;
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 172
174 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, 173 DEFINE_TYPE_CASTS(WebRemoteFrameImpl,
175 WebFrame, 174 WebFrame,
176 frame, 175 frame,
177 frame->IsWebRemoteFrame(), 176 frame->IsWebRemoteFrame(),
178 frame.IsWebRemoteFrame()); 177 frame.IsWebRemoteFrame());
179 178
180 } // namespace blink 179 } // namespace blink
181 180
182 #endif // WebRemoteFrameImpl_h 181 #endif // WebRemoteFrameImpl_h
OLDNEW
« no previous file with comments | « content/shell/test_runner/test_runner.cc ('k') | third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698