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

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

Issue 2211283004: Drop test-only WebFrameClient params/functions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 Frame* parent() const override { return 0; } 196 Frame* parent() const override { return 0; }
197 Frame* top() const override { return 0; } 197 Frame* top() const override { return 0; }
198 Frame* previousSibling() const override { return 0; } 198 Frame* previousSibling() const override { return 0; }
199 Frame* nextSibling() const override { return 0; } 199 Frame* nextSibling() const override { return 0; }
200 Frame* firstChild() const override { return 0; } 200 Frame* firstChild() const override { return 0; }
201 Frame* lastChild() const override { return 0; } 201 Frame* lastChild() const override { return 0; }
202 void willBeDetached() override {} 202 void willBeDetached() override {}
203 void detached(FrameDetachType) override {} 203 void detached(FrameDetachType) override {}
204 void frameFocused() const override {} 204 void frameFocused() const override {}
205 205
206 void dispatchWillSendRequest(DocumentLoader*, unsigned long, ResourceRequest &, const ResourceResponse&) override {} 206 void dispatchWillSendRequest(ResourceRequest&) override {}
207 void dispatchDidReceiveResponse(DocumentLoader*, unsigned long, const Resour ceResponse&) override {} 207 void dispatchDidReceiveResponse(const ResourceResponse&) override {}
208 void dispatchDidFinishLoading(DocumentLoader*, unsigned long) override {}
209 void dispatchDidLoadResourceFromMemoryCache(const ResourceRequest&, const Re sourceResponse&) override {} 208 void dispatchDidLoadResourceFromMemoryCache(const ResourceRequest&, const Re sourceResponse&) override {}
210 209
211 void dispatchDidHandleOnloadEvents() override {} 210 void dispatchDidHandleOnloadEvents() override {}
212 void dispatchDidReceiveServerRedirectForProvisionalLoad() override {} 211 void dispatchDidReceiveServerRedirectForProvisionalLoad() override {}
213 void dispatchWillClose() override {} 212 void dispatchWillClose() override {}
214 void dispatchDidStartProvisionalLoad(double triggeringEventTime) override {} 213 void dispatchDidStartProvisionalLoad(double triggeringEventTime) override {}
215 void dispatchDidReceiveTitle(const String&) override {} 214 void dispatchDidReceiveTitle(const String&) override {}
216 void dispatchDidChangeIcons(IconType) override {} 215 void dispatchDidChangeIcons(IconType) override {}
217 void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) override {} 216 void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) override {}
218 void dispatchDidFailProvisionalLoad(const ResourceError&, HistoryCommitType) override {} 217 void dispatchDidFailProvisionalLoad(const ResourceError&, HistoryCommitType) override {}
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 ~EmptyContextMenuClient() override {} 327 ~EmptyContextMenuClient() override {}
329 bool showContextMenu(const ContextMenu*, bool) override { return false; } 328 bool showContextMenu(const ContextMenu*, bool) override { return false; }
330 void clearContextMenu() override {} 329 void clearContextMenu() override {}
331 }; 330 };
332 331
333 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 332 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
334 333
335 } // namespace blink 334 } // namespace blink
336 335
337 #endif // EmptyClients_h 336 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698