OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:icon_file
(Results
1 - 6
of
6
) sorted by null
/external/chromium/chrome/browser/web_applications/
web_app.cc
110
// Saves |image| as an |
icon_file
| with the checksum.
111
bool SaveIconWithCheckSum(const FilePath&
icon_file
, const SkBitmap& image) {
112
if (!IconUtil::CreateIconFileFromSkBitmap(image,
icon_file
))
118
FilePath cheksum_file(
icon_file
.ReplaceExtension(kIconChecksumFileExt));
124
// Returns true if |
icon_file
| is missing or different from |image|.
125
bool ShouldUpdateIcon(const FilePath&
icon_file
, const SkBitmap& image) {
126
FilePath checksum_file(
icon_file
.ReplaceExtension(kIconChecksumFileExt));
128
// Returns true if
icon_file
or checksum file is missing.
129
if (!file_util::PathExists(
icon_file
) ||
313
FilePath
icon_file
= web_app_path_.Append(file_name).ReplaceExtension
[
all
...]
web_app.h
73
bool CheckAndSaveIcon(const FilePath&
icon_file
, const SkBitmap& image);
/external/chromium/chrome/browser/extensions/
convert_web_app_unittest.cc
35
FilePath
icon_file
;
local
36
if (!PathService::Get(chrome::DIR_TEST_DATA, &
icon_file
)) {
41
icon_file
=
icon_file
.AppendASCII("extensions")
50
if (!file_util::ReadFileToString(
icon_file
, &icon_data)) {
convert_web_app.cc
151
FilePath
icon_file
= icons_dir.AppendASCII(
local
162
if (!file_util::WriteFile(
icon_file
, image_data_ptr, image_data.size())) {
/external/chromium/chrome/browser/ui/web_applications/
web_app_ui.cc
232
FilePath
icon_file
= web_app_path.Append(file_name_).ReplaceExtension(
local
234
web_app::internals::CheckAndSaveIcon(
icon_file
, shortcut_info_.favicon);
254
icon_file
.value().c_str(),
/external/chromium/base/
mime_util_xdg.cc
593
FilePath
icon_file
;
local
627
icon_file
= FilePath(icon_names[i]);
628
if (file_util::PathExists(
icon_file
))
629
return
icon_file
;
631
icon_file
= LookupIconInDefaultTheme(icon_names[i], size);
632
if (!
icon_file
.empty())
633
return
icon_file
;
Completed in 233 milliseconds