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

Side by Side Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.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 /* 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 void setContentSettingsClient(WebContentSettingsClient*) override; 93 void setContentSettingsClient(WebContentSettingsClient*) override;
94 void setSharedWorkerRepositoryClient( 94 void setSharedWorkerRepositoryClient(
95 WebSharedWorkerRepositoryClient*) override; 95 WebSharedWorkerRepositoryClient*) override;
96 WebSize getScrollOffset() const override; 96 WebSize getScrollOffset() const override;
97 void setScrollOffset(const WebSize&) override; 97 void setScrollOffset(const WebSize&) override;
98 WebSize contentsSize() const override; 98 WebSize contentsSize() const override;
99 bool hasVisibleContent() const override; 99 bool hasVisibleContent() const override;
100 WebRect visibleContentRect() const override; 100 WebRect visibleContentRect() const override;
101 bool hasHorizontalScrollbar() const override; 101 bool hasHorizontalScrollbar() const override;
102 bool hasVerticalScrollbar() const override; 102 bool hasVerticalScrollbar() const override;
103 void collapse(bool) override;
103 WebView* view() const override; 104 WebView* view() const override;
104 WebDocument document() const override; 105 WebDocument document() const override;
105 WebPerformance performance() const override; 106 WebPerformance performance() const override;
106 void dispatchUnloadEvent() override; 107 void dispatchUnloadEvent() override;
107 void executeScript(const WebScriptSource&) override; 108 void executeScript(const WebScriptSource&) override;
108 void executeScriptInIsolatedWorld(int worldID, 109 void executeScriptInIsolatedWorld(int worldID,
109 const WebScriptSource* sources, 110 const WebScriptSource* sources,
110 unsigned numSources) override; 111 unsigned numSources) override;
111 void setIsolatedWorldSecurityOrigin(int worldID, 112 void setIsolatedWorldSecurityOrigin(int worldID,
112 const WebSecurityOrigin&) override; 113 const WebSecurityOrigin&) override;
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 502
502 DEFINE_TYPE_CASTS(WebLocalFrameImpl, 503 DEFINE_TYPE_CASTS(WebLocalFrameImpl,
503 WebFrame, 504 WebFrame,
504 frame, 505 frame,
505 frame->isWebLocalFrame(), 506 frame->isWebLocalFrame(),
506 frame.isWebLocalFrame()); 507 frame.isWebLocalFrame());
507 508
508 } // namespace blink 509 } // namespace blink
509 510
510 #endif 511 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698