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

Side by Side Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple 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 are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 unsigned backForwardLength() override; 177 unsigned backForwardLength() override;
178 178
179 void suddenTerminationDisablerChanged(bool present, SuddenTerminationDisable rType) override; 179 void suddenTerminationDisablerChanged(bool present, SuddenTerminationDisable rType) override;
180 180
181 BlameContext* frameBlameContext() override; 181 BlameContext* frameBlameContext() override;
182 182
183 LinkResource* createServiceWorkerLinkResource(HTMLLinkElement*) override; 183 LinkResource* createServiceWorkerLinkResource(HTMLLinkElement*) override;
184 184
185 WebEffectiveConnectionType getEffectiveConnectionType() override; 185 WebEffectiveConnectionType getEffectiveConnectionType() override;
186 186
187 KURL overrideFlashEmbedWithHTML(const KURL&) override;
188
187 private: 189 private:
188 explicit FrameLoaderClientImpl(WebLocalFrameImpl*); 190 explicit FrameLoaderClientImpl(WebLocalFrameImpl*);
189 191
190 bool isFrameLoaderClientImpl() const override { return true; } 192 bool isFrameLoaderClientImpl() const override { return true; }
191 WebDevToolsAgentImpl* devToolsAgent(); 193 WebDevToolsAgentImpl* devToolsAgent();
192 194
193 // The WebFrame that owns this object and manages its lifetime. Therefore, 195 // The WebFrame that owns this object and manages its lifetime. Therefore,
194 // the web frame object is guaranteed to exist. 196 // the web frame object is guaranteed to exist.
195 Member<WebLocalFrameImpl> m_webFrame; 197 Member<WebLocalFrameImpl> m_webFrame;
196 198
197 String m_userAgent; 199 String m_userAgent;
198 }; 200 };
199 201
200 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 202 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
201 203
202 } // namespace blink 204 } // namespace blink
203 205
204 #endif 206 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameLoaderClient.h ('k') | third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698