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

Side by Side Diff: Source/core/page/PageSerializer.cpp

Issue 923953002: Move rendering/RenderImage* to layout/LayoutImage* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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/page/DragController.cpp ('k') | Source/core/paint/ImagePainter.h » ('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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 #include "core/html/HTMLFrameOwnerElement.h" 53 #include "core/html/HTMLFrameOwnerElement.h"
54 #include "core/html/HTMLImageElement.h" 54 #include "core/html/HTMLImageElement.h"
55 #include "core/html/HTMLInputElement.h" 55 #include "core/html/HTMLInputElement.h"
56 #include "core/html/HTMLLinkElement.h" 56 #include "core/html/HTMLLinkElement.h"
57 #include "core/html/HTMLMetaElement.h" 57 #include "core/html/HTMLMetaElement.h"
58 #include "core/html/HTMLStyleElement.h" 58 #include "core/html/HTMLStyleElement.h"
59 #include "core/html/parser/HTMLParserIdioms.h" 59 #include "core/html/parser/HTMLParserIdioms.h"
60 #include "core/layout/style/StyleFetchedImage.h" 60 #include "core/layout/style/StyleFetchedImage.h"
61 #include "core/layout/style/StyleImage.h" 61 #include "core/layout/style/StyleImage.h"
62 #include "core/page/Page.h" 62 #include "core/page/Page.h"
63 #include "core/rendering/RenderImage.h"
64 #include "platform/SerializedResource.h" 63 #include "platform/SerializedResource.h"
65 #include "platform/graphics/Image.h" 64 #include "platform/graphics/Image.h"
66 #include "wtf/text/CString.h" 65 #include "wtf/text/CString.h"
67 #include "wtf/text/StringBuilder.h" 66 #include "wtf/text/StringBuilder.h"
68 #include "wtf/text/TextEncoding.h" 67 #include "wtf/text/TextEncoding.h"
69 #include "wtf/text/WTFString.h" 68 #include "wtf/text/WTFString.h"
70 69
71 namespace blink { 70 namespace blink {
72 71
73 static bool isCharsetSpecifyingNode(const Node& node) 72 static bool isCharsetSpecifyingNode(const Node& node)
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 if (iter != m_blankFrameURLs.end()) 381 if (iter != m_blankFrameURLs.end())
383 return iter->value; 382 return iter->value;
384 String url = "wyciwyg://frame/" + String::number(m_blankFrameCounter++); 383 String url = "wyciwyg://frame/" + String::number(m_blankFrameCounter++);
385 KURL fakeURL(ParsedURLString, url); 384 KURL fakeURL(ParsedURLString, url);
386 m_blankFrameURLs.add(frame, fakeURL); 385 m_blankFrameURLs.add(frame, fakeURL);
387 386
388 return fakeURL; 387 return fakeURL;
389 } 388 }
390 389
391 } // namespace blink 390 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/page/DragController.cpp ('k') | Source/core/paint/ImagePainter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698