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

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

Issue 2346663004: Moving platform tracing things into platform/tracing. (Closed)
Patch Set: Created 4 years, 3 months 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 #include "core/layout/HitTestResult.h" 62 #include "core/layout/HitTestResult.h"
63 #include "core/layout/LayoutListBox.h" 63 #include "core/layout/LayoutListBox.h"
64 #include "core/layout/LayoutMenuList.h" 64 #include "core/layout/LayoutMenuList.h"
65 #include "core/layout/LayoutTheme.h" 65 #include "core/layout/LayoutTheme.h"
66 #include "core/page/AutoscrollController.h" 66 #include "core/page/AutoscrollController.h"
67 #include "core/page/ChromeClient.h" 67 #include "core/page/ChromeClient.h"
68 #include "core/page/Page.h" 68 #include "core/page/Page.h"
69 #include "core/page/SpatialNavigation.h" 69 #include "core/page/SpatialNavigation.h"
70 #include "platform/PlatformMouseEvent.h" 70 #include "platform/PlatformMouseEvent.h"
71 #include "platform/PopupMenu.h" 71 #include "platform/PopupMenu.h"
72 #include "platform/TraceEvent.h"
73 #include "platform/text/PlatformLocale.h" 72 #include "platform/text/PlatformLocale.h"
73 #include "platform/tracing/TraceEvent.h"
74 74
75 using namespace WTF::Unicode; 75 using namespace WTF::Unicode;
76 76
77 namespace blink { 77 namespace blink {
78 78
79 using namespace HTMLNames; 79 using namespace HTMLNames;
80 80
81 // Upper limit of m_listItems. According to the HTML standard, options larger 81 // Upper limit of m_listItems. According to the HTML standard, options larger
82 // than this limit doesn't work well because |selectedIndex| IDL attribute is 82 // than this limit doesn't work well because |selectedIndex| IDL attribute is
83 // signed. 83 // signed.
(...skipping 1940 matching lines...) Expand 10 before | Expand all | Expand 10 after
2024 } 2024 }
2025 2025
2026 void HTMLSelectElement::didMutateSubtree() 2026 void HTMLSelectElement::didMutateSubtree()
2027 { 2027 {
2028 DCHECK(popupIsVisible()); 2028 DCHECK(popupIsVisible());
2029 DCHECK(m_popup); 2029 DCHECK(m_popup);
2030 m_popup->updateFromElement(PopupMenu::ByDOMChange); 2030 m_popup->updateFromElement(PopupMenu::ByDOMChange);
2031 } 2031 }
2032 2032
2033 } // namespace blink 2033 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698