OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 15 matching lines...) Expand all Loading... |
26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
30 */ | 30 */ |
31 | 31 |
32 #include "config.h" | 32 #include "config.h" |
33 #include "web/ChromeClientImpl.h" | 33 #include "web/ChromeClientImpl.h" |
34 | 34 |
35 #include "HTMLNames.h" | 35 #include "HTMLNames.h" |
36 #include "RuntimeEnabledFeatures.h" | |
37 #include "bindings/v8/ScriptController.h" | 36 #include "bindings/v8/ScriptController.h" |
38 #include "core/accessibility/AXObject.h" | 37 #include "core/accessibility/AXObject.h" |
39 #include "core/accessibility/AXObjectCache.h" | 38 #include "core/accessibility/AXObjectCache.h" |
40 #include "core/dom/Document.h" | 39 #include "core/dom/Document.h" |
41 #include "core/dom/DocumentFullscreen.h" | 40 #include "core/dom/DocumentFullscreen.h" |
42 #include "core/dom/Node.h" | 41 #include "core/dom/Node.h" |
43 #include "core/events/KeyboardEvent.h" | 42 #include "core/events/KeyboardEvent.h" |
44 #include "core/events/MouseEvent.h" | 43 #include "core/events/MouseEvent.h" |
45 #include "core/events/WheelEvent.h" | 44 #include "core/events/WheelEvent.h" |
46 #include "core/frame/Console.h" | 45 #include "core/frame/Console.h" |
47 #include "core/frame/FrameView.h" | 46 #include "core/frame/FrameView.h" |
48 #include "core/frame/Settings.h" | 47 #include "core/frame/Settings.h" |
49 #include "core/html/HTMLInputElement.h" | 48 #include "core/html/HTMLInputElement.h" |
50 #include "core/loader/DocumentLoader.h" | 49 #include "core/loader/DocumentLoader.h" |
51 #include "core/loader/FrameLoadRequest.h" | 50 #include "core/loader/FrameLoadRequest.h" |
52 #include "core/page/Page.h" | 51 #include "core/page/Page.h" |
53 #include "core/page/PagePopupDriver.h" | 52 #include "core/page/PagePopupDriver.h" |
54 #include "core/page/WindowFeatures.h" | 53 #include "core/page/WindowFeatures.h" |
55 #include "core/rendering/HitTestResult.h" | 54 #include "core/rendering/HitTestResult.h" |
56 #include "core/rendering/RenderWidget.h" | 55 #include "core/rendering/RenderWidget.h" |
57 #include "platform/ColorChooser.h" | 56 #include "platform/ColorChooser.h" |
58 #include "platform/ColorChooserClient.h" | 57 #include "platform/ColorChooserClient.h" |
59 #include "platform/Cursor.h" | 58 #include "platform/Cursor.h" |
60 #include "platform/DateTimeChooser.h" | 59 #include "platform/DateTimeChooser.h" |
61 #include "platform/FileChooser.h" | 60 #include "platform/FileChooser.h" |
62 #include "platform/NotImplemented.h" | 61 #include "platform/NotImplemented.h" |
63 #include "platform/PlatformScreen.h" | 62 #include "platform/PlatformScreen.h" |
| 63 #include "platform/RuntimeEnabledFeatures.h" |
64 #include "platform/exported/WrappedResourceRequest.h" | 64 #include "platform/exported/WrappedResourceRequest.h" |
65 #include "platform/geometry/FloatRect.h" | 65 #include "platform/geometry/FloatRect.h" |
66 #include "platform/geometry/IntRect.h" | 66 #include "platform/geometry/IntRect.h" |
67 #include "platform/graphics/GraphicsLayer.h" | 67 #include "platform/graphics/GraphicsLayer.h" |
68 #include "platform/weborigin/SecurityOrigin.h" | 68 #include "platform/weborigin/SecurityOrigin.h" |
69 #include "public/platform/Platform.h" | 69 #include "public/platform/Platform.h" |
70 #include "public/platform/WebCursorInfo.h" | 70 #include "public/platform/WebCursorInfo.h" |
71 #include "public/platform/WebRect.h" | 71 #include "public/platform/WebRect.h" |
72 #include "public/platform/WebURLRequest.h" | 72 #include "public/platform/WebURLRequest.h" |
73 #include "public/web/WebAXObject.h" | 73 #include "public/web/WebAXObject.h" |
(...skipping 807 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
881 if (m_webView->autofillClient()) | 881 if (m_webView->autofillClient()) |
882 m_webView->autofillClient()->openTextDataListChooser(WebInputElement(&in
put)); | 882 m_webView->autofillClient()->openTextDataListChooser(WebInputElement(&in
put)); |
883 } | 883 } |
884 | 884 |
885 bool ChromeClientImpl::usesGpuRasterization() | 885 bool ChromeClientImpl::usesGpuRasterization() |
886 { | 886 { |
887 return m_webView->layerTreeView()->usesGpuRasterization(); | 887 return m_webView->layerTreeView()->usesGpuRasterization(); |
888 } | 888 } |
889 | 889 |
890 } // namespace blink | 890 } // namespace blink |
OLD | NEW |