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

Side by Side Diff: Source/core/html/HTMLInputElement.h

Issue 715633005: Rename HTMLInputElement::imageLoader() to ensureImageLoader() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add missing part Created 6 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
« no previous file with comments | « no previous file | Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved.
6 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 6 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 void beginEditing(); 233 void beginEditing();
234 void endEditing(); 234 void endEditing();
235 235
236 static Vector<FileChooserFileInfo> filesFromFileInputFormControlState(const FormControlState&); 236 static Vector<FileChooserFileInfo> filesFromFileInputFormControlState(const FormControlState&);
237 237
238 virtual bool matchesReadOnlyPseudoClass() const override final; 238 virtual bool matchesReadOnlyPseudoClass() const override final;
239 virtual bool matchesReadWritePseudoClass() const override final; 239 virtual bool matchesReadWritePseudoClass() const override final;
240 virtual void setRangeText(const String& replacement, ExceptionState&) overri de final; 240 virtual void setRangeText(const String& replacement, ExceptionState&) overri de final;
241 virtual void setRangeText(const String& replacement, unsigned start, unsigne d end, const String& selectionMode, ExceptionState&) override final; 241 virtual void setRangeText(const String& replacement, unsigned start, unsigne d end, const String& selectionMode, ExceptionState&) override final;
242 242
243 bool hasImageLoader() const { return m_imageLoader; } 243 HTMLImageLoader* imageLoader() const { return m_imageLoader.get(); }
244 HTMLImageLoader* imageLoader(); 244 HTMLImageLoader& ensureImageLoader();
245 245
246 bool setupDateTimeChooserParameters(DateTimeChooserParameters&); 246 bool setupDateTimeChooserParameters(DateTimeChooserParameters&);
247 247
248 bool supportsInputModeAttribute() const; 248 bool supportsInputModeAttribute() const;
249 249
250 void setShouldRevealPassword(bool value); 250 void setShouldRevealPassword(bool value);
251 bool shouldRevealPassword() const { return m_shouldRevealPassword; } 251 bool shouldRevealPassword() const { return m_shouldRevealPassword; }
252 AXObject* popupRootAXObject(); 252 AXObject* popupRootAXObject();
253 virtual void didNotifySubtreeInsertionsToDocument() override; 253 virtual void didNotifySubtreeInsertionsToDocument() override;
254 254
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 // The ImageLoader must be owned by this element because the loader code ass umes 379 // The ImageLoader must be owned by this element because the loader code ass umes
380 // that it lives as long as its owning element lives. If we move the loader into 380 // that it lives as long as its owning element lives. If we move the loader into
381 // the ImageInput object we may delete the loader while this element lives o n. 381 // the ImageInput object we may delete the loader while this element lives o n.
382 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; 382 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader;
383 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve r; 383 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve r;
384 }; 384 };
385 385
386 } // namespace blink 386 } // namespace blink
387 387
388 #endif // HTMLInputElement_h 388 #endif // HTMLInputElement_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698