diff options
author | dhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-12 03:55:56 +0000 |
---|---|---|
committer | dhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-12 03:55:56 +0000 |
commit | e7868c8893fa2d2a9ed3e112fcd2fca5ffb8e30c (patch) | |
tree | 9aeb89adc7211fb3fd0134557685068856b3d4f3 /chrome/common/render_messages.h | |
parent | 68852bdf95b0a8a4d7dfc70578caa503f49f3dbf (diff) | |
download | chromium_src-e7868c8893fa2d2a9ed3e112fcd2fca5ffb8e30c.zip chromium_src-e7868c8893fa2d2a9ed3e112fcd2fca5ffb8e30c.tar.gz chromium_src-e7868c8893fa2d2a9ed3e112fcd2fca5ffb8e30c.tar.bz2 |
Most visited thumbnails and favicons need id-based urls
Extends ThumbnailSouce and FaviconSource to serve requests of
the form:
chrome-search://favicon/<id>
chrome-search://thumb/<id>
BUG=180371
TEST=Manual, look at NTP Most Visited on 1993
R=sreeram@chromium.org
Review URL: https://codereview.chromium.org/12732005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187480 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages.h')
-rw-r--r-- | chrome/common/render_messages.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h index d7b4751..2e491af 100644 --- a/chrome/common/render_messages.h +++ b/chrome/common/render_messages.h @@ -167,7 +167,8 @@ IPC_STRUCT_TRAITS_BEGIN(InstantAutocompleteResult) IPC_STRUCT_TRAITS_MEMBER(relevance) IPC_STRUCT_TRAITS_END() -IPC_STRUCT_TRAITS_BEGIN(MostVisitedItem) +IPC_STRUCT_TRAITS_BEGIN(InstantMostVisitedItem) + IPC_STRUCT_TRAITS_MEMBER(most_visited_item_id) IPC_STRUCT_TRAITS_MEMBER(url) IPC_STRUCT_TRAITS_MEMBER(title) IPC_STRUCT_TRAITS_END() @@ -342,16 +343,16 @@ IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxKeyCaptureChanged, IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxGrantChromeSearchAccessFromOrigin, GURL /* origin_url */) -IPC_MESSAGE_ROUTED1(ChromeViewMsg_InstantMostVisitedItemsChanged, - std::vector<MostVisitedItem> /* items */) +IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxMostVisitedItemsChanged, + std::vector<InstantMostVisitedItem> /* items */) -IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_InstantDeleteMostVisitedItem, - GURL /* url */) +IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxDeleteMostVisitedItem, + uint64 /* most_visited_item_id */) -IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_InstantUndoMostVisitedDeletion, - GURL /* url */) +IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxUndoMostVisitedDeletion, + uint64 /* most_visited_item_id */) -IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_InstantUndoAllMostVisitedDeletions) +IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_SearchBoxUndoAllMostVisitedDeletions) // Toggles visual muting of the render view area. This is on when a constrained // window is showing. |