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 21 matching lines...) Expand all Loading... |
32 #include "web/ChromeClientImpl.h" | 32 #include "web/ChromeClientImpl.h" |
33 | 33 |
34 #include <memory> | 34 #include <memory> |
35 #include "bindings/core/v8/ScriptController.h" | 35 #include "bindings/core/v8/ScriptController.h" |
36 #include "core/HTMLNames.h" | 36 #include "core/HTMLNames.h" |
37 #include "core/dom/AXObjectCache.h" | 37 #include "core/dom/AXObjectCache.h" |
38 #include "core/dom/Document.h" | 38 #include "core/dom/Document.h" |
39 #include "core/dom/Fullscreen.h" | 39 #include "core/dom/Fullscreen.h" |
40 #include "core/dom/Node.h" | 40 #include "core/dom/Node.h" |
41 #include "core/events/UIEventWithKeyState.h" | 41 #include "core/events/UIEventWithKeyState.h" |
| 42 #include "core/exported/WebViewBase.h" |
42 #include "core/frame/FrameView.h" | 43 #include "core/frame/FrameView.h" |
43 #include "core/frame/Settings.h" | 44 #include "core/frame/Settings.h" |
44 #include "core/frame/VisualViewport.h" | 45 #include "core/frame/VisualViewport.h" |
45 #include "core/html/HTMLInputElement.h" | 46 #include "core/html/HTMLInputElement.h" |
46 #include "core/html/forms/ColorChooser.h" | 47 #include "core/html/forms/ColorChooser.h" |
47 #include "core/html/forms/ColorChooserClient.h" | 48 #include "core/html/forms/ColorChooserClient.h" |
48 #include "core/html/forms/DateTimeChooser.h" | 49 #include "core/html/forms/DateTimeChooser.h" |
49 #include "core/layout/HitTestResult.h" | 50 #include "core/layout/HitTestResult.h" |
50 #include "core/layout/LayoutPart.h" | 51 #include "core/layout/LayoutPart.h" |
51 #include "core/layout/compositing/CompositedSelection.h" | 52 #include "core/layout/compositing/CompositedSelection.h" |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 #include "web/IndexedDBClientImpl.h" | 117 #include "web/IndexedDBClientImpl.h" |
117 #include "web/LocalFileSystemClient.h" | 118 #include "web/LocalFileSystemClient.h" |
118 #include "web/NavigatorContentUtilsClientImpl.h" | 119 #include "web/NavigatorContentUtilsClientImpl.h" |
119 #include "web/PopupMenuImpl.h" | 120 #include "web/PopupMenuImpl.h" |
120 #include "web/WebFileChooserCompletionImpl.h" | 121 #include "web/WebFileChooserCompletionImpl.h" |
121 #include "web/WebFrameWidgetImpl.h" | 122 #include "web/WebFrameWidgetImpl.h" |
122 #include "web/WebInputEventConversion.h" | 123 #include "web/WebInputEventConversion.h" |
123 #include "web/WebLocalFrameImpl.h" | 124 #include "web/WebLocalFrameImpl.h" |
124 #include "web/WebPluginContainerImpl.h" | 125 #include "web/WebPluginContainerImpl.h" |
125 #include "web/WebSettingsImpl.h" | 126 #include "web/WebSettingsImpl.h" |
126 #include "web/WebViewImpl.h" | |
127 | 127 |
128 namespace blink { | 128 namespace blink { |
129 | 129 |
130 namespace { | 130 namespace { |
131 | 131 |
132 const char* DialogTypeToString(ChromeClient::DialogType dialog_type) { | 132 const char* DialogTypeToString(ChromeClient::DialogType dialog_type) { |
133 switch (dialog_type) { | 133 switch (dialog_type) { |
134 case ChromeClient::kAlertDialog: | 134 case ChromeClient::kAlertDialog: |
135 return "alert"; | 135 return "alert"; |
136 case ChromeClient::kConfirmDialog: | 136 case ChromeClient::kConfirmDialog: |
(...skipping 1098 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1235 if (RuntimeEnabledFeatures::presentationEnabled()) | 1235 if (RuntimeEnabledFeatures::presentationEnabled()) |
1236 PresentationController::ProvideTo(frame, client->PresentationClient()); | 1236 PresentationController::ProvideTo(frame, client->PresentationClient()); |
1237 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) { | 1237 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) { |
1238 ProvideAudioOutputDeviceClientTo(frame, | 1238 ProvideAudioOutputDeviceClientTo(frame, |
1239 new AudioOutputDeviceClientImpl(frame)); | 1239 new AudioOutputDeviceClientImpl(frame)); |
1240 } | 1240 } |
1241 InstalledAppController::ProvideTo(frame, client->GetRelatedAppsFetcher()); | 1241 InstalledAppController::ProvideTo(frame, client->GetRelatedAppsFetcher()); |
1242 } | 1242 } |
1243 | 1243 |
1244 } // namespace blink | 1244 } // namespace blink |
OLD | NEW |