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

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

Issue 14322023: Don't request missing favicon on every page request. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync up to r199996 Created 7 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 | Annotate | Revision Log
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 // Multiply-included message file, no traditional include guard. 5 // Multiply-included message file, no traditional include guard.
6 #include <vector> 6 #include <vector>
7 7
8 #include "ipc/ipc_message.h" 8 #include "ipc/ipc_message.h"
9 #include "ipc/ipc_message_macros.h" 9 #include "ipc/ipc_message_macros.h"
10 #include "ipc/ipc_param_traits.h" 10 #include "ipc/ipc_param_traits.h"
11 #include "third_party/skia/include/core/SkBitmap.h" 11 #include "third_party/skia/include/core/SkBitmap.h"
12 12
13 #define IPC_MESSAGE_START ImageMsgStart 13 #define IPC_MESSAGE_START ImageMsgStart
14 14
15 // Messages sent from the browser to the renderer. 15 // Messages sent from the browser to the renderer.
16 16
17 // Requests the renderer to download the specified image, decode it, 17 // Requests the renderer to download the specified image, decode it,
18 // and send the image data back via ImageHostMsg_DidDownloadImage. 18 // and send the image data back via ImageHostMsg_DidDownloadImage.
19 IPC_MESSAGE_ROUTED4(ImageMsg_DownloadImage, 19 IPC_MESSAGE_ROUTED4(ImageMsg_DownloadImage,
20 int /* identifier for the request */, 20 int /* identifier for the request */,
21 GURL /* URL of the image */, 21 GURL /* URL of the image */,
22 bool /* is favicon (turn off cookies) */, 22 bool /* is favicon (turn off cookies) */,
23 int /* Preferred image size. Passed on to 23 int /* Preferred image size. Passed on to
24 ImageHostMsg_DidDownloadFavicon, unused otherwise */) 24 ImageHostMsg_DidDownloadFavicon, unused otherwise */)
25 25
26 // Messages sent from the renderer to the browser. 26 // Messages sent from the renderer to the browser.
27 27
28 IPC_MESSAGE_ROUTED4(ImageHostMsg_DidDownloadImage, 28 IPC_MESSAGE_ROUTED5(ImageHostMsg_DidDownloadImage,
29 int /* Identifier of the request */, 29 int /* Identifier of the request */,
30 int /* HTTP response status */,
30 GURL /* URL of the image */, 31 GURL /* URL of the image */,
31 int /* Preferred image size passed to 32 int /* Preferred image size passed to
32 ImageMsg_DownloadImage */, 33 ImageMsg_DownloadImage */,
33 std::vector<SkBitmap> /* image_data */) 34 std::vector<SkBitmap> /* image_data */)
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/web_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698