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

Side by Side Diff: Source/core/html/HTMLImageElement.cpp

Issue 334593005: Removing using declarations that import names in the C++ Standard library. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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
« no previous file with comments | « Source/core/html/HTMLFormElement.cpp ('k') | 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 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Apple Inc. All rights reserv ed. 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Apple Inc. All rights reserv ed.
5 * Copyright (C) 2010 Google Inc. All rights reserved. 5 * Copyright (C) 2010 Google Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 25 matching lines...) Expand all
36 #include "core/html/HTMLAnchorElement.h" 36 #include "core/html/HTMLAnchorElement.h"
37 #include "core/html/HTMLCanvasElement.h" 37 #include "core/html/HTMLCanvasElement.h"
38 #include "core/html/HTMLFormElement.h" 38 #include "core/html/HTMLFormElement.h"
39 #include "core/html/HTMLSourceElement.h" 39 #include "core/html/HTMLSourceElement.h"
40 #include "core/html/canvas/CanvasRenderingContext.h" 40 #include "core/html/canvas/CanvasRenderingContext.h"
41 #include "core/html/parser/HTMLParserIdioms.h" 41 #include "core/html/parser/HTMLParserIdioms.h"
42 #include "core/html/parser/HTMLSrcsetParser.h" 42 #include "core/html/parser/HTMLSrcsetParser.h"
43 #include "core/rendering/RenderImage.h" 43 #include "core/rendering/RenderImage.h"
44 #include "platform/MIMETypeRegistry.h" 44 #include "platform/MIMETypeRegistry.h"
45 45
46 using namespace std;
47
48 namespace WebCore { 46 namespace WebCore {
49 47
50 using namespace HTMLNames; 48 using namespace HTMLNames;
51 49
52 HTMLImageElement::HTMLImageElement(Document& document, HTMLFormElement* form, bo ol createdByParser) 50 HTMLImageElement::HTMLImageElement(Document& document, HTMLFormElement* form, bo ol createdByParser)
53 : HTMLElement(imgTag, document) 51 : HTMLElement(imgTag, document)
54 , m_imageLoader(HTMLImageLoader::create(this)) 52 , m_imageLoader(HTMLImageLoader::create(this))
55 , m_compositeOperator(CompositeSourceOver) 53 , m_compositeOperator(CompositeSourceOver)
56 , m_imageDevicePixelRatio(1.0f) 54 , m_imageDevicePixelRatio(1.0f)
57 , m_formWasSetByParser(false) 55 , m_formWasSetByParser(false)
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 else 585 else
588 imageLoader().updateFromElement(); 586 imageLoader().updateFromElement();
589 } 587 }
590 588
591 const KURL& HTMLImageElement::sourceURL() const 589 const KURL& HTMLImageElement::sourceURL() const
592 { 590 {
593 return cachedImage()->response().url(); 591 return cachedImage()->response().url();
594 } 592 }
595 593
596 } 594 }
OLDNEW
« no previous file with comments | « Source/core/html/HTMLFormElement.cpp ('k') | Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698