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

Side by Side Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 WebVector<WebIconURL> IconURLs(int icon_types_mask) const override; 96 WebVector<WebIconURL> IconURLs(int icon_types_mask) const override;
97 void SetSharedWorkerRepositoryClient( 97 void SetSharedWorkerRepositoryClient(
98 WebSharedWorkerRepositoryClient*) override; 98 WebSharedWorkerRepositoryClient*) override;
99 WebSize GetScrollOffset() const override; 99 WebSize GetScrollOffset() const override;
100 void SetScrollOffset(const WebSize&) override; 100 void SetScrollOffset(const WebSize&) override;
101 WebSize ContentsSize() const override; 101 WebSize ContentsSize() const override;
102 bool HasVisibleContent() const override; 102 bool HasVisibleContent() const override;
103 WebRect VisibleContentRect() const override; 103 WebRect VisibleContentRect() const override;
104 bool HasHorizontalScrollbar() const override; 104 bool HasHorizontalScrollbar() const override;
105 bool HasVerticalScrollbar() const override; 105 bool HasVerticalScrollbar() const override;
106 void Collapse(bool) override;
106 WebView* View() const override; 107 WebView* View() const override;
107 WebDocument GetDocument() const override; 108 WebDocument GetDocument() const override;
108 WebPerformance Performance() const override; 109 WebPerformance Performance() const override;
109 void DispatchUnloadEvent() override; 110 void DispatchUnloadEvent() override;
110 void ExecuteScript(const WebScriptSource&) override; 111 void ExecuteScript(const WebScriptSource&) override;
111 void ExecuteScriptInIsolatedWorld(int world_id, 112 void ExecuteScriptInIsolatedWorld(int world_id,
112 const WebScriptSource* sources, 113 const WebScriptSource* sources,
113 unsigned num_sources) override; 114 unsigned num_sources) override;
114 void SetIsolatedWorldSecurityOrigin(int world_id, 115 void SetIsolatedWorldSecurityOrigin(int world_id,
115 const WebSecurityOrigin&) override; 116 const WebSecurityOrigin&) override;
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 522
522 DEFINE_TYPE_CASTS(WebLocalFrameImpl, 523 DEFINE_TYPE_CASTS(WebLocalFrameImpl,
523 WebFrame, 524 WebFrame,
524 frame, 525 frame,
525 frame->IsWebLocalFrame(), 526 frame->IsWebLocalFrame(),
526 frame.IsWebLocalFrame()); 527 frame.IsWebLocalFrame());
527 528
528 } // namespace blink 529 } // namespace blink
529 530
530 #endif 531 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698