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

Unified Diff: chrome/browser/media/webrtc/window_icon_util_ozone.cc

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month 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/webrtc/window_icon_util_chromeos.cc ('k') | chrome/browser/net/crl_set_fetcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/webrtc/window_icon_util_ozone.cc
diff --git a/chrome/browser/media/webrtc/window_icon_util_chromeos.cc b/chrome/browser/media/webrtc/window_icon_util_ozone.cc
similarity index 56%
copy from chrome/browser/media/webrtc/window_icon_util_chromeos.cc
copy to chrome/browser/media/webrtc/window_icon_util_ozone.cc
index 530f013a30d7fd5c3c8f3074509224d4783fa0fe..f519648c48990fba693d2d58567905b25e9ce233 100644
--- a/chrome/browser/media/webrtc/window_icon_util_chromeos.cc
+++ b/chrome/browser/media/webrtc/window_icon_util_ozone.cc
@@ -6,16 +6,12 @@
#include "content/public/browser/desktop_media_id.h"
#include "ui/aura/client/aura_constants.h"
-#include "ui/aura/window.h"
gfx::ImageSkia GetWindowIcon(content::DesktopMediaID id) {
DCHECK_EQ(content::DesktopMediaID::TYPE_WINDOW, id.type);
- aura::Window* window = content::DesktopMediaID::GetAuraWindowById(id);
- if (!window)
- return gfx::ImageSkia();
-
- gfx::ImageSkia* image = window->GetProperty(aura::client::kWindowIconKey);
- if (!image)
- image = window->GetProperty(aura::client::kAppIconKey);
- return image ? *image : gfx::ImageSkia();
+ // TODO(tonikitoo): can we make the implementation of
+ // chrome/browser/media/webrtc/window_icon_util_chromeos.cc generic
+ // enough so we can reuse it here?
+ NOTIMPLEMENTED();
+ return gfx::ImageSkia();
}
« no previous file with comments | « chrome/browser/media/webrtc/window_icon_util_chromeos.cc ('k') | chrome/browser/net/crl_set_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698