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

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

Issue 2723963003: Remove renderer-to-renderer input event forwarding for OOPIFs (Closed)
Patch Set: Correct test expectation Created 3 years, 8 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 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 EmptyRemoteFrameClient(); 444 EmptyRemoteFrameClient();
445 445
446 // RemoteFrameClient implementation. 446 // RemoteFrameClient implementation.
447 void navigate(const ResourceRequest&, 447 void navigate(const ResourceRequest&,
448 bool shouldReplaceCurrentEntry) override {} 448 bool shouldReplaceCurrentEntry) override {}
449 void reload(FrameLoadType, ClientRedirectPolicy) override {} 449 void reload(FrameLoadType, ClientRedirectPolicy) override {}
450 unsigned backForwardLength() override { return 0; } 450 unsigned backForwardLength() override { return 0; }
451 void forwardPostMessage(MessageEvent*, 451 void forwardPostMessage(MessageEvent*,
452 PassRefPtr<SecurityOrigin> target, 452 PassRefPtr<SecurityOrigin> target,
453 LocalFrame* sourceFrame) const override {} 453 LocalFrame* sourceFrame) const override {}
454 void forwardInputEvent(Event*) override {}
455 void frameRectsChanged(const IntRect& frameRect) override {} 454 void frameRectsChanged(const IntRect& frameRect) override {}
456 void updateRemoteViewportIntersection( 455 void updateRemoteViewportIntersection(
457 const IntRect& viewportIntersection) override {} 456 const IntRect& viewportIntersection) override {}
458 void advanceFocus(WebFocusType, LocalFrame* source) override {} 457 void advanceFocus(WebFocusType, LocalFrame* source) override {}
459 void visibilityChanged(bool visible) override {} 458 void visibilityChanged(bool visible) override {}
460 459
461 // FrameClient implementation. 460 // FrameClient implementation.
462 bool inShadowTree() const override { return false; } 461 bool inShadowTree() const override { return false; }
463 void willBeDetached() override {} 462 void willBeDetached() override {}
464 void detached(FrameDetachType) override {} 463 void detached(FrameDetachType) override {}
465 Frame* opener() const override { return nullptr; } 464 Frame* opener() const override { return nullptr; }
466 void setOpener(Frame*) override {} 465 void setOpener(Frame*) override {}
467 Frame* parent() const override { return nullptr; } 466 Frame* parent() const override { return nullptr; }
468 Frame* top() const override { return nullptr; } 467 Frame* top() const override { return nullptr; }
469 Frame* nextSibling() const override { return nullptr; } 468 Frame* nextSibling() const override { return nullptr; }
470 Frame* firstChild() const override { return nullptr; } 469 Frame* firstChild() const override { return nullptr; }
471 void frameFocused() const override {} 470 void frameFocused() const override {}
472 }; 471 };
473 472
474 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 473 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
475 474
476 } // namespace blink 475 } // namespace blink
477 476
478 #endif // EmptyClients_h 477 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698