| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_PUBLIC_BROWSER_DESKTOP_MEDIA_ID_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_DESKTOP_MEDIA_ID_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_DESKTOP_MEDIA_ID_H_ | 6 #define CONTENT_PUBLIC_BROWSER_DESKTOP_MEDIA_ID_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <tuple> | 9 #include <tuple> |
| 10 | 10 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 // non-null if and only if it refers to a native screen/window. |aura_id| | 60 // non-null if and only if it refers to a native screen/window. |aura_id| |
| 61 // will be non-null if and only if it refers to an Aura window. Note that is | 61 // will be non-null if and only if it refers to an Aura window. Note that is |
| 62 // it possible for both of these to be non-null, which means both IDs are | 62 // it possible for both of these to be non-null, which means both IDs are |
| 63 // referring to the same logical window. | 63 // referring to the same logical window. |
| 64 Id id = kNullId; | 64 Id id = kNullId; |
| 65 #if defined(USE_AURA) | 65 #if defined(USE_AURA) |
| 66 // TODO(miu): Make this an int, after clean-up for http://crbug.com/513490. | 66 // TODO(miu): Make this an int, after clean-up for http://crbug.com/513490. |
| 67 Id aura_id = kNullId; | 67 Id aura_id = kNullId; |
| 68 #endif | 68 #endif |
| 69 | 69 |
| 70 // This records whether the desktop share has sound or not. |
| 71 bool audio_share = false; |
| 72 |
| 70 // This id contains information for WebContents capture. | 73 // This id contains information for WebContents capture. |
| 71 WebContentsMediaCaptureId web_contents_id; | 74 WebContentsMediaCaptureId web_contents_id; |
| 72 }; | 75 }; |
| 73 | 76 |
| 74 } // namespace content | 77 } // namespace content |
| 75 | 78 |
| 76 #endif // CONTENT_PUBLIC_BROWSER_DESKTOP_MEDIA_ID_H_ | 79 #endif // CONTENT_PUBLIC_BROWSER_DESKTOP_MEDIA_ID_H_ |
| OLD | NEW |