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

Side by Side Diff: extensions/browser/image_util.h

Issue 214243003: Remove some chrome dependencies from extensions app_window API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef EXTENSIONS_BROWSER_IMAGE_UTIL_H_
James Cook 2014/04/02 20:15:47 This file is called image_util.h instead of color_
6 #define EXTENSIONS_BROWSER_IMAGE_UTIL_H_
7
8 #include <string>
9
10 typedef unsigned int SkColor;
11
12 // This file contains various utility functions for extension images and colors.
13 namespace extensions {
14 namespace image_util {
15
16 // Parses a string like #FF9982 or #EEE to a color. Returns true for success.
17 bool ParseCSSColorString(const std::string& color_string, SkColor* result);
18
19 } // namespace image_util
20 } // namespace extensions
21
22 #endif // EXTENSIONS_BROWSER_IMAGE_UTIL_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698