Home | History | Annotate | Download | only in browser
      1 // Copyright (c) 2011 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_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
      6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
      7 #pragma once
      8 
      9 #include "content/browser/content_browser_client.h"
     10 
     11 namespace chrome {
     12 
     13 class ChromeContentBrowserClient : public content::ContentBrowserClient {
     14  public:
     15   virtual void RenderViewHostCreated(RenderViewHost* render_view_host);
     16   virtual void PreCreateRenderView(RenderViewHost* render_view_host,
     17                                    Profile* profile,
     18                                    const GURL& url);
     19   virtual void BrowserRenderProcessHostCreated(BrowserRenderProcessHost* host);
     20   virtual content::WebUIFactory* GetWebUIFactory();
     21   virtual GURL GetEffectiveURL(Profile* profile, const GURL& url);
     22 };
     23 
     24 }  // namespace chrome
     25 
     26 #endif  // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
     27