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

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

Issue 10732002: Upstream rewrite of Instant. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Extreme nits. Created 8 years, 4 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
« no previous file with comments | « chrome/common/instant_types.h ('k') | chrome/renderer/search_extension.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 262
263 // Posts a message to the renderer. 263 // Posts a message to the renderer.
264 IPC_MESSAGE_ROUTED3(ChromeViewMsg_HandleMessageFromExternalHost, 264 IPC_MESSAGE_ROUTED3(ChromeViewMsg_HandleMessageFromExternalHost,
265 std::string /* The message */, 265 std::string /* The message */,
266 std::string /* The origin */, 266 std::string /* The origin */,
267 std::string /* The target*/) 267 std::string /* The target*/)
268 268
269 IPC_MESSAGE_ROUTED4(ChromeViewMsg_SearchBoxChange, 269 IPC_MESSAGE_ROUTED4(ChromeViewMsg_SearchBoxChange,
270 string16 /* value */, 270 string16 /* value */,
271 bool /* verbatim */, 271 bool /* verbatim */,
272 int /* selection_start */, 272 size_t /* selection_start */,
273 int /* selection_end */) 273 size_t /* selection_end */)
274 IPC_MESSAGE_ROUTED2(ChromeViewMsg_SearchBoxSubmit, 274 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxSubmit,
275 string16 /* value */, 275 string16 /* value */)
276 bool /* verbatim */) 276 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxCancel,
277 IPC_MESSAGE_ROUTED0(ChromeViewMsg_SearchBoxCancel) 277 string16 /* value */)
278 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxResize, 278 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxResize,
279 gfx::Rect /* search_box_bounds */) 279 gfx::Rect /* search_box_bounds */)
280 IPC_MESSAGE_ROUTED4(ChromeViewMsg_DetermineIfPageSupportsInstant, 280 IPC_MESSAGE_ROUTED0(ChromeViewMsg_DetermineIfPageSupportsInstant)
281 string16 /* value*/,
282 bool /* verbatim */,
283 int /* selection_start */,
284 int /* selection_end */)
285 281
286 // Toggles visual muting of the render view area. This is on when a constrained 282 // Toggles visual muting of the render view area. This is on when a constrained
287 // window is showing. 283 // window is showing.
288 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetVisuallyDeemphasized, 284 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetVisuallyDeemphasized,
289 bool /* deemphazied */) 285 bool /* deemphazied */)
290 286
291 // Tells the renderer to translate the page contents from one language to 287 // Tells the renderer to translate the page contents from one language to
292 // another. 288 // another.
293 IPC_MESSAGE_ROUTED4(ChromeViewMsg_TranslatePage, 289 IPC_MESSAGE_ROUTED4(ChromeViewMsg_TranslatePage,
294 int /* page id */, 290 int /* page id */,
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_DidBlockRunningInsecureContent) 590 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_DidBlockRunningInsecureContent)
595 591
596 // Message sent from renderer to the browser when the element that is focused 592 // Message sent from renderer to the browser when the element that is focused
597 // and currently accepts keyboard input inside the webpage has been touched. 593 // and currently accepts keyboard input inside the webpage has been touched.
598 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_FocusedEditableNodeTouched) 594 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_FocusedEditableNodeTouched)
599 595
600 // Suggest results ----------------------------------------------------------- 596 // Suggest results -----------------------------------------------------------
601 597
602 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_SetSuggestions, 598 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_SetSuggestions,
603 int32 /* page_id */, 599 int32 /* page_id */,
604 std::vector<std::string> /* suggestions */, 600 std::vector<string16> /* suggestions */,
605 InstantCompleteBehavior) 601 InstantCompleteBehavior)
606 602
607 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_InstantSupportDetermined, 603 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_InstantSupportDetermined,
608 int32 /* page_id */, 604 int32 /* page_id */,
609 bool /* result */) 605 bool /* result */)
610 606
611 // The currently displayed PDF has an unsupported feature. 607 // The currently displayed PDF has an unsupported feature.
612 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_PDFHasUnsupportedFeature) 608 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_PDFHasUnsupportedFeature)
613 609
614 // This message indicates the error appeared in the frame. 610 // This message indicates the error appeared in the frame.
(...skipping 16 matching lines...) Expand all
631 // previous SetCookie message to be processed. 627 // previous SetCookie message to be processed.
632 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, 628 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies,
633 GURL /* url */, 629 GURL /* url */,
634 GURL /* first_party_for_cookies */, 630 GURL /* first_party_for_cookies */,
635 std::string /* cookies */) 631 std::string /* cookies */)
636 632
637 // Provide the browser process with current renderer framerate. 633 // Provide the browser process with current renderer framerate.
638 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, 634 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS,
639 int /* routing id */, 635 int /* routing id */,
640 float /* frames per second */) 636 float /* frames per second */)
OLDNEW
« no previous file with comments | « chrome/common/instant_types.h ('k') | chrome/renderer/search_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698