OLD | NEW |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "config.h" | 5 #include "config.h" |
6 #include "web/PopupMenuImpl.h" | 6 #include "web/PopupMenuImpl.h" |
7 | 7 |
8 #include "core/HTMLNames.h" | 8 #include "core/HTMLNames.h" |
9 #include "core/css/CSSFontSelector.h" | 9 #include "core/css/CSSFontSelector.h" |
| 10 #include "core/dom/ElementTraversal.h" |
10 #include "core/dom/NodeLayoutStyle.h" | 11 #include "core/dom/NodeLayoutStyle.h" |
11 #include "core/dom/StyleEngine.h" | 12 #include "core/dom/StyleEngine.h" |
12 #include "core/frame/FrameView.h" | 13 #include "core/frame/FrameView.h" |
13 #include "core/html/HTMLHRElement.h" | 14 #include "core/html/HTMLHRElement.h" |
14 #include "core/html/HTMLOptGroupElement.h" | 15 #include "core/html/HTMLOptGroupElement.h" |
15 #include "core/html/HTMLOptionElement.h" | 16 #include "core/html/HTMLOptionElement.h" |
16 #include "core/html/parser/HTMLParserIdioms.h" | 17 #include "core/html/parser/HTMLParserIdioms.h" |
17 #include "core/layout/LayoutTheme.h" | 18 #include "core/layout/LayoutTheme.h" |
18 #include "core/page/PagePopup.h" | 19 #include "core/page/PagePopup.h" |
19 #include "platform/geometry/IntRect.h" | 20 #include "platform/geometry/IntRect.h" |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 | 323 |
323 void PopupMenuImpl::disconnectClient() | 324 void PopupMenuImpl::disconnectClient() |
324 { | 325 { |
325 m_client = nullptr; | 326 m_client = nullptr; |
326 // Cannot be done during finalization, so instead done when the | 327 // Cannot be done during finalization, so instead done when the |
327 // render object is destroyed and disconnected. | 328 // render object is destroyed and disconnected. |
328 dispose(); | 329 dispose(); |
329 } | 330 } |
330 | 331 |
331 } // namespace blink | 332 } // namespace blink |
OLD | NEW |