OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 #include "platform/graphics/GraphicsContext.h" | 110 #include "platform/graphics/GraphicsContext.h" |
111 #include "platform/graphics/Image.h" | 111 #include "platform/graphics/Image.h" |
112 #include "platform/graphics/ImageBuffer.h" | 112 #include "platform/graphics/ImageBuffer.h" |
113 #include "platform/graphics/gpu/DrawingBuffer.h" | 113 #include "platform/graphics/gpu/DrawingBuffer.h" |
114 #include "platform/graphics/paint/DrawingRecorder.h" | 114 #include "platform/graphics/paint/DrawingRecorder.h" |
115 #include "platform/image-decoders/ImageDecoder.h" | 115 #include "platform/image-decoders/ImageDecoder.h" |
116 #include "platform/instrumentation/tracing/TraceEvent.h" | 116 #include "platform/instrumentation/tracing/TraceEvent.h" |
117 #include "platform/loader/fetch/UniqueIdentifier.h" | 117 #include "platform/loader/fetch/UniqueIdentifier.h" |
118 #include "platform/scroll/ScrollbarTheme.h" | 118 #include "platform/scroll/ScrollbarTheme.h" |
119 #include "platform/weborigin/SchemeRegistry.h" | 119 #include "platform/weborigin/SchemeRegistry.h" |
| 120 #include "platform/wtf/AutoReset.h" |
| 121 #include "platform/wtf/CurrentTime.h" |
| 122 #include "platform/wtf/PtrUtil.h" |
| 123 #include "platform/wtf/RefPtr.h" |
120 #include "public/platform/Platform.h" | 124 #include "public/platform/Platform.h" |
121 #include "public/platform/WebCompositeAndReadbackAsyncCallback.h" | 125 #include "public/platform/WebCompositeAndReadbackAsyncCallback.h" |
122 #include "public/platform/WebCompositorSupport.h" | 126 #include "public/platform/WebCompositorSupport.h" |
123 #include "public/platform/WebFloatPoint.h" | 127 #include "public/platform/WebFloatPoint.h" |
124 #include "public/platform/WebGestureCurve.h" | 128 #include "public/platform/WebGestureCurve.h" |
125 #include "public/platform/WebImage.h" | 129 #include "public/platform/WebImage.h" |
126 #include "public/platform/WebLayerTreeView.h" | 130 #include "public/platform/WebLayerTreeView.h" |
127 #include "public/platform/WebScheduler.h" | 131 #include "public/platform/WebScheduler.h" |
128 #include "public/platform/WebTextInputInfo.h" | 132 #include "public/platform/WebTextInputInfo.h" |
129 #include "public/platform/WebURLRequest.h" | 133 #include "public/platform/WebURLRequest.h" |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 #include "web/StorageQuotaClientImpl.h" | 171 #include "web/StorageQuotaClientImpl.h" |
168 #include "web/ValidationMessageClientImpl.h" | 172 #include "web/ValidationMessageClientImpl.h" |
169 #include "web/WebDevToolsAgentImpl.h" | 173 #include "web/WebDevToolsAgentImpl.h" |
170 #include "web/WebInputEventConversion.h" | 174 #include "web/WebInputEventConversion.h" |
171 #include "web/WebInputMethodControllerImpl.h" | 175 #include "web/WebInputMethodControllerImpl.h" |
172 #include "web/WebLocalFrameImpl.h" | 176 #include "web/WebLocalFrameImpl.h" |
173 #include "web/WebPagePopupImpl.h" | 177 #include "web/WebPagePopupImpl.h" |
174 #include "web/WebPluginContainerImpl.h" | 178 #include "web/WebPluginContainerImpl.h" |
175 #include "web/WebRemoteFrameImpl.h" | 179 #include "web/WebRemoteFrameImpl.h" |
176 #include "web/WebSettingsImpl.h" | 180 #include "web/WebSettingsImpl.h" |
177 #include "wtf/AutoReset.h" | |
178 #include "wtf/CurrentTime.h" | |
179 #include "wtf/PtrUtil.h" | |
180 #include "wtf/RefPtr.h" | |
181 | 181 |
182 #if USE(DEFAULT_RENDER_THEME) | 182 #if USE(DEFAULT_RENDER_THEME) |
183 #include "core/layout/LayoutThemeDefault.h" | 183 #include "core/layout/LayoutThemeDefault.h" |
184 #endif | 184 #endif |
185 | 185 |
186 // Get rid of WTF's pow define so we can use std::pow. | 186 // Get rid of WTF's pow define so we can use std::pow. |
187 #undef pow | 187 #undef pow |
188 #include <cmath> // for std::pow | 188 #include <cmath> // for std::pow |
189 | 189 |
190 // The following constants control parameters for automated scaling of webpages | 190 // The following constants control parameters for automated scaling of webpages |
(...skipping 3987 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4178 if (focusedFrame->localFrameRoot() != mainFrameImpl()->frame()) | 4178 if (focusedFrame->localFrameRoot() != mainFrameImpl()->frame()) |
4179 return nullptr; | 4179 return nullptr; |
4180 return focusedFrame; | 4180 return focusedFrame; |
4181 } | 4181 } |
4182 | 4182 |
4183 LocalFrame* WebViewImpl::focusedLocalFrameAvailableForIme() const { | 4183 LocalFrame* WebViewImpl::focusedLocalFrameAvailableForIme() const { |
4184 return m_imeAcceptEvents ? focusedLocalFrameInWidget() : nullptr; | 4184 return m_imeAcceptEvents ? focusedLocalFrameInWidget() : nullptr; |
4185 } | 4185 } |
4186 | 4186 |
4187 } // namespace blink | 4187 } // namespace blink |
OLD | NEW |