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

Side by Side Diff: chrome/browser/webui/web_ui_util.h

Issue 6541006: WebUI: Move more files from chrome/browser/dom_ui to chrome/browser/webui. Part 3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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
« no previous file with comments | « chrome/browser/webui/web_ui_unittest.cc ('k') | chrome/browser/webui/web_ui_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_DOM_UI_WEB_UI_UTIL_H_ 5 #ifndef CHROME_BROWSER_WEBUI_WEB_UI_UTIL_H_
6 #define CHROME_BROWSER_DOM_UI_WEB_UI_UTIL_H_ 6 #define CHROME_BROWSER_WEBUI_WEB_UI_UTIL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 class ListValue; 11 class ListValue;
12 class SkBitmap; 12 class SkBitmap;
13 13
14 namespace web_ui_util { 14 namespace web_ui_util {
15 15
16 // Convenience routine to get the response string from an argument 16 // Convenience routine to get the response string from an argument
(...skipping 22 matching lines...) Expand all
39 // Convenience routine to get data url that corresponds to given 39 // Convenience routine to get data url that corresponds to given
40 // resource_id as an image. This function does not check if the 40 // resource_id as an image. This function does not check if the
41 // resource for the |resource_id| is an image, therefore it is the 41 // resource for the |resource_id| is an image, therefore it is the
42 // caller's responsibility to make sure the resource is indeed an 42 // caller's responsibility to make sure the resource is indeed an
43 // image. Returns empty string if a resource does not exist for given 43 // image. Returns empty string if a resource does not exist for given
44 // |resource_id|. 44 // |resource_id|.
45 std::string GetImageDataUrlFromResource(int resource_id); 45 std::string GetImageDataUrlFromResource(int resource_id);
46 46
47 } // namespace web_ui_util 47 } // namespace web_ui_util
48 48
49 #endif // CHROME_BROWSER_DOM_UI_WEB_UI_UTIL_H_ 49 #endif // CHROME_BROWSER_WEBUI_WEB_UI_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/webui/web_ui_unittest.cc ('k') | chrome/browser/webui/web_ui_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698