// Copyright (c) 2012 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 UI_VIEWS_WIDGET_DESKTOP_CAPTURE_CLIENT_H_
#define UI_VIEWS_WIDGET_DESKTOP_CAPTURE_CLIENT_H_

#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "ui/aura/client/capture_client.h"

namespace views {

class DesktopCaptureClient : public aura::client::CaptureClient {
 public:
  DesktopCaptureClient();
  virtual ~DesktopCaptureClient();

 private:
  // Overridden from aura::client::CaptureClient:
  virtual void SetCapture(aura::Window* window) OVERRIDE;
  virtual void ReleaseCapture(aura::Window* window) OVERRIDE;
  virtual aura::Window* GetCaptureWindow() OVERRIDE;

  aura::Window* capture_window_;

  DISALLOW_COPY_AND_ASSIGN(DesktopCaptureClient);
};

}  // namespace views

#endif  // UI_VIEWS_WIDGET_DESKTOP_CAPTURE_CLIENT_H_

// Copyright (c) 2012 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 UI_VIEWS_WIDGET_DESKTOP_CAPTURE_CLIENT_H_
#define UI_VIEWS_WIDGET_DESKTOP_CAPTURE_CLIENT_H_

#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "ui/aura/client/capture_client.h"
#include "ui/views/views_export.h"

namespace views {

class VIEWS_EXPORT DesktopCaptureClient : public aura::client::CaptureClient {
 public:
  DesktopCaptureClient();
  virtual ~DesktopCaptureClient();

 private:
  // Overridden from aura::client::CaptureClient:
  virtual void SetCapture(aura::Window* window) OVERRIDE;
  virtual void ReleaseCapture(aura::Window* window) OVERRIDE;
  virtual aura::Window* GetCaptureWindow() OVERRIDE;

  aura::Window* capture_window_;

  DISALLOW_COPY_AND_ASSIGN(DesktopCaptureClient);
};

}  // namespace views

#endif  // UI_VIEWS_WIDGET_DESKTOP_CAPTURE_CLIENT_H_

--- 
+++ 
@@ -8,11 +8,10 @@
 #include "base/basictypes.h"
 #include "base/compiler_specific.h"
 #include "ui/aura/client/capture_client.h"
-#include "ui/views/views_export.h"
 
 namespace views {
 
-class VIEWS_EXPORT DesktopCaptureClient : public aura::client::CaptureClient {
+class DesktopCaptureClient : public aura::client::CaptureClient {
  public:
   DesktopCaptureClient();
   virtual ~DesktopCaptureClient();
Revert 155836 - Fix static build.

TBR=ben@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10918157

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@155841 0039d316-1c4b-4281-b951-d872f2087c98
