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

Unified Diff: chrome/browser/chromeos/extensions/gfx_utils.h

Issue 2067943004: ARC: Add badge for Chrome hosted Apps if Arc++ is enabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix the failed unittest. Created 4 years, 6 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
Index: chrome/browser/chromeos/extensions/gfx_utils.h
diff --git a/chrome/browser/chromeos/extensions/gfx_utils.h b/chrome/browser/chromeos/extensions/gfx_utils.h
new file mode 100644
index 0000000000000000000000000000000000000000..065a581a64d4cf21e0f58246b7e98758b15cf37f
--- /dev/null
+++ b/chrome/browser/chromeos/extensions/gfx_utils.h
@@ -0,0 +1,30 @@
+// 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.
+
+#ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_GFX_UTILS_H_
+#define CHROME_BROWSER_CHROMEOS_EXTENSIONS_GFX_UTILS_H_
+
+#include <string>
+
+namespace content {
+class BrowserContext;
+}
+
+namespace gfx {
+class ImageSkia;
+}
+
+namespace extensions {
+namespace util {
+
+// May apply additional badge in order to distinguish dual apps from Chrome and
+// Android side.
+bool MaybeApplyChromeBadge(content::BrowserContext* context,
+ const std::string& extension_id,
+ gfx::ImageSkia* icon);
+
+} // namespace util
+} // namespace extensions
+
+#endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_GFX_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698