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

Side by Side Diff: third_party/WebKit/Source/core/loader/EmptyClients.h

Issue 1837483002: Allow LoadNavigationErrorPage to run scripts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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) 2006 Eric Seidel (eric@webkit.org) 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org)
3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 205
206 void dispatchDidHandleOnloadEvents() override {} 206 void dispatchDidHandleOnloadEvents() override {}
207 void dispatchDidReceiveServerRedirectForProvisionalLoad() override {} 207 void dispatchDidReceiveServerRedirectForProvisionalLoad() override {}
208 void dispatchWillClose() override {} 208 void dispatchWillClose() override {}
209 void dispatchDidStartProvisionalLoad(double triggeringEventTime) override {} 209 void dispatchDidStartProvisionalLoad(double triggeringEventTime) override {}
210 void dispatchDidReceiveTitle(const String&) override {} 210 void dispatchDidReceiveTitle(const String&) override {}
211 void dispatchDidChangeIcons(IconType) override {} 211 void dispatchDidChangeIcons(IconType) override {}
212 void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) override {} 212 void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) override {}
213 void dispatchDidFailProvisionalLoad(const ResourceError&, HistoryCommitType) override {} 213 void dispatchDidFailProvisionalLoad(const ResourceError&, HistoryCommitType) override {}
214 void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) override { } 214 void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) override { }
215 void dispatchDidFinishDocumentLoad(bool) override {} 215 void dispatchDidFinishDocumentLoad() override {}
216 void dispatchDidFinishLoad() override {} 216 void dispatchDidFinishLoad() override {}
217 void dispatchDidChangeThemeColor() override {} 217 void dispatchDidChangeThemeColor() override {}
218 218
219 NavigationPolicy decidePolicyForNavigation(const ResourceRequest&, DocumentL oader*, NavigationType, NavigationPolicy, bool, bool) override; 219 NavigationPolicy decidePolicyForNavigation(const ResourceRequest&, DocumentL oader*, NavigationType, NavigationPolicy, bool, bool) override;
220 bool hasPendingNavigation() override; 220 bool hasPendingNavigation() override;
221 221
222 void dispatchWillSendSubmitEvent(HTMLFormElement*) override; 222 void dispatchWillSendSubmitEvent(HTMLFormElement*) override;
223 void dispatchWillSubmitForm(HTMLFormElement*) override; 223 void dispatchWillSubmitForm(HTMLFormElement*) override;
224 224
225 void didStartLoading(LoadStartType) override {} 225 void didStartLoading(LoadStartType) override {}
(...skipping 23 matching lines...) Expand all
249 bool canCreatePluginWithoutRenderer(const String& mimeType) const override { return false; } 249 bool canCreatePluginWithoutRenderer(const String& mimeType) const override { return false; }
250 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, WebMediaP layer::LoadType, const WebURL&, WebMediaPlayerClient*) override; 250 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, WebMediaP layer::LoadType, const WebURL&, WebMediaPlayerClient*) override;
251 PassOwnPtr<WebMediaSession> createWebMediaSession() override; 251 PassOwnPtr<WebMediaSession> createWebMediaSession() override;
252 252
253 ObjectContentType getObjectContentType(const KURL&, const String&, bool) ove rride { return ObjectContentType(); } 253 ObjectContentType getObjectContentType(const KURL&, const String&, bool) ove rride { return ObjectContentType(); }
254 254
255 void didCreateNewDocument() override {} 255 void didCreateNewDocument() override {}
256 void dispatchDidClearWindowObjectInMainWorld() override {} 256 void dispatchDidClearWindowObjectInMainWorld() override {}
257 void documentElementAvailable() override {} 257 void documentElementAvailable() override {}
258 void runScriptsAtDocumentElementAvailable() override {} 258 void runScriptsAtDocumentElementAvailable() override {}
259 void runScriptsAtDocumentReady() override {} 259 void runScriptsAtDocumentReady(bool) override {}
260 260
261 void didCreateScriptContext(v8::Local<v8::Context>, int extensionGroup, int worldId) override {} 261 void didCreateScriptContext(v8::Local<v8::Context>, int extensionGroup, int worldId) override {}
262 void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) override {} 262 void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) override {}
263 bool allowScriptExtension(const String& extensionName, int extensionGroup, i nt worldId) override { return false; } 263 bool allowScriptExtension(const String& extensionName, int extensionGroup, i nt worldId) override { return false; }
264 264
265 v8::Local<v8::Value> createTestInterface(const AtomicString& name) override; 265 v8::Local<v8::Value> createTestInterface(const AtomicString& name) override;
266 266
267 WebCookieJar* cookieJar() const override { return 0; } 267 WebCookieJar* cookieJar() const override { return 0; }
268 268
269 void didRequestAutocomplete(HTMLFormElement*) override; 269 void didRequestAutocomplete(HTMLFormElement*) override;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 ~EmptyDragClient() override {} 337 ~EmptyDragClient() override {}
338 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes tinationActionNone; } 338 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes tinationActionNone; }
339 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*, LocalFrame*, bool) override {} 339 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*, LocalFrame*, bool) override {}
340 }; 340 };
341 341
342 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 342 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
343 343
344 } // namespace blink 344 } // namespace blink
345 345
346 #endif // EmptyClients_h 346 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « content/renderer/render_view_browsertest.cc ('k') | third_party/WebKit/Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698