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

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

Issue 14646034: Add onfocuschange to the Extended Search API, with associated isFocused attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Using KeyCaptureChange IPC for notification of focus change, and checking if it really changed in t… 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
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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 } // namespace IPC 112 } // namespace IPC
113 113
114 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ 114 #endif // CHROME_COMMON_RENDER_MESSAGES_H_
115 115
116 #define IPC_MESSAGE_START ChromeMsgStart 116 #define IPC_MESSAGE_START ChromeMsgStart
117 117
118 IPC_ENUM_TRAITS(ChromeViewHostMsg_GetPluginInfo_Status::Value) 118 IPC_ENUM_TRAITS(ChromeViewHostMsg_GetPluginInfo_Status::Value)
119 IPC_ENUM_TRAITS(InstantCompleteBehavior) 119 IPC_ENUM_TRAITS(InstantCompleteBehavior)
120 IPC_ENUM_TRAITS(InstantSizeUnits) 120 IPC_ENUM_TRAITS(InstantSizeUnits)
121 IPC_ENUM_TRAITS(InstantSuggestionType) 121 IPC_ENUM_TRAITS(InstantSuggestionType)
122 IPC_ENUM_TRAITS(OmniboxFocusChangeReason)
122 IPC_ENUM_TRAITS(OmniboxFocusState) 123 IPC_ENUM_TRAITS(OmniboxFocusState)
123 IPC_ENUM_TRAITS(search_provider::OSDDType) 124 IPC_ENUM_TRAITS(search_provider::OSDDType)
124 IPC_ENUM_TRAITS(search_provider::InstallState) 125 IPC_ENUM_TRAITS(search_provider::InstallState)
125 IPC_ENUM_TRAITS(ThemeBackgroundImageAlignment) 126 IPC_ENUM_TRAITS(ThemeBackgroundImageAlignment)
126 IPC_ENUM_TRAITS(ThemeBackgroundImageTiling) 127 IPC_ENUM_TRAITS(ThemeBackgroundImageTiling)
127 IPC_ENUM_TRAITS(TranslateErrors::Type) 128 IPC_ENUM_TRAITS(TranslateErrors::Type)
128 IPC_ENUM_TRAITS(WebKit::WebConsoleMessage::Level) 129 IPC_ENUM_TRAITS(WebKit::WebConsoleMessage::Level)
129 130
130 IPC_STRUCT_TRAITS_BEGIN(ChromeViewHostMsg_GetPluginInfo_Status) 131 IPC_STRUCT_TRAITS_BEGIN(ChromeViewHostMsg_GetPluginInfo_Status)
131 IPC_STRUCT_TRAITS_MEMBER(value) 132 IPC_STRUCT_TRAITS_MEMBER(value)
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxSetDisplayInstantResults, 340 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxSetDisplayInstantResults,
340 bool /* display_instant_results */) 341 bool /* display_instant_results */)
341 342
342 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxThemeChanged, 343 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxThemeChanged,
343 ThemeBackgroundInfo /* value */) 344 ThemeBackgroundInfo /* value */)
344 345
345 IPC_MESSAGE_ROUTED2(ChromeViewMsg_SearchBoxFontInformation, 346 IPC_MESSAGE_ROUTED2(ChromeViewMsg_SearchBoxFontInformation,
346 string16 /* omnibox_font */, 347 string16 /* omnibox_font */,
347 size_t /* omnibox_font_size */) 348 size_t /* omnibox_font_size */)
348 349
349 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxKeyCaptureChanged, 350 IPC_MESSAGE_ROUTED2(ChromeViewMsg_SearchBoxKeyCaptureChanged,
samarth 2013/05/13 20:56:53 I'd rename this to SearchBoxFocusChanged
Donn Denman 2013/05/13 23:44:50 Done.
350 bool /* is_key_capture_enabled */) 351 OmniboxFocusState /* new_focus_state */,
352 OmniboxFocusChangeReason /* reason */)
351 353
352 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxMostVisitedItemsChanged, 354 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxMostVisitedItemsChanged,
353 std::vector<InstantMostVisitedItemIDPair> /* items */) 355 std::vector<InstantMostVisitedItemIDPair> /* items */)
354 356
355 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxDeleteMostVisitedItem, 357 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxDeleteMostVisitedItem,
356 InstantRestrictedID /* most_visited_item_id */) 358 InstantRestrictedID /* most_visited_item_id */)
357 359
358 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxUndoMostVisitedDeletion, 360 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxUndoMostVisitedDeletion,
359 InstantRestrictedID /* most_visited_item_id */) 361 InstantRestrictedID /* most_visited_item_id */)
360 362
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 // previous SetCookie message to be processed. 741 // previous SetCookie message to be processed.
740 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, 742 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies,
741 GURL /* url */, 743 GURL /* url */,
742 GURL /* first_party_for_cookies */, 744 GURL /* first_party_for_cookies */,
743 std::string /* cookies */) 745 std::string /* cookies */)
744 746
745 // Provide the browser process with current renderer framerate. 747 // Provide the browser process with current renderer framerate.
746 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, 748 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS,
747 int /* routing id */, 749 int /* routing id */,
748 float /* frames per second */) 750 float /* frames per second */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698