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_PRERENDERER_CLIENT_H_ | |
6 #define CHROME_RENDERER_PRERENDER_PRERENDERER_CLIENT_H_ | |
7 #pragma once | |
8 | |
9 #include "base/compiler_specific.h" | |
10 #include "content/public/renderer/render_view_observer.h" | |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPrerendererClient. h" | |
12 | |
13 namespace prerender { | |
14 | |
15 class PrerendererClient : public content::RenderViewObserver, | |
16 public WebKit::WebPrerendererClient { | |
17 public: | |
18 explicit PrerendererClient(content::RenderView* render_view); | |
19 virtual ~PrerendererClient(); | |
cbentzel
2012/05/04 15:32:25
Should this be private, since it should only be ca
gavinp
2012/05/04 23:10:51
Done. Also moved willAddPrerender() down as well.
| |
20 | |
21 virtual void willAddPrerender(WebKit::WebPrerender* prerender) OVERRIDE; | |
cbentzel
2012/05/04 15:32:25
Nit: add comment specifying which interface this i
gavinp
2012/05/04 23:10:51
Done.
| |
22 }; | |
23 | |
24 } // namespace prerender | |
25 | |
26 #endif // CHROME_RENDERER_PRERENDER_PRERENDERER_CLIENT_H_ | |
27 | |
OLD | NEW |