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

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

Issue 2632633006: Implement NavigationThrottle::BLOCK_REQUEST_AND_COLLAPSE. (Closed)
Patch Set: Addressed comments, made redirect response PlzNavigate-only. Created 3 years, 8 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 "platform/heap/SelfKeepAlive.h" 9 #include "platform/heap/SelfKeepAlive.h"
10 #include "platform/wtf/Compiler.h" 10 #include "platform/wtf/Compiler.h"
(...skipping 29 matching lines...) Expand all
40 void SetSharedWorkerRepositoryClient( 40 void SetSharedWorkerRepositoryClient(
41 WebSharedWorkerRepositoryClient*) override; 41 WebSharedWorkerRepositoryClient*) override;
42 void SetCanHaveScrollbars(bool) override; 42 void SetCanHaveScrollbars(bool) override;
43 WebSize GetScrollOffset() const override; 43 WebSize GetScrollOffset() const override;
44 void SetScrollOffset(const WebSize&) override; 44 void SetScrollOffset(const WebSize&) override;
45 WebSize ContentsSize() const override; 45 WebSize ContentsSize() const override;
46 bool HasVisibleContent() const override; 46 bool HasVisibleContent() const override;
47 WebRect VisibleContentRect() const override; 47 WebRect VisibleContentRect() const override;
48 bool HasHorizontalScrollbar() const override; 48 bool HasHorizontalScrollbar() const override;
49 bool HasVerticalScrollbar() const override; 49 bool HasVerticalScrollbar() const override;
50 void Collapse(bool) override;
50 WebView* View() const override; 51 WebView* View() const override;
51 WebDocument GetDocument() const override; 52 WebDocument GetDocument() const override;
52 WebPerformance Performance() const override; 53 WebPerformance Performance() const override;
53 void DispatchUnloadEvent() override; 54 void DispatchUnloadEvent() override;
54 void ExecuteScript(const WebScriptSource&) override; 55 void ExecuteScript(const WebScriptSource&) override;
55 void ExecuteScriptInIsolatedWorld(int world_id, 56 void ExecuteScriptInIsolatedWorld(int world_id,
56 const WebScriptSource* sources, 57 const WebScriptSource* sources,
57 unsigned num_sources) override; 58 unsigned num_sources) override;
58 void SetIsolatedWorldSecurityOrigin(int world_id, 59 void SetIsolatedWorldSecurityOrigin(int world_id,
59 const WebSecurityOrigin&) override; 60 const WebSecurityOrigin&) override;
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 180
180 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, 181 DEFINE_TYPE_CASTS(WebRemoteFrameImpl,
181 WebFrame, 182 WebFrame,
182 frame, 183 frame,
183 frame->IsWebRemoteFrame(), 184 frame->IsWebRemoteFrame(),
184 frame.IsWebRemoteFrame()); 185 frame.IsWebRemoteFrame());
185 186
186 } // namespace blink 187 } // namespace blink
187 188
188 #endif // WebRemoteFrameImpl_h 189 #endif // WebRemoteFrameImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698