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

Side by Side Diff: ui/webui/web_ui_util.h

Issue 14272007: Update the remaining include paths of base/string_piece.h to its new location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « ui/webui/jstemplate_builder.h ('k') | webkit/database/database_util_unittest.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_WEBUI_WEB_UI_UTIL_H_ 5 #ifndef UI_WEBUI_WEB_UI_UTIL_H_
6 #define UI_WEBUI_WEB_UI_UTIL_H_ 6 #define UI_WEBUI_WEB_UI_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/string_piece.h" 10 #include "base/strings/string_piece.h"
11 #include "base/values.h" 11 #include "base/values.h"
12 #include "ui/base/layout.h" 12 #include "ui/base/layout.h"
13 #include "ui/base/ui_export.h"
13 #include "ui/base/window_open_disposition.h" 14 #include "ui/base/window_open_disposition.h"
14 #include "ui/base/ui_export.h"
15 15
16 class GURL; 16 class GURL;
17 class SkBitmap; 17 class SkBitmap;
18 18
19 namespace webui { 19 namespace webui {
20 20
21 // Convenience routine to convert SkBitmap object to data url 21 // Convenience routine to convert SkBitmap object to data url
22 // so that it can be used in WebUI. 22 // so that it can be used in WebUI.
23 UI_EXPORT std::string GetBitmapDataUrl(const SkBitmap& bitmap); 23 UI_EXPORT std::string GetBitmapDataUrl(const SkBitmap& bitmap);
24 24
(...skipping 25 matching lines...) Expand all
50 ui::ScaleFactor* scale_factor); 50 ui::ScaleFactor* scale_factor);
51 51
52 // Helper function to set the font family, size, and text direction into the 52 // Helper function to set the font family, size, and text direction into the
53 // given dictionary. 53 // given dictionary.
54 UI_EXPORT void SetFontAndTextDirection( 54 UI_EXPORT void SetFontAndTextDirection(
55 base::DictionaryValue* localized_strings); 55 base::DictionaryValue* localized_strings);
56 56
57 } // namespace webui 57 } // namespace webui
58 58
59 #endif // UI_WEBUI_WEB_UI_UTIL_H_ 59 #endif // UI_WEBUI_WEB_UI_UTIL_H_
OLDNEW
« no previous file with comments | « ui/webui/jstemplate_builder.h ('k') | webkit/database/database_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698