Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Side by Side Diff: ui/views/widget/desktop_capture_client.h

Issue 10910144: Get mouse events to work with win aura, and make the combobox function in the views examples app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/views/views.gyp ('k') | ui/views/widget/desktop_capture_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_VIEWS_WIDGET_DESKTOP_CAPTURE_CLIENT_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_CAPTURE_CLIENT_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_CAPTURE_CLIENT_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_CAPTURE_CLIENT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ui/aura/client/capture_client.h" 10 #include "ui/aura/client/capture_client.h"
11 #include "ui/views/views_export.h"
11 12
12 namespace views { 13 namespace views {
13 14
14 class DesktopCaptureClient : public aura::client::CaptureClient { 15 class VIEWS_EXPORT DesktopCaptureClient : public aura::client::CaptureClient {
15 public: 16 public:
16 DesktopCaptureClient(); 17 DesktopCaptureClient();
17 virtual ~DesktopCaptureClient(); 18 virtual ~DesktopCaptureClient();
18 19
19 private: 20 private:
20 // Overridden from aura::client::CaptureClient: 21 // Overridden from aura::client::CaptureClient:
21 virtual void SetCapture(aura::Window* window) OVERRIDE; 22 virtual void SetCapture(aura::Window* window) OVERRIDE;
22 virtual void ReleaseCapture(aura::Window* window) OVERRIDE; 23 virtual void ReleaseCapture(aura::Window* window) OVERRIDE;
23 virtual aura::Window* GetCaptureWindow() OVERRIDE; 24 virtual aura::Window* GetCaptureWindow() OVERRIDE;
24 25
25 aura::Window* capture_window_; 26 aura::Window* capture_window_;
26 27
27 DISALLOW_COPY_AND_ASSIGN(DesktopCaptureClient); 28 DISALLOW_COPY_AND_ASSIGN(DesktopCaptureClient);
28 }; 29 };
29 30
30 } // namespace views 31 } // namespace views
31 32
32 #endif // UI_VIEWS_WIDGET_DESKTOP_CAPTURE_CLIENT_H_ 33 #endif // UI_VIEWS_WIDGET_DESKTOP_CAPTURE_CLIENT_H_
OLDNEW
« no previous file with comments | « ui/views/views.gyp ('k') | ui/views/widget/desktop_capture_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698