Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_RENDERER_PRERENDER_PRERENDERING_SUPPORT_H_ | |
| 6 #define CHROME_RENDERER_PRERENDER_PRERENDERING_SUPPORT_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "base/compiler_specific.h" | |
| 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebPrerenderingSupp ort.h" | |
|
gavinp
2012/05/01 00:14:24
In the review of https://bugs.webkit.org/show_bug.
| |
| 11 | |
| 12 namespace prerender { | |
| 13 | |
| 14 // Implements the interface that provides Prerendering to WebKit. | |
| 15 class PrerenderingSupport : public WebKit::WebPrerenderingSupport { | |
| 16 public: | |
| 17 virtual ~PrerenderingSupport(); | |
| 18 | |
| 19 virtual void add(const WebKit::WebPrerender& prerender) OVERRIDE; | |
| 20 virtual void cancel(const WebKit::WebPrerender& prerender) OVERRIDE; | |
| 21 virtual void abandon(const WebKit::WebPrerender& prerender) OVERRIDE; | |
| 22 }; | |
| 23 | |
| 24 } // namespace prerender | |
| 25 | |
| 26 #endif // CHROME_RENDERER_PRERENDER_PRERENDERING_SUPPORT_H_ | |
| 27 | |
| OLD | NEW |