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

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

Issue 2632633006: Implement NavigationThrottle::BLOCK_REQUEST_AND_COLLAPSE. (Closed)
Patch Set: Moar tests. Created 3 years, 11 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 collapseFrameOwner(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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 188
188 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, 189 DEFINE_TYPE_CASTS(WebRemoteFrameImpl,
189 WebFrame, 190 WebFrame,
190 frame, 191 frame,
191 frame->isWebRemoteFrame(), 192 frame->isWebRemoteFrame(),
192 frame.isWebRemoteFrame()); 193 frame.isWebRemoteFrame());
193 194
194 } // namespace blink 195 } // namespace blink
195 196
196 #endif // WebRemoteFrameImpl_h 197 #endif // WebRemoteFrameImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698