OLD | NEW |
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 999 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1010 | 1010 |
1011 KURL LocalFrameClientImpl::overrideFlashEmbedWithHTML(const KURL& url) { | 1011 KURL LocalFrameClientImpl::overrideFlashEmbedWithHTML(const KURL& url) { |
1012 return m_webFrame->client()->overrideFlashEmbedWithHTML(WebURL(url)); | 1012 return m_webFrame->client()->overrideFlashEmbedWithHTML(WebURL(url)); |
1013 } | 1013 } |
1014 | 1014 |
1015 void LocalFrameClientImpl::setHasReceivedUserGesture() { | 1015 void LocalFrameClientImpl::setHasReceivedUserGesture() { |
1016 if (m_webFrame->client()) | 1016 if (m_webFrame->client()) |
1017 m_webFrame->client()->setHasReceivedUserGesture(); | 1017 m_webFrame->client()->setHasReceivedUserGesture(); |
1018 } | 1018 } |
1019 | 1019 |
| 1020 void LocalFrameClientImpl::abortClientNavigation() { |
| 1021 if (m_webFrame->client()) |
| 1022 m_webFrame->client()->abortClientNavigation(); |
| 1023 } |
| 1024 |
1020 } // namespace blink | 1025 } // namespace blink |
OLD | NEW |