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

Side by Side Diff: Source/core/html/shadow/DateTimeEditElement.cpp

Issue 66643004: Remove QualifiedName argument from most HTMLElement::create functions (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Hack for XML prefix Created 7 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 | Annotate | Revision Log
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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 return step; 434 return step;
435 } 435 }
436 436
437 // ---------------------------- 437 // ----------------------------
438 438
439 DateTimeEditElement::EditControlOwner::~EditControlOwner() 439 DateTimeEditElement::EditControlOwner::~EditControlOwner()
440 { 440 {
441 } 441 }
442 442
443 DateTimeEditElement::DateTimeEditElement(Document& document, EditControlOwner& e ditControlOwner) 443 DateTimeEditElement::DateTimeEditElement(Document& document, EditControlOwner& e ditControlOwner)
444 : HTMLDivElement(divTag, document) 444 : HTMLDivElement(document)
445 , m_editControlOwner(&editControlOwner) 445 , m_editControlOwner(&editControlOwner)
446 { 446 {
447 setHasCustomStyleCallbacks(); 447 setHasCustomStyleCallbacks();
448 } 448 }
449 449
450 DateTimeEditElement::~DateTimeEditElement() 450 DateTimeEditElement::~DateTimeEditElement()
451 { 451 {
452 for (size_t fieldIndex = 0; fieldIndex < m_fields.size(); ++fieldIndex) 452 for (size_t fieldIndex = 0; fieldIndex < m_fields.size(); ++fieldIndex)
453 m_fields[fieldIndex]->removeEventHandler(); 453 m_fields[fieldIndex]->removeEventHandler();
454 } 454 }
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
791 { 791 {
792 DateTimeFieldsState dateTimeFieldsState; 792 DateTimeFieldsState dateTimeFieldsState;
793 for (size_t fieldIndex = 0; fieldIndex < m_fields.size(); ++fieldIndex) 793 for (size_t fieldIndex = 0; fieldIndex < m_fields.size(); ++fieldIndex)
794 m_fields[fieldIndex]->populateDateTimeFieldsState(dateTimeFieldsState); 794 m_fields[fieldIndex]->populateDateTimeFieldsState(dateTimeFieldsState);
795 return dateTimeFieldsState; 795 return dateTimeFieldsState;
796 } 796 }
797 797
798 } // namespace WebCore 798 } // namespace WebCore
799 799
800 #endif 800 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698