Update CrOS OOBE throbber to MD throbber; delete old asset
[chromium-blink-merge.git] / chrome / renderer / prerender / prerenderer_client.h
blob134f2367c8b9cdf773244c982bfca7ab14cecb8a
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 void willAddPrerender(blink::WebPrerender* prerender) override;
26 } // namespace prerender
28 #endif // CHROME_RENDERER_PRERENDER_PRERENDERER_CLIENT_H_