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

Side by Side Diff: content/common/image_messages.h

Issue 12780024: Split FaviconHelper in two: ImageLoadingHelper and FaviconHelper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed android build Created 7 years, 9 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 (c) 2012 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 // Multiply-included message file, no traditional include guard.
6 #include <vector>
7
8 #include "ipc/ipc_message.h"
9 #include "ipc/ipc_message_macros.h"
10 #include "ipc/ipc_param_traits.h"
11 #include "third_party/skia/include/core/SkBitmap.h"
12
13 #define IPC_MESSAGE_START ImageMsgStart
14
15 // Messages sent from the browser to the renderer.
16
17 // Requests the renderer to download the specified image, decode it,
18 // and send the image data back via ImageHostMsg_DidDownloadImage.
19 IPC_MESSAGE_ROUTED3(ImageMsg_DownloadImage,
20 int /* identifier for the request */,
21 GURL /* URL of the image */,
22 int /* Preferred image size. Passed on to
23 ImageHostMsg_DidDownloadFavicon, unused otherwise */)
24
25 // Messages sent from the renderer to the browser.
26
27 IPC_MESSAGE_ROUTED4(ImageHostMsg_DidDownloadImage,
28 int /* Identifier of the request */,
29 GURL /* URL of the image */,
30 int /* Preferred image size passed to
31 ImageMsg_DownloadImage */,
32 std::vector<SkBitmap> /* image_data */)
33
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698