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

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

Issue 15447002: Remove ~1750 superfluous includes from core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebase a few hours Created 7 years, 7 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/HTMLViewSourceDocument.cpp ('k') | Source/core/html/InputType.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) 2006, 2007, 2008, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2010 Apple 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 24 matching lines...) Expand all
35 #include "core/html/HTMLImageElement.h" 35 #include "core/html/HTMLImageElement.h"
36 #include "core/loader/DocumentLoader.h" 36 #include "core/loader/DocumentLoader.h"
37 #include "core/loader/FrameLoader.h" 37 #include "core/loader/FrameLoader.h"
38 #include "core/loader/FrameLoaderClient.h" 38 #include "core/loader/FrameLoaderClient.h"
39 #include "core/loader/cache/CachedImage.h" 39 #include "core/loader/cache/CachedImage.h"
40 #include "core/page/Frame.h" 40 #include "core/page/Frame.h"
41 #include "core/page/FrameView.h" 41 #include "core/page/FrameView.h"
42 #include "core/page/Page.h" 42 #include "core/page/Page.h"
43 #include "core/page/Settings.h" 43 #include "core/page/Settings.h"
44 #include "core/platform/LocalizedStrings.h" 44 #include "core/platform/LocalizedStrings.h"
45 #include "core/platform/NotImplemented.h"
46 45
47 using std::min; 46 using std::min;
48 47
49 namespace WebCore { 48 namespace WebCore {
50 49
51 using namespace HTMLNames; 50 using namespace HTMLNames;
52 51
53 class ImageEventListener : public EventListener { 52 class ImageEventListener : public EventListener {
54 public: 53 public:
55 static PassRefPtr<ImageEventListener> create(ImageDocument* document) { retu rn adoptRef(new ImageEventListener(document)); } 54 static PassRefPtr<ImageEventListener> create(ImageDocument* document) { retu rn adoptRef(new ImageEventListener(document)); }
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 void ImageDocumentElement::didMoveToNewDocument(Document* oldDocument) 394 void ImageDocumentElement::didMoveToNewDocument(Document* oldDocument)
396 { 395 {
397 if (m_imageDocument) { 396 if (m_imageDocument) {
398 m_imageDocument->disconnectImageElement(); 397 m_imageDocument->disconnectImageElement();
399 m_imageDocument = 0; 398 m_imageDocument = 0;
400 } 399 }
401 HTMLImageElement::didMoveToNewDocument(oldDocument); 400 HTMLImageElement::didMoveToNewDocument(oldDocument);
402 } 401 }
403 402
404 } 403 }
OLDNEW
« no previous file with comments | « Source/core/html/HTMLViewSourceDocument.cpp ('k') | Source/core/html/InputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698