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

Unified Diff: chrome/browser/media/desktop_media_list_ash.h

Issue 2307083002: Cleanup: move WebRTC related files from chrome/browser/media to chrome/browser/media/webrtc/ (Closed)
Patch Set: Removed file wrongly resuscitated during rebase Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/media/desktop_media_list.h ('k') | chrome/browser/media/desktop_media_list_ash.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/desktop_media_list_ash.h
diff --git a/chrome/browser/media/desktop_media_list_ash.h b/chrome/browser/media/desktop_media_list_ash.h
deleted file mode 100644
index 554e9d0bc96e7f38cdac90667682f7e3c0254b17..0000000000000000000000000000000000000000
--- a/chrome/browser/media/desktop_media_list_ash.h
+++ /dev/null
@@ -1,54 +0,0 @@
-// Copyright 2013 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 CHROME_BROWSER_MEDIA_DESKTOP_MEDIA_LIST_ASH_H_
-#define CHROME_BROWSER_MEDIA_DESKTOP_MEDIA_LIST_ASH_H_
-
-#include "base/memory/weak_ptr.h"
-#include "chrome/browser/media/desktop_media_list_base.h"
-#include "content/public/browser/desktop_media_id.h"
-
-namespace aura {
-class Window;
-}
-
-namespace gfx {
-class Image;
-}
-
-// Implementation of DesktopMediaList that shows native screens and
-// native windows.
-class DesktopMediaListAsh : public DesktopMediaListBase {
- public:
- enum SourceTypes {
- SCREENS = 1,
- WINDOWS = 2,
- };
-
- explicit DesktopMediaListAsh(int source_types);
- ~DesktopMediaListAsh() override;
-
- private:
- // Override from DesktopMediaListBase.
- void Refresh() override;
- void EnumerateWindowsForRoot(
- std::vector<DesktopMediaListAsh::SourceDescription>* windows,
- aura::Window* root_window,
- int container_id);
- void EnumerateSources(
- std::vector<DesktopMediaListAsh::SourceDescription>* windows);
- void CaptureThumbnail(content::DesktopMediaID id, aura::Window* window);
- void OnThumbnailCaptured(content::DesktopMediaID id,
- const gfx::Image& image);
-
- int source_types_;
-
- int pending_window_capture_requests_;
-
- base::WeakPtrFactory<DesktopMediaListAsh> weak_factory_;
-
- DISALLOW_COPY_AND_ASSIGN(DesktopMediaListAsh);
-};
-
-#endif // CHROME_BROWSER_MEDIA_DESKTOP_MEDIA_LIST_ASH_H_
« no previous file with comments | « chrome/browser/media/desktop_media_list.h ('k') | chrome/browser/media/desktop_media_list_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698