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

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: Trim includes/forward decls/fix names Created 4 years, 1 month 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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 void didStopLoading() override {} 284 void didStopLoading() override {}
285 285
286 void loadURLExternally(const ResourceRequest&, 286 void loadURLExternally(const ResourceRequest&,
287 NavigationPolicy, 287 NavigationPolicy,
288 const String&, 288 const String&,
289 bool) override {} 289 bool) override {}
290 290
291 DocumentLoader* createDocumentLoader(LocalFrame*, 291 DocumentLoader* createDocumentLoader(LocalFrame*,
292 const ResourceRequest&, 292 const ResourceRequest&,
293 const SubstituteData&, 293 const SubstituteData&,
294 ClientRedirectPolicy) override; 294 ClientRedirectPolicy,
295 Document*) override;
295 296
296 String userAgent() override { return ""; } 297 String userAgent() override { return ""; }
297 298
298 String doNotTrackValue() override { return String(); } 299 String doNotTrackValue() override { return String(); }
299 300
300 void transitionToCommittedForNewPage() override {} 301 void transitionToCommittedForNewPage() override {}
301 302
302 bool navigateBackForward(int offset) const override { return false; } 303 bool navigateBackForward(int offset) const override { return false; }
303 void didDisplayInsecureContent() override {} 304 void didDisplayInsecureContent() override {}
304 void didRunInsecureContent(SecurityOrigin*, const KURL&) override {} 305 void didRunInsecureContent(SecurityOrigin*, const KURL&) override {}
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 ~EmptyContextMenuClient() override {} 424 ~EmptyContextMenuClient() override {}
424 bool showContextMenu(const ContextMenu*, bool) override { return false; } 425 bool showContextMenu(const ContextMenu*, bool) override { return false; }
425 void clearContextMenu() override {} 426 void clearContextMenu() override {}
426 }; 427 };
427 428
428 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 429 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
429 430
430 } // namespace blink 431 } // namespace blink
431 432
432 #endif // EmptyClients_h 433 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698