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

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

Issue 2632633006: Implement NavigationThrottle::BLOCK_REQUEST_AND_COLLAPSE. (Closed)
Patch Set: Extend tests, fix redirects. Non-PlzNavigate version still broken. Created 3 years, 10 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 "public/platform/WebInsecureRequestPolicy.h" 10 #include "public/platform/WebInsecureRequestPolicy.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 void setSharedWorkerRepositoryClient( 42 void setSharedWorkerRepositoryClient(
43 WebSharedWorkerRepositoryClient*) override; 43 WebSharedWorkerRepositoryClient*) override;
44 void setCanHaveScrollbars(bool) override; 44 void setCanHaveScrollbars(bool) override;
45 WebSize getScrollOffset() const override; 45 WebSize getScrollOffset() const override;
46 void setScrollOffset(const WebSize&) override; 46 void setScrollOffset(const WebSize&) override;
47 WebSize contentsSize() const override; 47 WebSize contentsSize() const override;
48 bool hasVisibleContent() const override; 48 bool hasVisibleContent() const override;
49 WebRect visibleContentRect() const override; 49 WebRect visibleContentRect() const override;
50 bool hasHorizontalScrollbar() const override; 50 bool hasHorizontalScrollbar() const override;
51 bool hasVerticalScrollbar() const override; 51 bool hasVerticalScrollbar() const override;
52 void collapse(bool) override;
52 WebView* view() const override; 53 WebView* view() const override;
53 WebDocument document() const override; 54 WebDocument document() const override;
54 WebPerformance performance() const override; 55 WebPerformance performance() const override;
55 void dispatchUnloadEvent() override; 56 void dispatchUnloadEvent() override;
56 void executeScript(const WebScriptSource&) override; 57 void executeScript(const WebScriptSource&) override;
57 void executeScriptInIsolatedWorld(int worldID, 58 void executeScriptInIsolatedWorld(int worldID,
58 const WebScriptSource* sources, 59 const WebScriptSource* sources,
59 unsigned numSources) override; 60 unsigned numSources) override;
60 void setIsolatedWorldSecurityOrigin(int worldID, 61 void setIsolatedWorldSecurityOrigin(int worldID,
61 const WebSecurityOrigin&) override; 62 const WebSecurityOrigin&) override;
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 192
192 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, 193 DEFINE_TYPE_CASTS(WebRemoteFrameImpl,
193 WebFrame, 194 WebFrame,
194 frame, 195 frame,
195 frame->isWebRemoteFrame(), 196 frame->isWebRemoteFrame(),
196 frame.isWebRemoteFrame()); 197 frame.isWebRemoteFrame());
197 198
198 } // namespace blink 199 } // namespace blink
199 200
200 #endif // WebRemoteFrameImpl_h 201 #endif // WebRemoteFrameImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698