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

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

Issue 2482653002: Move MIME related platform files under network/mime (Closed)
Patch Set: fix Created 4 years 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) 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 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Apple Inc. All rights
5 * reserved. 5 * reserved.
6 * Copyright (C) 2010 Google Inc. All rights reserved. 6 * Copyright (C) 2010 Google Inc. 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 #include "core/html/parser/HTMLParserIdioms.h" 47 #include "core/html/parser/HTMLParserIdioms.h"
48 #include "core/html/parser/HTMLSrcsetParser.h" 48 #include "core/html/parser/HTMLSrcsetParser.h"
49 #include "core/imagebitmap/ImageBitmapOptions.h" 49 #include "core/imagebitmap/ImageBitmapOptions.h"
50 #include "core/inspector/ConsoleMessage.h" 50 #include "core/inspector/ConsoleMessage.h"
51 #include "core/layout/LayoutBlockFlow.h" 51 #include "core/layout/LayoutBlockFlow.h"
52 #include "core/layout/LayoutImage.h" 52 #include "core/layout/LayoutImage.h"
53 #include "core/layout/api/LayoutImageItem.h" 53 #include "core/layout/api/LayoutImageItem.h"
54 #include "core/page/Page.h" 54 #include "core/page/Page.h"
55 #include "core/style/ContentData.h" 55 #include "core/style/ContentData.h"
56 #include "core/svg/graphics/SVGImageForContainer.h" 56 #include "core/svg/graphics/SVGImageForContainer.h"
57 #include "platform/ContentType.h"
58 #include "platform/EventDispatchForbiddenScope.h" 57 #include "platform/EventDispatchForbiddenScope.h"
59 #include "platform/MIMETypeRegistry.h" 58 #include "platform/network/mime/ContentType.h"
59 #include "platform/network/mime/MIMETypeRegistry.h"
60 #include "platform/weborigin/SecurityPolicy.h" 60 #include "platform/weborigin/SecurityPolicy.h"
61 61
62 namespace blink { 62 namespace blink {
63 63
64 using namespace HTMLNames; 64 using namespace HTMLNames;
65 65
66 class HTMLImageElement::ViewportChangeListener final 66 class HTMLImageElement::ViewportChangeListener final
67 : public MediaQueryListListener { 67 : public MediaQueryListListener {
68 public: 68 public:
69 static ViewportChangeListener* create(HTMLImageElement* element) { 69 static ViewportChangeListener* create(HTMLImageElement* element) {
(...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after
888 return IntSize(); 888 return IntSize();
889 LayoutSize lSize = image->imageSize( 889 LayoutSize lSize = image->imageSize(
890 LayoutObject::shouldRespectImageOrientation(layoutObject()), 1.0f); 890 LayoutObject::shouldRespectImageOrientation(layoutObject()), 1.0f);
891 DCHECK(lSize.fraction().isZero()); 891 DCHECK(lSize.fraction().isZero());
892 return IntSize(lSize.width().toInt(), lSize.height().toInt()); 892 return IntSize(lSize.width().toInt(), lSize.height().toInt());
893 } 893 }
894 894
895 void HTMLImageElement::associateWith(HTMLFormElement*){}; 895 void HTMLImageElement::associateWith(HTMLFormElement*){};
896 896
897 } // namespace blink 897 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/fileapi/File.cpp ('k') | third_party/WebKit/Source/core/html/HTMLMediaElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698