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

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

Issue 832953002: Cleanup: Update the path to gfx size headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 11 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 (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 #include "ui/gfx/size.h" 12 #include "ui/gfx/geometry/size.h"
13 13
14 #define IPC_MESSAGE_START ImageMsgStart 14 #define IPC_MESSAGE_START ImageMsgStart
15 15
16 // Messages sent from the browser to the renderer. 16 // Messages sent from the browser to the renderer.
17 17
18 // Requests the renderer to download the specified image, decode it, 18 // Requests the renderer to download the specified image, decode it,
19 // and send the image data back via ImageHostMsg_DidDownloadImage. 19 // and send the image data back via ImageHostMsg_DidDownloadImage.
20 IPC_MESSAGE_ROUTED4(ImageMsg_DownloadImage, 20 IPC_MESSAGE_ROUTED4(ImageMsg_DownloadImage,
21 int /* Identifier for the request */, 21 int /* Identifier for the request */,
22 GURL /* URL of the image */, 22 GURL /* URL of the image */,
(...skipping 11 matching lines...) Expand all
34 int /* Identifier of the request */, 34 int /* Identifier of the request */,
35 int /* HTTP response status */, 35 int /* HTTP response status */,
36 GURL /* URL of the image */, 36 GURL /* URL of the image */,
37 std::vector<SkBitmap> /* bitmap data */, 37 std::vector<SkBitmap> /* bitmap data */,
38 /* The sizes in pixel of the bitmaps before they were 38 /* The sizes in pixel of the bitmaps before they were
39 resized due to the maximal bitmap size passed to 39 resized due to the maximal bitmap size passed to
40 ImageMsg_DownloadImage. Each entry in the bitmaps vector 40 ImageMsg_DownloadImage. Each entry in the bitmaps vector
41 corresponds to an entry in the sizes vector. If a bitmap 41 corresponds to an entry in the sizes vector. If a bitmap
42 was resized, there should be a single returned bitmap. */ 42 was resized, there should be a single returned bitmap. */
43 std::vector<gfx::Size>) 43 std::vector<gfx::Size>)
OLDNEW
« no previous file with comments | « content/common/host_shared_bitmap_manager.cc ('k') | content/common/input/synthetic_smooth_scroll_gesture_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698