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

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

Issue 2883033003: Propagate inert state to OOPIFs when a modal dialog is active (Closed)
Patch Set: nit addressed Created 3 years, 6 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 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 void Reload(FrameLoadType, ClientRedirectPolicy) override {} 466 void Reload(FrameLoadType, ClientRedirectPolicy) override {}
467 unsigned BackForwardLength() override { return 0; } 467 unsigned BackForwardLength() override { return 0; }
468 void ForwardPostMessage(MessageEvent*, 468 void ForwardPostMessage(MessageEvent*,
469 PassRefPtr<SecurityOrigin> target, 469 PassRefPtr<SecurityOrigin> target,
470 LocalFrame* source_frame) const override {} 470 LocalFrame* source_frame) const override {}
471 void FrameRectsChanged(const IntRect& frame_rect) override {} 471 void FrameRectsChanged(const IntRect& frame_rect) override {}
472 void UpdateRemoteViewportIntersection( 472 void UpdateRemoteViewportIntersection(
473 const IntRect& viewport_intersection) override {} 473 const IntRect& viewport_intersection) override {}
474 void AdvanceFocus(WebFocusType, LocalFrame* source) override {} 474 void AdvanceFocus(WebFocusType, LocalFrame* source) override {}
475 void VisibilityChanged(bool visible) override {} 475 void VisibilityChanged(bool visible) override {}
476 void SetIsInert(bool) override {}
476 477
477 // FrameClient implementation. 478 // FrameClient implementation.
478 bool InShadowTree() const override { return false; } 479 bool InShadowTree() const override { return false; }
479 void WillBeDetached() override {} 480 void WillBeDetached() override {}
480 void Detached(FrameDetachType) override {} 481 void Detached(FrameDetachType) override {}
481 Frame* Opener() const override { return nullptr; } 482 Frame* Opener() const override { return nullptr; }
482 void SetOpener(Frame*) override {} 483 void SetOpener(Frame*) override {}
483 Frame* Parent() const override { return nullptr; } 484 Frame* Parent() const override { return nullptr; }
484 Frame* Top() const override { return nullptr; } 485 Frame* Top() const override { return nullptr; }
485 Frame* NextSibling() const override { return nullptr; } 486 Frame* NextSibling() const override { return nullptr; }
486 Frame* FirstChild() const override { return nullptr; } 487 Frame* FirstChild() const override { return nullptr; }
487 void FrameFocused() const override {} 488 void FrameFocused() const override {}
488 }; 489 };
489 490
490 CORE_EXPORT void FillWithEmptyClients(Page::PageClients&); 491 CORE_EXPORT void FillWithEmptyClients(Page::PageClients&);
491 492
492 } // namespace blink 493 } // namespace blink
493 494
494 #endif // EmptyClients_h 495 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLElement.cpp ('k') | third_party/WebKit/Source/web/WebFrameWidgetImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698