| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |