| 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 "base/macros.h" |
| 9 #include "third_party/WebKit/public/platform/WebPrerender.h" | 10 #include "third_party/WebKit/public/platform/WebPrerender.h" |
| 10 #include "ui/gfx/geometry/size.h" | 11 #include "ui/gfx/geometry/size.h" |
| 11 | 12 |
| 12 namespace prerender { | 13 namespace prerender { |
| 13 | 14 |
| 14 class PrerenderExtraData : public blink::WebPrerender::ExtraData { | 15 class PrerenderExtraData : public blink::WebPrerender::ExtraData { |
| 15 public: | 16 public: |
| 16 PrerenderExtraData(int prerender_id, | 17 PrerenderExtraData(int prerender_id, |
| 17 int render_view_route_id, | 18 int render_view_route_id, |
| 18 const gfx::Size& size); | 19 const gfx::Size& size); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 30 const int render_view_route_id_; | 31 const int render_view_route_id_; |
| 31 const gfx::Size size_; | 32 const gfx::Size size_; |
| 32 | 33 |
| 33 DISALLOW_COPY_AND_ASSIGN(PrerenderExtraData); | 34 DISALLOW_COPY_AND_ASSIGN(PrerenderExtraData); |
| 34 }; | 35 }; |
| 35 | 36 |
| 36 } // namespace prerender | 37 } // namespace prerender |
| 37 | 38 |
| 38 #endif // CHROME_RENDERER_PRERENDER_PRERENDER_EXTRA_DATA_H_ | 39 #endif // CHROME_RENDERER_PRERENDER_PRERENDER_EXTRA_DATA_H_ |
| 39 | 40 |
| OLD | NEW |