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

Side by Side Diff: third_party/WebKit/public/web/WebFrameClient.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, 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
« no previous file with comments | « third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 virtual InterfaceProvider* interfaceProvider() { return nullptr; } 695 virtual InterfaceProvider* interfaceProvider() { return nullptr; }
696 696
697 // Visibility ---------------------------------------------------------- 697 // Visibility ----------------------------------------------------------
698 698
699 // Returns the current visibility of the WebFrame. 699 // Returns the current visibility of the WebFrame.
700 virtual WebPageVisibilityState visibilityState() const 700 virtual WebPageVisibilityState visibilityState() const
701 { 701 {
702 return WebPageVisibilityStateVisible; 702 return WebPageVisibilityStateVisible;
703 } 703 }
704 704
705 // Overwrites the given URL to use an HTML5 embed if possible.
706 // A null URL is returned if the URL is not overriden.
mlamouri (slow - plz ping) 2016/08/08 19:43:07 I think you missed one :(
kdsilva 2016/08/09 09:54:38 Done.
707 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url)
708 {
709 return WebURL();
710 }
711
705 protected: 712 protected:
706 virtual ~WebFrameClient() { } 713 virtual ~WebFrameClient() { }
707 }; 714 };
708 715
709 } // namespace blink 716 } // namespace blink
710 717
711 #endif 718 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698