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

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

Issue 2154233003: Rewrite YouTube Flash embeds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 4 years, 5 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, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 enum SuddenTerminationDisablerType { 266 enum SuddenTerminationDisablerType {
267 BeforeUnloadHandler, 267 BeforeUnloadHandler,
268 UnloadHandler, 268 UnloadHandler,
269 }; 269 };
270 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio nDisablerType) { } 270 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio nDisablerType) { }
271 271
272 virtual LinkResource* createServiceWorkerLinkResource(HTMLLinkElement*) { re turn nullptr; } 272 virtual LinkResource* createServiceWorkerLinkResource(HTMLLinkElement*) { re turn nullptr; }
273 273
274 // Effective connection type when this frame was loaded. 274 // Effective connection type when this frame was loaded.
275 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web EffectiveConnectionType::TypeUnknown; } 275 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web EffectiveConnectionType::TypeUnknown; }
276
277 // TODO(kdsilva)
278 virtual String OverrideFlashEmbedWithHTML(const String&) = 0;
mlamouri (slow - plz ping) 2016/07/21 15:55:08 Remove the TODO and add a real comment? :) Maybe
kdsilva 2016/07/22 13:55:58 Done.
276 }; 279 };
277 280
278 } // namespace blink 281 } // namespace blink
279 282
280 #endif // FrameLoaderClient_h 283 #endif // FrameLoaderClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698