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

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

Issue 2625773002: Reenable framebusting (Closed)
Patch Set: Pass through FrameReplicationState Created 3 years, 11 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 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 unsigned backForwardLength() override { return 0; } 438 unsigned backForwardLength() override { return 0; }
439 void forwardPostMessage(MessageEvent*, 439 void forwardPostMessage(MessageEvent*,
440 PassRefPtr<SecurityOrigin> target, 440 PassRefPtr<SecurityOrigin> target,
441 LocalFrame* sourceFrame) const override {} 441 LocalFrame* sourceFrame) const override {}
442 void forwardInputEvent(Event*) override {} 442 void forwardInputEvent(Event*) override {}
443 void frameRectsChanged(const IntRect& frameRect) override {} 443 void frameRectsChanged(const IntRect& frameRect) override {}
444 void updateRemoteViewportIntersection( 444 void updateRemoteViewportIntersection(
445 const IntRect& viewportIntersection) override {} 445 const IntRect& viewportIntersection) override {}
446 void advanceFocus(WebFocusType, LocalFrame* source) override {} 446 void advanceFocus(WebFocusType, LocalFrame* source) override {}
447 void visibilityChanged(bool visible) override {} 447 void visibilityChanged(bool visible) override {}
448 void setHasReceivedUserGesture() override {}
449 448
450 // FrameClient implementation. 449 // FrameClient implementation.
451 bool inShadowTree() const override { return false; } 450 bool inShadowTree() const override { return false; }
452 void willBeDetached() override {} 451 void willBeDetached() override {}
453 void detached(FrameDetachType) override {} 452 void detached(FrameDetachType) override {}
454 Frame* opener() const override { return nullptr; } 453 Frame* opener() const override { return nullptr; }
455 void setOpener(Frame*) override {} 454 void setOpener(Frame*) override {}
456 Frame* parent() const override { return nullptr; } 455 Frame* parent() const override { return nullptr; }
457 Frame* top() const override { return nullptr; } 456 Frame* top() const override { return nullptr; }
458 Frame* nextSibling() const override { return nullptr; } 457 Frame* nextSibling() const override { return nullptr; }
459 Frame* firstChild() const override { return nullptr; } 458 Frame* firstChild() const override { return nullptr; }
460 void frameFocused() const override {} 459 void frameFocused() const override {}
461 }; 460 };
462 461
463 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 462 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
464 463
465 } // namespace blink 464 } // namespace blink
466 465
467 #endif // EmptyClients_h 466 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/RemoteFrameClient.h ('k') | third_party/WebKit/Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698