| 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 #include "platform/network/ResourceRequest.h" | 173 #include "platform/network/ResourceRequest.h" |
| 174 #include "platform/scroll/ScrollTypes.h" | 174 #include "platform/scroll/ScrollTypes.h" |
| 175 #include "platform/scroll/ScrollbarTheme.h" | 175 #include "platform/scroll/ScrollbarTheme.h" |
| 176 #include "platform/weborigin/KURL.h" | 176 #include "platform/weborigin/KURL.h" |
| 177 #include "platform/weborigin/SchemeRegistry.h" | 177 #include "platform/weborigin/SchemeRegistry.h" |
| 178 #include "platform/weborigin/SecurityPolicy.h" | 178 #include "platform/weborigin/SecurityPolicy.h" |
| 179 #include "public/platform/InterfaceProvider.h" | 179 #include "public/platform/InterfaceProvider.h" |
| 180 #include "public/platform/WebDoubleSize.h" | 180 #include "public/platform/WebDoubleSize.h" |
| 181 #include "public/platform/WebFloatPoint.h" | 181 #include "public/platform/WebFloatPoint.h" |
| 182 #include "public/platform/WebFloatRect.h" | 182 #include "public/platform/WebFloatRect.h" |
| 183 #include "public/platform/WebFrameScheduler.h" |
| 183 #include "public/platform/WebLayer.h" | 184 #include "public/platform/WebLayer.h" |
| 184 #include "public/platform/WebPoint.h" | 185 #include "public/platform/WebPoint.h" |
| 185 #include "public/platform/WebRect.h" | 186 #include "public/platform/WebRect.h" |
| 186 #include "public/platform/WebSecurityOrigin.h" | 187 #include "public/platform/WebSecurityOrigin.h" |
| 187 #include "public/platform/WebSize.h" | 188 #include "public/platform/WebSize.h" |
| 188 #include "public/platform/WebSuspendableTask.h" | 189 #include "public/platform/WebSuspendableTask.h" |
| 189 #include "public/platform/WebURLError.h" | 190 #include "public/platform/WebURLError.h" |
| 190 #include "public/platform/WebVector.h" | 191 #include "public/platform/WebVector.h" |
| 191 #include "public/web/WebAutofillClient.h" | 192 #include "public/web/WebAutofillClient.h" |
| 192 #include "public/web/WebConsoleMessage.h" | 193 #include "public/web/WebConsoleMessage.h" |
| (...skipping 2134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2327 } else if (metric == "npnNegotiatedProtocol") { | 2328 } else if (metric == "npnNegotiatedProtocol") { |
| 2328 feature = UseCounter::ChromeLoadTimesNpnNegotiatedProtocol; | 2329 feature = UseCounter::ChromeLoadTimesNpnNegotiatedProtocol; |
| 2329 } else if (metric == "wasAlternateProtocolAvailable") { | 2330 } else if (metric == "wasAlternateProtocolAvailable") { |
| 2330 feature = UseCounter::ChromeLoadTimesWasAlternateProtocolAvailable; | 2331 feature = UseCounter::ChromeLoadTimesWasAlternateProtocolAvailable; |
| 2331 } else if (metric == "connectionInfo") { | 2332 } else if (metric == "connectionInfo") { |
| 2332 feature = UseCounter::ChromeLoadTimesConnectionInfo; | 2333 feature = UseCounter::ChromeLoadTimesConnectionInfo; |
| 2333 } | 2334 } |
| 2334 UseCounter::count(frame(), feature); | 2335 UseCounter::count(frame(), feature); |
| 2335 } | 2336 } |
| 2336 | 2337 |
| 2338 void WebLocalFrameImpl::audioStateChanged(bool isAudioPlaying) { |
| 2339 frame()->frameScheduler()->audioStateChanged(isAudioPlaying); |
| 2340 } |
| 2341 |
| 2337 } // namespace blink | 2342 } // namespace blink |
| OLD | NEW |