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

Side by Side Diff: chrome/common/render_messages.h

Issue 12498002: InstantExtended: Adding InstantRestrictedIDCache. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Using MRUCache to implement InstantRestrcitedIDCache. 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
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 file, no traditional include guard. 5 // Multiply-included file, no traditional include guard.
6 #include <map> 6 #include <map>
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 IPC_STRUCT_TRAITS_BEGIN(InstantAutocompleteResult) 160 IPC_STRUCT_TRAITS_BEGIN(InstantAutocompleteResult)
161 IPC_STRUCT_TRAITS_MEMBER(provider) 161 IPC_STRUCT_TRAITS_MEMBER(provider)
162 IPC_STRUCT_TRAITS_MEMBER(type) 162 IPC_STRUCT_TRAITS_MEMBER(type)
163 IPC_STRUCT_TRAITS_MEMBER(description) 163 IPC_STRUCT_TRAITS_MEMBER(description)
164 IPC_STRUCT_TRAITS_MEMBER(destination_url) 164 IPC_STRUCT_TRAITS_MEMBER(destination_url)
165 IPC_STRUCT_TRAITS_MEMBER(transition) 165 IPC_STRUCT_TRAITS_MEMBER(transition)
166 IPC_STRUCT_TRAITS_MEMBER(relevance) 166 IPC_STRUCT_TRAITS_MEMBER(relevance)
167 IPC_STRUCT_TRAITS_END() 167 IPC_STRUCT_TRAITS_END()
168 168
169 IPC_STRUCT_TRAITS_BEGIN(InstantMostVisitedItem) 169 IPC_STRUCT_TRAITS_BEGIN(InstantMostVisitedItem)
170 IPC_STRUCT_TRAITS_MEMBER(most_visited_item_id)
171 IPC_STRUCT_TRAITS_MEMBER(url) 170 IPC_STRUCT_TRAITS_MEMBER(url)
172 IPC_STRUCT_TRAITS_MEMBER(title) 171 IPC_STRUCT_TRAITS_MEMBER(title)
173 IPC_STRUCT_TRAITS_END() 172 IPC_STRUCT_TRAITS_END()
174 173
175 IPC_STRUCT_TRAITS_BEGIN(InstantSuggestion) 174 IPC_STRUCT_TRAITS_BEGIN(InstantSuggestion)
176 IPC_STRUCT_TRAITS_MEMBER(text) 175 IPC_STRUCT_TRAITS_MEMBER(text)
177 IPC_STRUCT_TRAITS_MEMBER(behavior) 176 IPC_STRUCT_TRAITS_MEMBER(behavior)
178 IPC_STRUCT_TRAITS_MEMBER(type) 177 IPC_STRUCT_TRAITS_MEMBER(type)
179 IPC_STRUCT_TRAITS_MEMBER(query) 178 IPC_STRUCT_TRAITS_MEMBER(query)
180 IPC_STRUCT_TRAITS_END() 179 IPC_STRUCT_TRAITS_END()
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 string16 /* omnibox_font */, 338 string16 /* omnibox_font */,
340 size_t /* omnibox_font_size */) 339 size_t /* omnibox_font_size */)
341 340
342 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxKeyCaptureChanged, 341 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxKeyCaptureChanged,
343 bool /* is_key_capture_enabled */) 342 bool /* is_key_capture_enabled */)
344 343
345 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxGrantChromeSearchAccessFromOrigin, 344 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxGrantChromeSearchAccessFromOrigin,
346 GURL /* origin_url */) 345 GURL /* origin_url */)
347 346
348 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxMostVisitedItemsChanged, 347 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxMostVisitedItemsChanged,
349 std::vector<InstantMostVisitedItem> /* items */) 348 std::vector<InstantMostVisitedItemIDPair> /* items */)
350 349
351 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxDeleteMostVisitedItem, 350 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxDeleteMostVisitedItem,
352 uint64 /* most_visited_item_id */) 351 InstantRestrictedID /* most_visited_item_id */)
353 352
354 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxUndoMostVisitedDeletion, 353 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxUndoMostVisitedDeletion,
355 uint64 /* most_visited_item_id */) 354 InstantRestrictedID /* most_visited_item_id */)
356 355
357 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_SearchBoxUndoAllMostVisitedDeletions) 356 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_SearchBoxUndoAllMostVisitedDeletions)
358 357
359 // Toggles visual muting of the render view area. This is on when a constrained 358 // Toggles visual muting of the render view area. This is on when a constrained
360 // window is showing. 359 // window is showing.
361 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetVisuallyDeemphasized, 360 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetVisuallyDeemphasized,
362 bool /* deemphazied */) 361 bool /* deemphazied */)
363 362
364 // Tells the renderer to translate the page contents from one language to 363 // Tells the renderer to translate the page contents from one language to
365 // another. 364 // another.
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 // previous SetCookie message to be processed. 736 // previous SetCookie message to be processed.
738 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, 737 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies,
739 GURL /* url */, 738 GURL /* url */,
740 GURL /* first_party_for_cookies */, 739 GURL /* first_party_for_cookies */,
741 std::string /* cookies */) 740 std::string /* cookies */)
742 741
743 // Provide the browser process with current renderer framerate. 742 // Provide the browser process with current renderer framerate.
744 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, 743 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS,
745 int /* routing id */, 744 int /* routing id */,
746 float /* frames per second */) 745 float /* frames per second */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698