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

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

Issue 1461193003: Revert of [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make patch applicable 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 1967 matching lines...) Expand 10 before | Expand all | Expand 10 after
1978 if (AXObjectCache* cache = document().existingAXObjectCache()) 1978 if (AXObjectCache* cache = document().existingAXObjectCache())
1979 cache->didShowMenuListPopup(menuList); 1979 cache->didShowMenuListPopup(menuList);
1980 } 1980 }
1981 1981
1982 void HTMLSelectElement::hidePopup() 1982 void HTMLSelectElement::hidePopup()
1983 { 1983 {
1984 if (m_popup) 1984 if (m_popup)
1985 m_popup->hide(); 1985 m_popup->hide();
1986 } 1986 }
1987 1987
1988 PopupMenu* HTMLSelectElement::popup() const
1989 {
1990 return m_popup.get();
1991 }
1992
1993 void HTMLSelectElement::didRecalcStyle(StyleRecalcChange change) 1988 void HTMLSelectElement::didRecalcStyle(StyleRecalcChange change)
1994 { 1989 {
1995 HTMLFormControlElementWithState::didRecalcStyle(change); 1990 HTMLFormControlElementWithState::didRecalcStyle(change);
1996 if (popupIsVisible()) 1991 if (popupIsVisible())
1997 m_popup->updateFromElement(); 1992 m_popup->updateFromElement();
1998 } 1993 }
1999 1994
2000 void HTMLSelectElement::detach(const AttachContext& context) 1995 void HTMLSelectElement::detach(const AttachContext& context)
2001 { 1996 {
2002 HTMLFormControlElementWithState::detach(context); 1997 HTMLFormControlElementWithState::detach(context);
2003 if (m_popup) 1998 if (m_popup)
2004 m_popup->disconnectClient(); 1999 m_popup->disconnectClient();
2005 m_popupIsVisible = false; 2000 m_popupIsVisible = false;
2006 m_popup = nullptr; 2001 m_popup = nullptr;
2007 } 2002 }
2008 2003
2009 void HTMLSelectElement::resetTypeAheadSessionForTesting() 2004 void HTMLSelectElement::resetTypeAheadSessionForTesting()
2010 { 2005 {
2011 m_typeAhead.resetSession(); 2006 m_typeAhead.resetSession();
2012 } 2007 }
2013 2008
2014 } // namespace blink 2009 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLSelectElement.h ('k') | third_party/WebKit/Source/core/html/forms/InputTypeView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698