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 "core/page/Chrome.h" | 23 #include "core/page/Chrome.h" |
24 | 24 |
25 #include "public/platform/WebScreenInfo.h" | 25 #include "core/HTMLNames.h" |
26 #include "HTMLNames.h" | |
27 #include "core/dom/Document.h" | 26 #include "core/dom/Document.h" |
28 #include "core/frame/LocalFrame.h" | 27 #include "core/frame/LocalFrame.h" |
29 #include "core/html/HTMLInputElement.h" | 28 #include "core/html/HTMLInputElement.h" |
30 #include "core/inspector/InspectorInstrumentation.h" | 29 #include "core/inspector/InspectorInstrumentation.h" |
31 #include "core/page/ChromeClient.h" | 30 #include "core/page/ChromeClient.h" |
32 #include "core/page/FrameTree.h" | 31 #include "core/page/FrameTree.h" |
33 #include "core/page/Page.h" | 32 #include "core/page/Page.h" |
34 #include "core/page/PopupOpeningObserver.h" | 33 #include "core/page/PopupOpeningObserver.h" |
35 #include "core/page/ScopedPageLoadDeferrer.h" | 34 #include "core/page/ScopedPageLoadDeferrer.h" |
36 #include "core/page/WindowFeatures.h" | 35 #include "core/page/WindowFeatures.h" |
37 #include "core/rendering/HitTestResult.h" | 36 #include "core/rendering/HitTestResult.h" |
38 #include "platform/ColorChooser.h" | 37 #include "platform/ColorChooser.h" |
39 #include "platform/DateTimeChooser.h" | 38 #include "platform/DateTimeChooser.h" |
40 #include "platform/FileChooser.h" | 39 #include "platform/FileChooser.h" |
41 #include "platform/geometry/FloatRect.h" | 40 #include "platform/geometry/FloatRect.h" |
42 #include "platform/network/DNS.h" | 41 #include "platform/network/DNS.h" |
| 42 #include "public/platform/WebScreenInfo.h" |
43 #include "wtf/PassRefPtr.h" | 43 #include "wtf/PassRefPtr.h" |
44 #include "wtf/Vector.h" | 44 #include "wtf/Vector.h" |
45 | 45 |
46 namespace WebCore { | 46 namespace WebCore { |
47 | 47 |
48 using namespace HTMLNames; | 48 using namespace HTMLNames; |
49 | 49 |
50 Chrome::Chrome(Page* page, ChromeClient* client) | 50 Chrome::Chrome(Page* page, ChromeClient* client) |
51 : m_page(page) | 51 : m_page(page) |
52 , m_client(client) | 52 , m_client(client) |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 for (size_t i = 0; i < observers.size(); ++i) | 407 for (size_t i = 0; i < observers.size(); ++i) |
408 observers[i]->willOpenPopup(); | 408 observers[i]->willOpenPopup(); |
409 } | 409 } |
410 | 410 |
411 void Chrome::willBeDestroyed() | 411 void Chrome::willBeDestroyed() |
412 { | 412 { |
413 m_client->chromeDestroyed(); | 413 m_client->chromeDestroyed(); |
414 } | 414 } |
415 | 415 |
416 } // namespace WebCore | 416 } // namespace WebCore |
OLD | NEW |