| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2010 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2010 The WebRTC Project Authors. All rights reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 static bool IsDesktopElement(_XDisplay* display, Window window); | 31 static bool IsDesktopElement(_XDisplay* display, Window window); |
| 32 | 32 |
| 33 bool Init() override; | 33 bool Init() override; |
| 34 bool IsVisible(const WindowId& id) override; | 34 bool IsVisible(const WindowId& id) override; |
| 35 bool MoveToFront(const WindowId& id) override; | 35 bool MoveToFront(const WindowId& id) override; |
| 36 bool GetWindowList(WindowDescriptionList* descriptions) override; | 36 bool GetWindowList(WindowDescriptionList* descriptions) override; |
| 37 bool GetDesktopList(DesktopDescriptionList* descriptions) override; | 37 bool GetDesktopList(DesktopDescriptionList* descriptions) override; |
| 38 bool GetDesktopDimensions(const DesktopId& id, | 38 bool GetDesktopDimensions(const DesktopId& id, |
| 39 int* width, | 39 int* width, |
| 40 int* height) override; | 40 int* height) override; |
| 41 uint8* GetWindowIcon(const WindowId& id, int* width, int* height); | 41 uint8_t* GetWindowIcon(const WindowId& id, int* width, int* height); |
| 42 uint8* GetWindowThumbnail(const WindowId& id, int width, int height); | 42 uint8_t* GetWindowThumbnail(const WindowId& id, int width, int height); |
| 43 int GetNumDesktops(); | 43 int GetNumDesktops(); |
| 44 uint8* GetDesktopThumbnail(const DesktopId& id, int width, int height); | 44 uint8_t* GetDesktopThumbnail(const DesktopId& id, int width, int height); |
| 45 | 45 |
| 46 private: | 46 private: |
| 47 scoped_ptr<XWindowEnumerator> enumerator_; | 47 scoped_ptr<XWindowEnumerator> enumerator_; |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 } // namespace rtc | 50 } // namespace rtc |
| 51 | 51 |
| 52 #endif // WEBRTC_BASE_LINUXWINDOWPICKER_H_ | 52 #endif // WEBRTC_BASE_LINUXWINDOWPICKER_H_ |
| OLD | NEW |