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

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

Issue 2416523002: Expose the initiating origin/URL of a navigation in the Blink public API (Closed)
Patch Set: rebase Created 4 years 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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 void didStopLoading() override {} 285 void didStopLoading() override {}
286 286
287 void loadURLExternally(const ResourceRequest&, 287 void loadURLExternally(const ResourceRequest&,
288 NavigationPolicy, 288 NavigationPolicy,
289 const String&, 289 const String&,
290 bool) override {} 290 bool) override {}
291 291
292 DocumentLoader* createDocumentLoader(LocalFrame*, 292 DocumentLoader* createDocumentLoader(LocalFrame*,
293 const ResourceRequest&, 293 const ResourceRequest&,
294 const SubstituteData&, 294 const SubstituteData&,
295 ClientRedirectPolicy) override; 295 ClientRedirectPolicy,
296 Document*) override;
296 297
297 String userAgent() override { return ""; } 298 String userAgent() override { return ""; }
298 299
299 String doNotTrackValue() override { return String(); } 300 String doNotTrackValue() override { return String(); }
300 301
301 void transitionToCommittedForNewPage() override {} 302 void transitionToCommittedForNewPage() override {}
302 303
303 bool navigateBackForward(int offset) const override { return false; } 304 bool navigateBackForward(int offset) const override { return false; }
304 void didDisplayInsecureContent() override {} 305 void didDisplayInsecureContent() override {}
305 void didRunInsecureContent(SecurityOrigin*, const KURL&) override {} 306 void didRunInsecureContent(SecurityOrigin*, const KURL&) override {}
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 ~EmptyContextMenuClient() override {} 427 ~EmptyContextMenuClient() override {}
427 bool showContextMenu(const ContextMenu*, bool) override { return false; } 428 bool showContextMenu(const ContextMenu*, bool) override { return false; }
428 void clearContextMenu() override {} 429 void clearContextMenu() override {}
429 }; 430 };
430 431
431 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 432 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
432 433
433 } // namespace blink 434 } // namespace blink
434 435
435 #endif // EmptyClients_h 436 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/DocumentLoader.cpp ('k') | third_party/WebKit/Source/core/loader/EmptyClients.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698