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

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

Issue 2625773002: Reenable framebusting (Closed)
Patch Set: Fix unit tests Created 3 years, 11 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 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
3 * reserved. 3 * reserved.
4 * Copyright (C) 2012 Google Inc. All rights reserved. 4 * Copyright (C) 2012 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 // Effective connection type when this frame was loaded. 334 // Effective connection type when this frame was loaded.
335 virtual WebEffectiveConnectionType getEffectiveConnectionType() { 335 virtual WebEffectiveConnectionType getEffectiveConnectionType() {
336 return WebEffectiveConnectionType::TypeUnknown; 336 return WebEffectiveConnectionType::TypeUnknown;
337 } 337 }
338 338
339 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is 339 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is
340 // returned if the URL is not overriden. 340 // returned if the URL is not overriden.
341 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } 341 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); }
342 342
343 virtual BlameContext* frameBlameContext() { return nullptr; } 343 virtual BlameContext* frameBlameContext() { return nullptr; }
344
345 virtual void setHasReceivedUserGesture() {}
344 }; 346 };
345 347
346 } // namespace blink 348 } // namespace blink
347 349
348 #endif // FrameLoaderClient_h 350 #endif // FrameLoaderClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698