OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2009, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009, 2011 Apple Inc. All rights reserved. |
3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies) |
4 * Copyright (C) 2012, Samsung Electronics. All rights reserved. | 4 * Copyright (C) 2012, Samsung Electronics. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
11 * This library is distributed in the hope that it will be useful, | 11 * This library is distributed in the hope that it will be useful, |
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
14 * Library General Public License for more details. | 14 * Library General Public License for more details. |
15 * | 15 * |
16 * You should have received a copy of the GNU Library General Public License | 16 * You should have received a copy of the GNU Library General Public License |
17 * along with this library; see the file COPYING.LIB. If not, write to | 17 * along with this library; see the file COPYING.LIB. If not, write to |
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
19 * Boston, MA 02110-1301, USA. | 19 * Boston, MA 02110-1301, USA. |
20 */ | 20 */ |
21 | 21 |
22 #include "config.h" | 22 #include "config.h" |
23 #include "Chrome.h" | 23 #include "Chrome.h" |
24 | 24 |
25 #include "ChromeClient.h" | 25 #include "ChromeClient.h" |
26 #include "DateTimeChooser.h" | |
27 #include "Document.h" | 26 #include "Document.h" |
28 #include "FileChooser.h" | |
29 #include "FileIconLoader.h" | |
30 #include "FileList.h" | 27 #include "FileList.h" |
31 #include "Frame.h" | 28 #include "Frame.h" |
32 #include "FrameTree.h" | 29 #include "FrameTree.h" |
33 #include "Geolocation.h" | 30 #include "Geolocation.h" |
34 #include "HTMLFormElement.h" | 31 #include "HTMLFormElement.h" |
35 #include "HTMLInputElement.h" | 32 #include "HTMLInputElement.h" |
36 #include "HTMLNames.h" | 33 #include "HTMLNames.h" |
37 #include "HitTestResult.h" | 34 #include "HitTestResult.h" |
38 #include "InspectorInstrumentation.h" | 35 #include "InspectorInstrumentation.h" |
39 #include "Page.h" | 36 #include "Page.h" |
40 #include "PageGroupLoadDeferrer.h" | 37 #include "PageGroupLoadDeferrer.h" |
41 #include "PopupOpeningObserver.h" | 38 #include "PopupOpeningObserver.h" |
42 #include "RenderObject.h" | 39 #include "RenderObject.h" |
43 #include "SecurityOrigin.h" | 40 #include "SecurityOrigin.h" |
44 #include "Settings.h" | 41 #include "Settings.h" |
45 #include "WindowFeatures.h" | 42 #include "WindowFeatures.h" |
| 43 #include "core/platform/DateTimeChooser.h" |
| 44 #include "core/platform/FileChooser.h" |
| 45 #include "core/platform/FileIconLoader.h" |
46 #include "core/platform/graphics/FloatRect.h" | 46 #include "core/platform/graphics/FloatRect.h" |
47 #include "core/platform/graphics/Icon.h" | 47 #include "core/platform/graphics/Icon.h" |
48 #include "core/platform/network/DNS.h" | 48 #include "core/platform/network/DNS.h" |
49 #include "core/platform/network/ResourceHandle.h" | 49 #include "core/platform/network/ResourceHandle.h" |
50 #include "core/storage/StorageNamespace.h" | 50 #include "core/storage/StorageNamespace.h" |
51 #include <wtf/PassRefPtr.h> | 51 #include <wtf/PassRefPtr.h> |
52 #include <wtf/RefPtr.h> | 52 #include <wtf/RefPtr.h> |
53 #include <wtf/text/StringBuilder.h> | 53 #include <wtf/text/StringBuilder.h> |
54 #include <wtf/Vector.h> | 54 #include <wtf/Vector.h> |
55 | 55 |
56 #if ENABLE(INPUT_TYPE_COLOR) | 56 #if ENABLE(INPUT_TYPE_COLOR) |
57 #include "ColorChooser.h" | 57 #include "core/platform/ColorChooser.h" |
58 #endif | 58 #endif |
59 | 59 |
60 namespace WebCore { | 60 namespace WebCore { |
61 | 61 |
62 using namespace HTMLNames; | 62 using namespace HTMLNames; |
63 using namespace std; | 63 using namespace std; |
64 | 64 |
65 Chrome::Chrome(Page* page, ChromeClient* client) | 65 Chrome::Chrome(Page* page, ChromeClient* client) |
66 : m_page(page) | 66 : m_page(page) |
67 , m_client(client) | 67 , m_client(client) |
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
551 } | 551 } |
552 | 552 |
553 void Chrome::notifyPopupOpeningObservers() const | 553 void Chrome::notifyPopupOpeningObservers() const |
554 { | 554 { |
555 const Vector<PopupOpeningObserver*> observers(m_popupOpeningObservers); | 555 const Vector<PopupOpeningObserver*> observers(m_popupOpeningObservers); |
556 for (size_t i = 0; i < observers.size(); ++i) | 556 for (size_t i = 0; i < observers.size(); ++i) |
557 observers[i]->willOpenPopup(); | 557 observers[i]->willOpenPopup(); |
558 } | 558 } |
559 | 559 |
560 } // namespace WebCore | 560 } // namespace WebCore |
OLD | NEW |