diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-17 22:24:43 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-17 22:24:43 +0000 |
commit | 490f79c179cc9df090dc68e36949ecc3458793da (patch) | |
tree | 1792cef02967fb6f8abe77e05d1f8ad015603ffb /content/renderer/content_renderer_client.h | |
parent | 3ffd3aec671a91b110860fc7c956f4d11a5be680 (diff) | |
download | chromium_src-490f79c179cc9df090dc68e36949ecc3458793da.zip chromium_src-490f79c179cc9df090dc68e36949ecc3458793da.tar.gz chromium_src-490f79c179cc9df090dc68e36949ecc3458793da.tar.bz2 |
Add separate ContentClient interfaces for gpu/plugin/renderer processes. Since we don't have a need for a chrome/gpu or chrome/plugin directory, their chrome implementations are in chrome/common. Use the renderer one for getting the sad plugin image.
Review URL: http://codereview.chromium.org/6708013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78617 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/content_renderer_client.h')
-rw-r--r-- | content/renderer/content_renderer_client.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/content/renderer/content_renderer_client.h b/content/renderer/content_renderer_client.h new file mode 100644 index 0000000..4c94f31 --- /dev/null +++ b/content/renderer/content_renderer_client.h @@ -0,0 +1,23 @@ +// 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_RENDERER_CONTENT_RENDERER_CLIENT_H_ +#define CONTENT_RENDERER_CONTENT_RENDERER_CLIENT_H_ +#pragma once + +#include "content/common/content_client.h" + +class SkBitmap; + +namespace content { + +// Embedder API for participating in renderer logic. +class ContentRendererClient { + public: + virtual SkBitmap* GetSadPluginBitmap() { return NULL; } +}; + +} // namespace content + +#endif // CONTENT_RENDERER_CONTENT_RENDERER_CLIENT_H_ |