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

Side by Side Diff: Source/platform/Prerender.h

Issue 531983002: Clean up forward declarations in Source/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 27 matching lines...) Expand all
38 #include "wtf/OwnPtr.h" 38 #include "wtf/OwnPtr.h"
39 #include "wtf/PassOwnPtr.h" 39 #include "wtf/PassOwnPtr.h"
40 #include "wtf/PassRefPtr.h" 40 #include "wtf/PassRefPtr.h"
41 #include "wtf/RefCounted.h" 41 #include "wtf/RefCounted.h"
42 #include "wtf/RefPtr.h" 42 #include "wtf/RefPtr.h"
43 #include "wtf/text/WTFString.h" 43 #include "wtf/text/WTFString.h"
44 44
45 namespace blink { 45 namespace blink {
46 46
47 class PrerenderClient; 47 class PrerenderClient;
48 class WebPrerender;
49 48
50 class PLATFORM_EXPORT Prerender : public RefCounted<Prerender> { 49 class PLATFORM_EXPORT Prerender : public RefCounted<Prerender> {
51 WTF_MAKE_NONCOPYABLE(Prerender); 50 WTF_MAKE_NONCOPYABLE(Prerender);
52 public: 51 public:
53 class ExtraData : public RefCounted<ExtraData> { 52 class ExtraData : public RefCounted<ExtraData> {
54 public: 53 public:
55 virtual ~ExtraData() { } 54 virtual ~ExtraData() { }
56 }; 55 };
57 56
58 static PassRefPtr<Prerender> create(PrerenderClient*, const KURL&, unsigned relTypes, const String& referrer, ReferrerPolicy); 57 static PassRefPtr<Prerender> create(PrerenderClient*, const KURL&, unsigned relTypes, const String& referrer, ReferrerPolicy);
(...skipping 27 matching lines...) Expand all
86 const unsigned m_relTypes; 85 const unsigned m_relTypes;
87 const String m_referrer; 86 const String m_referrer;
88 const ReferrerPolicy m_referrerPolicy; 87 const ReferrerPolicy m_referrerPolicy;
89 88
90 RefPtr<ExtraData> m_extraData; 89 RefPtr<ExtraData> m_extraData;
91 }; 90 };
92 91
93 } 92 }
94 93
95 #endif // Prerender_h 94 #endif // Prerender_h
OLDNEW
« no previous file with comments | « Source/platform/PlatformTouchPoint.h ('k') | Source/platform/exported/WebScrollbarThemeClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698