Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(270)

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLSelectElement.cpp

Issue 1455943002: [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 2 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
4 * (C) 1999 Antti Koivisto (koivisto@kde.org) 4 * (C) 1999 Antti Koivisto (koivisto@kde.org)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights reserved.
7 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) 7 * (C) 2006 Alexey Proskuryakov (ap@nypop.com)
8 * Copyright (C) 2010 Google Inc. All rights reserved. 8 * Copyright (C) 2010 Google Inc. All rights reserved.
9 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 9 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
10 * 10 *
(...skipping 1929 matching lines...) Expand 10 before | Expand all | Expand 10 after
1940 if (AXObjectCache* cache = document().existingAXObjectCache()) 1940 if (AXObjectCache* cache = document().existingAXObjectCache())
1941 cache->didShowMenuListPopup(menuList); 1941 cache->didShowMenuListPopup(menuList);
1942 } 1942 }
1943 1943
1944 void HTMLSelectElement::hidePopup() 1944 void HTMLSelectElement::hidePopup()
1945 { 1945 {
1946 if (m_popup) 1946 if (m_popup)
1947 m_popup->hide(); 1947 m_popup->hide();
1948 } 1948 }
1949 1949
1950 PopupMenu* HTMLSelectElement::popup() const
1951 {
1952 return m_popup.get();
1953 }
1954
1950 void HTMLSelectElement::didRecalcStyle(StyleRecalcChange change) 1955 void HTMLSelectElement::didRecalcStyle(StyleRecalcChange change)
1951 { 1956 {
1952 HTMLFormControlElementWithState::didRecalcStyle(change); 1957 HTMLFormControlElementWithState::didRecalcStyle(change);
1953 if (popupIsVisible()) 1958 if (popupIsVisible())
1954 m_popup->updateFromElement(); 1959 m_popup->updateFromElement();
1955 } 1960 }
1956 1961
1957 void HTMLSelectElement::detach(const AttachContext& context) 1962 void HTMLSelectElement::detach(const AttachContext& context)
1958 { 1963 {
1959 HTMLFormControlElementWithState::detach(context); 1964 HTMLFormControlElementWithState::detach(context);
1960 if (m_popup) 1965 if (m_popup)
1961 m_popup->disconnectClient(); 1966 m_popup->disconnectClient();
1962 m_popupIsVisible = false; 1967 m_popupIsVisible = false;
1963 m_popup = nullptr; 1968 m_popup = nullptr;
1964 } 1969 }
1965 1970
1966 void HTMLSelectElement::resetTypeAheadSessionForTesting() 1971 void HTMLSelectElement::resetTypeAheadSessionForTesting()
1967 { 1972 {
1968 m_typeAhead.resetSession(); 1973 m_typeAhead.resetSession();
1969 } 1974 }
1970 1975
1971 } // namespace blink 1976 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698