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

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

Issue 6683066: Remove render_messages_params files since they're not needed anymore. I moved the search provide... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 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
« no previous file with comments | « chrome/chrome_common.gypi ('k') | chrome/common/render_messages_params.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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
11 // TODO(erg): This list has been temporarily annotated by erg while doing work 11 // TODO(erg): This list has been temporarily annotated by erg while doing work
12 // on which headers to pull out. 12 // on which headers to pull out.
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/file_path.h" 14 #include "base/file_path.h"
15 #include "base/process.h" 15 #include "base/process.h"
16 #include "base/shared_memory.h" 16 #include "base/shared_memory.h"
17 #include "base/string16.h" 17 #include "base/string16.h"
18 #include "base/values.h" 18 #include "base/values.h"
19 #include "build/build_config.h" 19 #include "build/build_config.h"
20 #include "chrome/common/content_settings.h" 20 #include "chrome/common/content_settings.h"
21 #include "chrome/common/instant_types.h" 21 #include "chrome/common/instant_types.h"
22 #include "chrome/common/nacl_types.h" 22 #include "chrome/common/nacl_types.h"
23 #include "chrome/common/render_messages_params.h" 23 #include "chrome/common/search_provider.h"
24 #include "chrome/common/thumbnail_score.h" 24 #include "chrome/common/thumbnail_score.h"
25 #include "chrome/common/translate_errors.h" 25 #include "chrome/common/translate_errors.h"
26 #include "chrome/common/view_types.h" 26 #include "chrome/common/view_types.h"
27 #include "content/common/common_param_traits.h" 27 #include "content/common/common_param_traits.h"
28 #include "ipc/ipc_message_macros.h" 28 #include "ipc/ipc_message_macros.h"
29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" 29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h"
30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" 30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h"
31 #include "third_party/skia/include/core/SkBitmap.h" 31 #include "third_party/skia/include/core/SkBitmap.h"
32 #include "ui/gfx/rect.h" 32 #include "ui/gfx/rect.h"
33 33
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 93
94 } // namespace IPC 94 } // namespace IPC
95 95
96 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ 96 #endif // CHROME_COMMON_RENDER_MESSAGES_H_
97 97
98 #define IPC_MESSAGE_START ChromeMsgStart 98 #define IPC_MESSAGE_START ChromeMsgStart
99 99
100 IPC_ENUM_TRAITS(ContentSetting) 100 IPC_ENUM_TRAITS(ContentSetting)
101 IPC_ENUM_TRAITS(ContentSettingsType) 101 IPC_ENUM_TRAITS(ContentSettingsType)
102 IPC_ENUM_TRAITS(InstantCompleteBehavior) 102 IPC_ENUM_TRAITS(InstantCompleteBehavior)
103 IPC_ENUM_TRAITS(search_provider::OSDDType)
104 IPC_ENUM_TRAITS(search_provider::InstallState)
103 IPC_ENUM_TRAITS(TranslateErrors::Type) 105 IPC_ENUM_TRAITS(TranslateErrors::Type)
104 IPC_ENUM_TRAITS(ViewType::Type) 106 IPC_ENUM_TRAITS(ViewType::Type)
105 IPC_ENUM_TRAITS(WebKit::WebConsoleMessage::Level) 107 IPC_ENUM_TRAITS(WebKit::WebConsoleMessage::Level)
106 108
107 IPC_STRUCT_TRAITS_BEGIN(ThumbnailScore) 109 IPC_STRUCT_TRAITS_BEGIN(ThumbnailScore)
108 IPC_STRUCT_TRAITS_MEMBER(boring_score) 110 IPC_STRUCT_TRAITS_MEMBER(boring_score)
109 IPC_STRUCT_TRAITS_MEMBER(good_clipping) 111 IPC_STRUCT_TRAITS_MEMBER(good_clipping)
110 IPC_STRUCT_TRAITS_MEMBER(at_top) 112 IPC_STRUCT_TRAITS_MEMBER(at_top)
111 IPC_STRUCT_TRAITS_MEMBER(time_at_snapshot) 113 IPC_STRUCT_TRAITS_MEMBER(time_at_snapshot)
112 IPC_STRUCT_TRAITS_END() 114 IPC_STRUCT_TRAITS_END()
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 std::vector<nacl::FileDescriptor> 367 std::vector<nacl::FileDescriptor>
366 /* imc channel handles */, 368 /* imc channel handles */,
367 base::ProcessHandle /* NaCl process handle */, 369 base::ProcessHandle /* NaCl process handle */,
368 base::ProcessId /* NaCl process id */) 370 base::ProcessId /* NaCl process id */)
369 371
370 // Notification that the page has an OpenSearch description document 372 // Notification that the page has an OpenSearch description document
371 // associated with it. 373 // associated with it.
372 IPC_MESSAGE_ROUTED3(ViewHostMsg_PageHasOSDD, 374 IPC_MESSAGE_ROUTED3(ViewHostMsg_PageHasOSDD,
373 int32 /* page_id */, 375 int32 /* page_id */,
374 GURL /* url of OS description document */, 376 GURL /* url of OS description document */,
375 ViewHostMsg_PageHasOSDD_Type) 377 search_provider::OSDDType)
376 378
377 // Find out if the given url's security origin is installed as a search 379 // Find out if the given url's security origin is installed as a search
378 // provider. 380 // provider.
379 IPC_SYNC_MESSAGE_ROUTED2_1( 381 IPC_SYNC_MESSAGE_ROUTED2_1(ViewHostMsg_GetSearchProviderInstallState,
380 ViewHostMsg_GetSearchProviderInstallState, 382 GURL /* page url */,
381 GURL /* page url */, 383 GURL /* inquiry url */,
382 GURL /* inquiry url */, 384 search_provider::InstallState /* install */)
383 ViewHostMsg_GetSearchProviderInstallState_Params /* install */)
384 385
385 // Stores new inspector setting in the profile. 386 // Stores new inspector setting in the profile.
386 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, 387 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting,
387 std::string, /* key */ 388 std::string, /* key */
388 std::string /* value */) 389 std::string /* value */)
389 390
390 // Send back a string to be recorded by UserMetrics. 391 // Send back a string to be recorded by UserMetrics.
391 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, 392 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction,
392 std::string /* action */) 393 std::string /* action */)
393 394
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 // while performing stress testing. 492 // while performing stress testing.
492 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, 493 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl,
493 int /* cmd */, 494 int /* cmd */,
494 int /* param */) 495 int /* param */)
495 496
496 // Register a new handler for URL requests with the given scheme. 497 // Register a new handler for URL requests with the given scheme.
497 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, 498 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler,
498 std::string /* scheme */, 499 std::string /* scheme */,
499 GURL /* url */, 500 GURL /* url */,
500 string16 /* title */) 501 string16 /* title */)
OLDNEW
« no previous file with comments | « chrome/chrome_common.gypi ('k') | chrome/common/render_messages_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698