Fix link issue when component=shared_library


BUG=104622
TEST=GYP_DEFINES="component=shared_library" and build


Review URL: http://codereview.chromium.org/8587036

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110542 0039d316-1c4b-4281-b951-d872f2087c98
parent 86ace803
...@@ -34,7 +34,7 @@ class Message; ...@@ -34,7 +34,7 @@ class Message;
} }
// A task that will forward an IPC message to the UI shim. // A task that will forward an IPC message to the UI shim.
class RouteToGpuProcessHostUIShimTask : public Task { class CONTENT_EXPORT RouteToGpuProcessHostUIShimTask : public Task {
public: public:
RouteToGpuProcessHostUIShimTask(int host_id, const IPC::Message& msg); RouteToGpuProcessHostUIShimTask(int host_id, const IPC::Message& msg);
virtual ~RouteToGpuProcessHostUIShimTask(); virtual ~RouteToGpuProcessHostUIShimTask();
...@@ -46,7 +46,7 @@ class RouteToGpuProcessHostUIShimTask : public Task { ...@@ -46,7 +46,7 @@ class RouteToGpuProcessHostUIShimTask : public Task {
IPC::Message msg_; IPC::Message msg_;
}; };
class GpuProcessHostUIShim class CONTENT_EXPORT GpuProcessHostUIShim
: public IPC::Channel::Listener, : public IPC::Channel::Listener,
public IPC::Channel::Sender, public IPC::Channel::Sender,
public base::NonThreadSafe { public base::NonThreadSafe {
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#pragma once #pragma once
#include "base/basictypes.h" #include "base/basictypes.h"
#include "content/common/content_export.h"
#include "ui/gfx/compositor/compositor.h" #include "ui/gfx/compositor/compositor.h"
#include "ui/gfx/surface/transport_dib.h" #include "ui/gfx/surface/transport_dib.h"
...@@ -14,7 +15,7 @@ ...@@ -14,7 +15,7 @@
// on behalf of the RWHVV. It assumes that GL context that will display // on behalf of the RWHVV. It assumes that GL context that will display
// the image data is current when an instance of this object is created // the image data is current when an instance of this object is created
// or destroyed. // or destroyed.
class AcceleratedSurfaceContainerLinux { class CONTENT_EXPORT AcceleratedSurfaceContainerLinux {
public: public:
virtual ~AcceleratedSurfaceContainerLinux() { } virtual ~AcceleratedSurfaceContainerLinux() { }
virtual void AddRef() = 0; virtual void AddRef() = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment