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

Side by Side Diff: Source/WebCore/html/shadow/PickerIndicatorElement.cpp

Issue 11419080: Merge 132895 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1312/
Patch Set: Created 8 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 #include "RenderDetailsMarker.h" 44 #include "RenderDetailsMarker.h"
45 45
46 using namespace WTF::Unicode; 46 using namespace WTF::Unicode;
47 47
48 namespace WebCore { 48 namespace WebCore {
49 49
50 using namespace HTMLNames; 50 using namespace HTMLNames;
51 51
52 inline PickerIndicatorElement::PickerIndicatorElement(Document* document) 52 inline PickerIndicatorElement::PickerIndicatorElement(Document* document)
53 : HTMLDivElement(divTag, document) 53 : HTMLDivElement(divTag, document)
54 , m_chooser(nullptr)
55 { 54 {
56 setShadowPseudoId("-webkit-calendar-picker-indicator"); 55 setShadowPseudoId("-webkit-calendar-picker-indicator");
57 } 56 }
58 57
59 PassRefPtr<PickerIndicatorElement> PickerIndicatorElement::create(Document* docu ment) 58 PassRefPtr<PickerIndicatorElement> PickerIndicatorElement::create(Document* docu ment)
60 { 59 {
61 return adoptRef(new PickerIndicatorElement(document)); 60 return adoptRef(new PickerIndicatorElement(document));
62 } 61 }
63 62
64 PickerIndicatorElement::~PickerIndicatorElement() 63 PickerIndicatorElement::~PickerIndicatorElement()
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 169
171 void PickerIndicatorElement::detach() 170 void PickerIndicatorElement::detach()
172 { 171 {
173 closePopup(); 172 closePopup();
174 HTMLDivElement::detach(); 173 HTMLDivElement::detach();
175 } 174 }
176 175
177 } 176 }
178 177
179 #endif 178 #endif
OLDNEW
« no previous file with comments | « Source/WebCore/html/shadow/PickerIndicatorElement.h ('k') | Source/WebCore/loader/EmptyClients.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698