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

Side by Side Diff: third_party/WebKit/Source/core/html/ImageDocument.h

Issue 2812013004: Rewrite references to "wtf/" to "platform/wtf/" in core/{dom,html,xml}. (Closed)
Patch Set: Created 3 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 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 10 matching lines...) Expand all
21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
22 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */ 23 */
24 24
25 #ifndef ImageDocument_h 25 #ifndef ImageDocument_h
26 #define ImageDocument_h 26 #define ImageDocument_h
27 27
28 #include "core/html/HTMLDivElement.h" 28 #include "core/html/HTMLDivElement.h"
29 #include "core/html/HTMLDocument.h" 29 #include "core/html/HTMLDocument.h"
30 #include "core/html/HTMLImageElement.h" 30 #include "core/html/HTMLImageElement.h"
31 #include "wtf/RefPtr.h" 31 #include "platform/wtf/RefPtr.h"
32 32
33 namespace blink { 33 namespace blink {
34 34
35 class ImageResource; 35 class ImageResource;
36 36
37 class CORE_EXPORT ImageDocument final : public HTMLDocument { 37 class CORE_EXPORT ImageDocument final : public HTMLDocument {
38 public: 38 public:
39 static ImageDocument* Create( 39 static ImageDocument* Create(
40 const DocumentInit& initializer = DocumentInit()) { 40 const DocumentInit& initializer = DocumentInit()) {
41 return new ImageDocument(initializer); 41 return new ImageDocument(initializer);
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 99
100 enum ShrinkToFitMode { kViewport, kDesktop }; 100 enum ShrinkToFitMode { kViewport, kDesktop };
101 ShrinkToFitMode shrink_to_fit_mode_; 101 ShrinkToFitMode shrink_to_fit_mode_;
102 }; 102 };
103 103
104 DEFINE_DOCUMENT_TYPE_CASTS(ImageDocument); 104 DEFINE_DOCUMENT_TYPE_CASTS(ImageDocument);
105 105
106 } // namespace blink 106 } // namespace blink
107 107
108 #endif // ImageDocument_h 108 #endif // ImageDocument_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/ImageData.h ('k') | third_party/WebKit/Source/core/html/ImageDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698