Delete chrome.mediaGalleriesPrivate because the functionality unique to it has since...
[chromium-blink-merge.git] / chrome / renderer / prerender / prerenderer_client.h
blob92f24d6318887090cba8de89f1497a3c6acfb0e2
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.
5 #ifndef CHROME_RENDERER_PRERENDER_PRERENDERER_CLIENT_H_
6 #define CHROME_RENDERER_PRERENDER_PRERENDERER_CLIENT_H_
8 #include "base/compiler_specific.h"
9 #include "content/public/renderer/render_view_observer.h"
10 #include "third_party/WebKit/public/web/WebPrerendererClient.h"
12 namespace prerender {
14 class PrerendererClient : public content::RenderViewObserver,
15 public blink::WebPrerendererClient {
16 public:
17 explicit PrerendererClient(content::RenderView* render_view);
19 private:
20 ~PrerendererClient() override;
22 // Implements blink::WebPrerendererClient
23 virtual void willAddPrerender(blink::WebPrerender* prerender) override;
26 } // namespace prerender
28 #endif // CHROME_RENDERER_PRERENDER_PRERENDERER_CLIENT_H_