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

Side by Side Diff: content/common/image_downloader/image_downloader.mojom

Issue 2009073003: Move mojo/converters/geometry -> ui/gfx/geometry/mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 7 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 module content.mojom; 5 module content.mojom;
6 6
7 import "skia/public/interfaces/bitmap.mojom"; 7 import "skia/public/interfaces/bitmap.mojom";
8 import "ui/mojo/geometry/geometry.mojom"; 8 import "ui/gfx/geometry/mojo/geometry.mojom";
9 9
10 interface ImageDownloader { 10 interface ImageDownloader {
11 // Fetch and decode an image from a given URL. 11 // Fetch and decode an image from a given URL.
12 // Returns the decoded images, or http_status_code to indicate error. 12 // Returns the decoded images, or http_status_code to indicate error.
13 // Each call is independent, overlapping calls are possible. 13 // Each call is independent, overlapping calls are possible.
14 DownloadImage(string url, 14 DownloadImage(string url,
15 bool is_favicon, 15 bool is_favicon,
16 uint32 max_bitmap_size, 16 uint32 max_bitmap_size,
17 bool bypass_cache) 17 bool bypass_cache)
18 => (int32 http_status_code, 18 => (int32 http_status_code,
19 array<skia.mojom.Bitmap> images, 19 array<skia.mojom.Bitmap> images,
20 array<mojo.Size> original_image_sizes); 20 array<mojo.Size> original_image_sizes);
21 }; 21 };
OLDNEW
« no previous file with comments | « content/common/BUILD.gn ('k') | content/content.gyp » ('j') | ui/gfx/gfx.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698