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 * |
(...skipping 28 matching lines...) Expand all Loading... |
39 #include "platform/DateTimeChooser.h" | 39 #include "platform/DateTimeChooser.h" |
40 #include "platform/FileChooser.h" | 40 #include "platform/FileChooser.h" |
41 #include "platform/geometry/FloatRect.h" | 41 #include "platform/geometry/FloatRect.h" |
42 #include "platform/network/DNS.h" | 42 #include "platform/network/DNS.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 using namespace std; | |
50 | 49 |
51 Chrome::Chrome(Page* page, ChromeClient* client) | 50 Chrome::Chrome(Page* page, ChromeClient* client) |
52 : m_page(page) | 51 : m_page(page) |
53 , m_client(client) | 52 , m_client(client) |
54 { | 53 { |
55 ASSERT(m_client); | 54 ASSERT(m_client); |
56 } | 55 } |
57 | 56 |
58 Chrome::~Chrome() | 57 Chrome::~Chrome() |
59 { | 58 { |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 } | 412 } |
414 | 413 |
415 void Chrome::notifyPopupOpeningObservers() const | 414 void Chrome::notifyPopupOpeningObservers() const |
416 { | 415 { |
417 const Vector<PopupOpeningObserver*> observers(m_popupOpeningObservers); | 416 const Vector<PopupOpeningObserver*> observers(m_popupOpeningObservers); |
418 for (size_t i = 0; i < observers.size(); ++i) | 417 for (size_t i = 0; i < observers.size(); ++i) |
419 observers[i]->willOpenPopup(); | 418 observers[i]->willOpenPopup(); |
420 } | 419 } |
421 | 420 |
422 } // namespace WebCore | 421 } // namespace WebCore |
OLD | NEW |