| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2008, 2009, Google Inc. All rights reserved. | 2 * Copyright (c) 2008, 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 19 matching lines...) Expand all Loading... |
| 30 */ | 30 */ |
| 31 | 31 |
| 32 #include "config.h" | 32 #include "config.h" |
| 33 #include "web/PopupMenuChromium.h" | 33 #include "web/PopupMenuChromium.h" |
| 34 | 34 |
| 35 #include "core/frame/FrameView.h" | 35 #include "core/frame/FrameView.h" |
| 36 #include "core/frame/LocalFrame.h" | 36 #include "core/frame/LocalFrame.h" |
| 37 #include "core/frame/Settings.h" | 37 #include "core/frame/Settings.h" |
| 38 #include "web/PopupContainer.h" | 38 #include "web/PopupContainer.h" |
| 39 | 39 |
| 40 using namespace WebCore; | 40 using namespace blink; |
| 41 | 41 |
| 42 namespace blink { | 42 namespace blink { |
| 43 | 43 |
| 44 PopupMenuChromium::PopupMenuChromium(LocalFrame& frame, PopupMenuClient* client) | 44 PopupMenuChromium::PopupMenuChromium(LocalFrame& frame, PopupMenuClient* client) |
| 45 : m_popupClient(client) | 45 : m_popupClient(client) |
| 46 , m_frameView(frame.view()) | 46 , m_frameView(frame.view()) |
| 47 { | 47 { |
| 48 } | 48 } |
| 49 | 49 |
| 50 PopupMenuChromium::~PopupMenuChromium() | 50 PopupMenuChromium::~PopupMenuChromium() |
| (...skipping 24 matching lines...) Expand all Loading... |
| 75 m_popup->listBox()->updateFromElement(); | 75 m_popup->listBox()->updateFromElement(); |
| 76 } | 76 } |
| 77 | 77 |
| 78 | 78 |
| 79 void PopupMenuChromium::disconnectClient() | 79 void PopupMenuChromium::disconnectClient() |
| 80 { | 80 { |
| 81 m_popupClient = 0; | 81 m_popupClient = 0; |
| 82 } | 82 } |
| 83 | 83 |
| 84 } // namespace blink | 84 } // namespace blink |
| OLD | NEW |