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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 #include "platform/graphics/CompositorMutatorClient.h" | 109 #include "platform/graphics/CompositorMutatorClient.h" |
110 #include "platform/graphics/FirstPaintInvalidationTracking.h" | 110 #include "platform/graphics/FirstPaintInvalidationTracking.h" |
111 #include "platform/graphics/GraphicsContext.h" | 111 #include "platform/graphics/GraphicsContext.h" |
112 #include "platform/graphics/Image.h" | 112 #include "platform/graphics/Image.h" |
113 #include "platform/graphics/ImageBuffer.h" | 113 #include "platform/graphics/ImageBuffer.h" |
114 #include "platform/graphics/gpu/DrawingBuffer.h" | 114 #include "platform/graphics/gpu/DrawingBuffer.h" |
115 #include "platform/graphics/paint/DrawingRecorder.h" | 115 #include "platform/graphics/paint/DrawingRecorder.h" |
116 #include "platform/image-decoders/ImageDecoder.h" | 116 #include "platform/image-decoders/ImageDecoder.h" |
117 #include "platform/instrumentation/tracing/TraceEvent.h" | 117 #include "platform/instrumentation/tracing/TraceEvent.h" |
118 #include "platform/loader/fetch/UniqueIdentifier.h" | 118 #include "platform/loader/fetch/UniqueIdentifier.h" |
| 119 #include "platform/scheduler/child/web_scheduler.h" |
| 120 #include "platform/scheduler/renderer/web_view_scheduler.h" |
119 #include "platform/scroll/ScrollbarTheme.h" | 121 #include "platform/scroll/ScrollbarTheme.h" |
120 #include "platform/weborigin/SchemeRegistry.h" | 122 #include "platform/weborigin/SchemeRegistry.h" |
121 #include "platform/wtf/AutoReset.h" | 123 #include "platform/wtf/AutoReset.h" |
122 #include "platform/wtf/CurrentTime.h" | 124 #include "platform/wtf/CurrentTime.h" |
123 #include "platform/wtf/PtrUtil.h" | 125 #include "platform/wtf/PtrUtil.h" |
124 #include "platform/wtf/RefPtr.h" | 126 #include "platform/wtf/RefPtr.h" |
125 #include "public/platform/Platform.h" | 127 #include "public/platform/Platform.h" |
126 #include "public/platform/WebCompositeAndReadbackAsyncCallback.h" | 128 #include "public/platform/WebCompositeAndReadbackAsyncCallback.h" |
127 #include "public/platform/WebCompositorSupport.h" | 129 #include "public/platform/WebCompositorSupport.h" |
128 #include "public/platform/WebFloatPoint.h" | 130 #include "public/platform/WebFloatPoint.h" |
129 #include "public/platform/WebGestureCurve.h" | 131 #include "public/platform/WebGestureCurve.h" |
130 #include "public/platform/WebImage.h" | 132 #include "public/platform/WebImage.h" |
131 #include "public/platform/WebLayerTreeView.h" | 133 #include "public/platform/WebLayerTreeView.h" |
132 #include "public/platform/WebScheduler.h" | |
133 #include "public/platform/WebTextInputInfo.h" | 134 #include "public/platform/WebTextInputInfo.h" |
134 #include "public/platform/WebURLRequest.h" | 135 #include "public/platform/WebURLRequest.h" |
135 #include "public/platform/WebVector.h" | 136 #include "public/platform/WebVector.h" |
136 #include "public/platform/WebViewScheduler.h" | |
137 #include "public/web/WebAXObject.h" | 137 #include "public/web/WebAXObject.h" |
138 #include "public/web/WebActiveWheelFlingParameters.h" | 138 #include "public/web/WebActiveWheelFlingParameters.h" |
139 #include "public/web/WebAutofillClient.h" | 139 #include "public/web/WebAutofillClient.h" |
140 #include "public/web/WebConsoleMessage.h" | 140 #include "public/web/WebConsoleMessage.h" |
141 #include "public/web/WebElement.h" | 141 #include "public/web/WebElement.h" |
142 #include "public/web/WebFrame.h" | 142 #include "public/web/WebFrame.h" |
143 #include "public/web/WebFrameClient.h" | 143 #include "public/web/WebFrameClient.h" |
144 #include "public/web/WebFrameWidget.h" | 144 #include "public/web/WebFrameWidget.h" |
145 #include "public/web/WebHitTestResult.h" | 145 #include "public/web/WebHitTestResult.h" |
146 #include "public/web/WebInputElement.h" | 146 #include "public/web/WebInputElement.h" |
(...skipping 4010 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4157 if (focused_frame->LocalFrameRoot() != MainFrameImpl()->GetFrame()) | 4157 if (focused_frame->LocalFrameRoot() != MainFrameImpl()->GetFrame()) |
4158 return nullptr; | 4158 return nullptr; |
4159 return focused_frame; | 4159 return focused_frame; |
4160 } | 4160 } |
4161 | 4161 |
4162 LocalFrame* WebViewImpl::FocusedLocalFrameAvailableForIme() const { | 4162 LocalFrame* WebViewImpl::FocusedLocalFrameAvailableForIme() const { |
4163 return ime_accept_events_ ? FocusedLocalFrameInWidget() : nullptr; | 4163 return ime_accept_events_ ? FocusedLocalFrameInWidget() : nullptr; |
4164 } | 4164 } |
4165 | 4165 |
4166 } // namespace blink | 4166 } // namespace blink |
OLD | NEW |