summaryrefslogtreecommitdiffstats
path: root/content/browser/content_browser_client.h
blob: 7d5e9167c39137208215a7440bc3c049f3e4af35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
#define CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
#pragma once

class GURL;
class Profile;
class RenderViewHost;

namespace content {

// Embedder API for participating in browser logic.
class ContentBrowserClient {
 public:
  // Initialize a RenderViewHost before its CreateRenderView method is called.
  virtual void OnRenderViewCreation(RenderViewHost* render_view_host,
                                    Profile* profile,
                                    const GURL& url) {}
};

}  // namespace content

#endif  // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_