| 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 2024 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2035 intervalInSeconds); | 2035 intervalInSeconds); |
| 2036 } | 2036 } |
| 2037 | 2037 |
| 2038 void WebLocalFrameImpl::setCommittedFirstRealLoad() { | 2038 void WebLocalFrameImpl::setCommittedFirstRealLoad() { |
| 2039 DCHECK(frame()); | 2039 DCHECK(frame()); |
| 2040 ensureFrameLoaderHasCommitted(frame()->loader()); | 2040 ensureFrameLoaderHasCommitted(frame()->loader()); |
| 2041 } | 2041 } |
| 2042 | 2042 |
| 2043 void WebLocalFrameImpl::setHasReceivedUserGesture() { | 2043 void WebLocalFrameImpl::setHasReceivedUserGesture() { |
| 2044 if (frame()) | 2044 if (frame()) |
| 2045 frame()->document()->setHasReceivedUserGesture(); | 2045 frame()->setDocumentHasReceivedUserGesture(); |
| 2046 } | 2046 } |
| 2047 | 2047 |
| 2048 void WebLocalFrameImpl::sendOrientationChangeEvent() { | 2048 void WebLocalFrameImpl::sendOrientationChangeEvent() { |
| 2049 if (!frame()) | 2049 if (!frame()) |
| 2050 return; | 2050 return; |
| 2051 | 2051 |
| 2052 // Screen Orientation API | 2052 // Screen Orientation API |
| 2053 if (ScreenOrientationControllerImpl::from(*frame())) | 2053 if (ScreenOrientationControllerImpl::from(*frame())) |
| 2054 ScreenOrientationControllerImpl::from(*frame())->notifyOrientationChanged(); | 2054 ScreenOrientationControllerImpl::from(*frame())->notifyOrientationChanged(); |
| 2055 | 2055 |
| (...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2354 ->frameScheduler() | 2354 ->frameScheduler() |
| 2355 ->unthrottledTaskRunner() | 2355 ->unthrottledTaskRunner() |
| 2356 ->toSingleThreadTaskRunner(); | 2356 ->toSingleThreadTaskRunner(); |
| 2357 } | 2357 } |
| 2358 | 2358 |
| 2359 WebInputMethodControllerImpl* WebLocalFrameImpl::inputMethodController() const { | 2359 WebInputMethodControllerImpl* WebLocalFrameImpl::inputMethodController() const { |
| 2360 return m_inputMethodController.get(); | 2360 return m_inputMethodController.get(); |
| 2361 } | 2361 } |
| 2362 | 2362 |
| 2363 } // namespace blink | 2363 } // namespace blink |
| OLD | NEW |