OLD | NEW |
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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 // Effective connection type when this frame was loaded. | 331 // Effective connection type when this frame was loaded. |
332 virtual WebEffectiveConnectionType getEffectiveConnectionType() { | 332 virtual WebEffectiveConnectionType getEffectiveConnectionType() { |
333 return WebEffectiveConnectionType::TypeUnknown; | 333 return WebEffectiveConnectionType::TypeUnknown; |
334 } | 334 } |
335 | 335 |
336 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is | 336 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is |
337 // returned if the URL is not overriden. | 337 // returned if the URL is not overriden. |
338 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } | 338 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } |
339 | 339 |
340 virtual BlameContext* frameBlameContext() { return nullptr; } | 340 virtual BlameContext* frameBlameContext() { return nullptr; } |
| 341 |
| 342 virtual void setHasReceivedUserGesture() {} |
341 }; | 343 }; |
342 | 344 |
343 } // namespace blink | 345 } // namespace blink |
344 | 346 |
345 #endif // FrameLoaderClient_h | 347 #endif // FrameLoaderClient_h |
OLD | NEW |