| 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 1366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1377 } | 1377 } |
| 1378 | 1378 |
| 1379 void WebLocalFrameImpl::resetMatchCount() | 1379 void WebLocalFrameImpl::resetMatchCount() |
| 1380 { | 1380 { |
| 1381 ensureTextFinder().resetMatchCount(); | 1381 ensureTextFinder().resetMatchCount(); |
| 1382 } | 1382 } |
| 1383 | 1383 |
| 1384 void WebLocalFrameImpl::sendOrientationChangeEvent() | 1384 void WebLocalFrameImpl::sendOrientationChangeEvent() |
| 1385 { | 1385 { |
| 1386 if (frame()) | 1386 if (frame()) |
| 1387 frame()->sendOrientationChangeEvent(); | 1387 ScreenOrientationController::from(*frame()).notifyOrientationChanged(); |
| 1388 } | 1388 } |
| 1389 | 1389 |
| 1390 void WebLocalFrameImpl::dispatchMessageEventWithOriginCheck(const WebSecurityOri
gin& intendedTargetOrigin, const WebDOMEvent& event) | 1390 void WebLocalFrameImpl::dispatchMessageEventWithOriginCheck(const WebSecurityOri
gin& intendedTargetOrigin, const WebDOMEvent& event) |
| 1391 { | 1391 { |
| 1392 ASSERT(!event.isNull()); | 1392 ASSERT(!event.isNull()); |
| 1393 frame()->domWindow()->dispatchMessageEventWithOriginCheck(intendedTargetOrig
in.get(), event, nullptr); | 1393 frame()->domWindow()->dispatchMessageEventWithOriginCheck(intendedTargetOrig
in.get(), event, nullptr); |
| 1394 } | 1394 } |
| 1395 | 1395 |
| 1396 int WebLocalFrameImpl::findMatchMarkersVersion() const | 1396 int WebLocalFrameImpl::findMatchMarkersVersion() const |
| 1397 { | 1397 { |
| (...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1851 | 1851 |
| 1852 void WebLocalFrameImpl::invalidateAll() const | 1852 void WebLocalFrameImpl::invalidateAll() const |
| 1853 { | 1853 { |
| 1854 ASSERT(frame() && frame()->view()); | 1854 ASSERT(frame() && frame()->view()); |
| 1855 FrameView* view = frame()->view(); | 1855 FrameView* view = frame()->view(); |
| 1856 view->invalidateRect(view->frameRect()); | 1856 view->invalidateRect(view->frameRect()); |
| 1857 invalidateScrollbar(); | 1857 invalidateScrollbar(); |
| 1858 } | 1858 } |
| 1859 | 1859 |
| 1860 } // namespace blink | 1860 } // namespace blink |
| OLD | NEW |