OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_RENDERER_PRERENDER_PRERENDER_EXTRA_DATA_H_ | 5 #ifndef CHROME_RENDERER_PRERENDER_PRERENDER_EXTRA_DATA_H_ |
6 #define CHROME_RENDERER_PRERENDER_PRERENDER_EXTRA_DATA_H_ | 6 #define CHROME_RENDERER_PRERENDER_PRERENDER_EXTRA_DATA_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebPrerender.h" | 9 #include "third_party/WebKit/public/platform/WebPrerender.h" |
10 #include "ui/gfx/size.h" | 10 #include "ui/gfx/size.h" |
11 | 11 |
12 namespace prerender { | 12 namespace prerender { |
13 | 13 |
14 class PrerenderExtraData : public WebKit::WebPrerender::ExtraData { | 14 class PrerenderExtraData : public WebKit::WebPrerender::ExtraData { |
15 public: | 15 public: |
16 PrerenderExtraData(int prerender_id, | 16 PrerenderExtraData(int prerender_id, |
17 int render_view_route_id, | 17 int render_view_route_id, |
18 const gfx::Size& size); | 18 const gfx::Size& size); |
19 virtual ~PrerenderExtraData(); | 19 virtual ~PrerenderExtraData(); |
(...skipping 10 matching lines...) Expand all Loading... |
30 const int render_view_route_id_; | 30 const int render_view_route_id_; |
31 const gfx::Size size_; | 31 const gfx::Size size_; |
32 | 32 |
33 DISALLOW_COPY_AND_ASSIGN(PrerenderExtraData); | 33 DISALLOW_COPY_AND_ASSIGN(PrerenderExtraData); |
34 }; | 34 }; |
35 | 35 |
36 } // namespace prerender | 36 } // namespace prerender |
37 | 37 |
38 #endif // CHROME_RENDERER_PRERENDER_PRERENDER_EXTRA_DATA_H_ | 38 #endif // CHROME_RENDERER_PRERENDER_PRERENDER_EXTRA_DATA_H_ |
39 | 39 |
OLD | NEW |