OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 1788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1799 { | 1799 { |
1800 if (m_totalMatchCount > 0) | 1800 if (m_totalMatchCount > 0) |
1801 ++m_findMatchMarkersVersion; | 1801 ++m_findMatchMarkersVersion; |
1802 | 1802 |
1803 m_totalMatchCount = 0; | 1803 m_totalMatchCount = 0; |
1804 m_framesScopingCount = 0; | 1804 m_framesScopingCount = 0; |
1805 } | 1805 } |
1806 | 1806 |
1807 void WebFrameImpl::sendOrientationChangeEvent(int orientation) | 1807 void WebFrameImpl::sendOrientationChangeEvent(int orientation) |
1808 { | 1808 { |
1809 ASSERT(!RuntimeEnabledFeatures::orientationEventEnabled()); | |
1810 | |
1811 if (frame()) | 1809 if (frame()) |
1812 frame()->sendOrientationChangeEvent(orientation); | 1810 frame()->sendOrientationChangeEvent(orientation); |
1813 } | 1811 } |
1814 | 1812 |
1815 void WebFrameImpl::dispatchMessageEventWithOriginCheck(const WebSecurityOrigin&
intendedTargetOrigin, const WebDOMEvent& event) | 1813 void WebFrameImpl::dispatchMessageEventWithOriginCheck(const WebSecurityOrigin&
intendedTargetOrigin, const WebDOMEvent& event) |
1816 { | 1814 { |
1817 ASSERT(!event.isNull()); | 1815 ASSERT(!event.isNull()); |
1818 frame()->domWindow()->dispatchMessageEventWithOriginCheck(intendedTargetOrig
in.get(), event, 0); | 1816 frame()->domWindow()->dispatchMessageEventWithOriginCheck(intendedTargetOrig
in.get(), event, 0); |
1819 } | 1817 } |
1820 | 1818 |
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2489 | 2487 |
2490 // There is a possibility that the frame being detached was the only | 2488 // There is a possibility that the frame being detached was the only |
2491 // pending one. We need to make sure final replies can be sent. | 2489 // pending one. We need to make sure final replies can be sent. |
2492 flushCurrentScopingEffort(m_findRequestIdentifier); | 2490 flushCurrentScopingEffort(m_findRequestIdentifier); |
2493 | 2491 |
2494 cancelPendingScopingEffort(); | 2492 cancelPendingScopingEffort(); |
2495 } | 2493 } |
2496 } | 2494 } |
2497 | 2495 |
2498 } // namespace blink | 2496 } // namespace blink |
OLD | NEW |