chrome_content_client.h revision ddb351dbec246cf1fab5ec20d2d5520909041de1
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_COMMON_CHROME_CONTENT_CLIENT_H_ 6#define CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ 7#pragma once 8 9#include "content/common/content_client.h" 10 11namespace chrome { 12 13class ChromeContentClient : public content::ContentClient { 14 public: 15 static const char* kPDFPluginName; 16 17 virtual void SetActiveURL(const GURL& url); 18 virtual void SetGpuInfo(const GPUInfo& gpu_info); 19 virtual void AddPepperPlugins(std::vector<PepperPluginInfo>* plugins); 20}; 21 22} // namespace chrome 23 24#endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ 25