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

Side by Side Diff: chrome/renderer/prerender/prerenderer_client.h

Issue 10198040: New link rel=prerender api, using WebKit::WebPrerenderingPlatform (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: friendship is hard Created 8 years, 7 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 | Annotate | Revision Log
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698