| 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 1918 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1929     if (ScreenOrientationController::from(*frame())) | 1929     if (ScreenOrientationController::from(*frame())) | 
| 1930         ScreenOrientationController::from(*frame())->notifyOrientationChanged(); | 1930         ScreenOrientationController::from(*frame())->notifyOrientationChanged(); | 
| 1931 | 1931 | 
| 1932     // Legacy window.orientation API | 1932     // Legacy window.orientation API | 
| 1933     if (RuntimeEnabledFeatures::orientationEventEnabled() && frame()->domWindow(
      )) | 1933     if (RuntimeEnabledFeatures::orientationEventEnabled() && frame()->domWindow(
      )) | 
| 1934         frame()->localDOMWindow()->sendOrientationChangeEvent(); | 1934         frame()->localDOMWindow()->sendOrientationChangeEvent(); | 
| 1935 } | 1935 } | 
| 1936 | 1936 | 
| 1937 void WebLocalFrameImpl::willShowInstallBannerPrompt(int requestId, const WebVect
      or<WebString>& platforms, WebAppBannerPromptReply* reply) | 1937 void WebLocalFrameImpl::willShowInstallBannerPrompt(int requestId, const WebVect
      or<WebString>& platforms, WebAppBannerPromptReply* reply) | 
| 1938 { | 1938 { | 
| 1939     if (!RuntimeEnabledFeatures::appBannerEnabled() || !frame()) | 1939     if (!frame()) | 
| 1940         return; | 1940         return; | 
| 1941 | 1941 | 
| 1942     AppBannerController::willShowInstallBannerPrompt(requestId, client()->appBan
      nerClient(), frame(), platforms, reply); | 1942     AppBannerController::willShowInstallBannerPrompt(requestId, client()->appBan
      nerClient(), frame(), platforms, reply); | 
| 1943 } | 1943 } | 
| 1944 | 1944 | 
| 1945 void WebLocalFrameImpl::requestRunTask(WebSuspendableTask* task) const | 1945 void WebLocalFrameImpl::requestRunTask(WebSuspendableTask* task) const | 
| 1946 { | 1946 { | 
| 1947     DCHECK(frame()); | 1947     DCHECK(frame()); | 
| 1948     DCHECK(frame()->document()); | 1948     DCHECK(frame()->document()); | 
| 1949     frame()->document()->postSuspendableTask(WebSuspendableTaskWrapper::create(w
      rapUnique(task))); | 1949     frame()->document()->postSuspendableTask(WebSuspendableTaskWrapper::create(w
      rapUnique(task))); | 
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2143 { | 2143 { | 
| 2144     frame()->loader().forceSandboxFlags(static_cast<SandboxFlags>(flags)); | 2144     frame()->loader().forceSandboxFlags(static_cast<SandboxFlags>(flags)); | 
| 2145 } | 2145 } | 
| 2146 | 2146 | 
| 2147 void WebLocalFrameImpl::clearActiveFindMatch() | 2147 void WebLocalFrameImpl::clearActiveFindMatch() | 
| 2148 { | 2148 { | 
| 2149     ensureTextFinder().clearActiveFindMatch(); | 2149     ensureTextFinder().clearActiveFindMatch(); | 
| 2150 } | 2150 } | 
| 2151 | 2151 | 
| 2152 } // namespace blink | 2152 } // namespace blink | 
| OLD | NEW | 
|---|