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

Unified Diff: chrome/browser/media/window_icon_util_chromeos.cc

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/window_icon_util.h ('k') | chrome/browser/media/window_icon_util_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/window_icon_util_chromeos.cc
diff --git a/chrome/browser/media/window_icon_util_chromeos.cc b/chrome/browser/media/window_icon_util_chromeos.cc
deleted file mode 100644
index b4ed1c6e38b087814bfc6ca82f9ca5a6241ad659..0000000000000000000000000000000000000000
--- a/chrome/browser/media/window_icon_util_chromeos.cc
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright 2016 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.
-
-#include "chrome/browser/media/window_icon_util.h"
-
-#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();
-
- const gfx::ImageSkia* icon_image_ptr =
- window->GetProperty(aura::client::kWindowIconKey);
-
- return icon_image_ptr ? *icon_image_ptr : gfx::ImageSkia();
-}
« no previous file with comments | « chrome/browser/media/window_icon_util.h ('k') | chrome/browser/media/window_icon_util_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698