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

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

Issue 2405013002: Move some global feature defines to buildflags (Closed)
Patch Set: Comment Created 4 years, 2 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
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chrome/common/url_constants.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) 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 <stdint.h> 6 #include <stdint.h>
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/strings/string16.h" 11 #include "base/strings/string16.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 #include "build/build_config.h" 13 #include "build/build_config.h"
14 #include "chrome/common/features.h"
14 #include "chrome/common/search/instant_types.h" 15 #include "chrome/common/search/instant_types.h"
15 #include "chrome/common/search/ntp_logging_events.h" 16 #include "chrome/common/search/ntp_logging_events.h"
16 #include "chrome/common/web_application_info.h" 17 #include "chrome/common/web_application_info.h"
17 #include "components/content_settings/core/common/content_settings.h" 18 #include "components/content_settings/core/common/content_settings.h"
18 #include "components/content_settings/core/common/content_settings_pattern.h" 19 #include "components/content_settings/core/common/content_settings_pattern.h"
19 #include "components/content_settings/core/common/content_settings_types.h" 20 #include "components/content_settings/core/common/content_settings_types.h"
20 #include "components/omnibox/common/omnibox_focus_state.h" 21 #include "components/omnibox/common/omnibox_focus_state.h"
21 #include "content/public/common/top_controls_state.h" 22 #include "content/public/common/top_controls_state.h"
22 #include "content/public/common/webplugininfo.h" 23 #include "content/public/common/webplugininfo.h"
23 #include "ipc/ipc_channel_handle.h" 24 #include "ipc/ipc_channel_handle.h"
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 // |additional_param_values| contain the name-value pairs, if any, specified 437 // |additional_param_values| contain the name-value pairs, if any, specified
437 // for the *first* non-disabled plugin found that is registered for |mime_type|. 438 // for the *first* non-disabled plugin found that is registered for |mime_type|.
438 IPC_SYNC_MESSAGE_CONTROL1_3( 439 IPC_SYNC_MESSAGE_CONTROL1_3(
439 ChromeViewHostMsg_IsInternalPluginAvailableForMimeType, 440 ChromeViewHostMsg_IsInternalPluginAvailableForMimeType,
440 std::string /* mime_type */, 441 std::string /* mime_type */,
441 bool /* is_available */, 442 bool /* is_available */,
442 std::vector<base::string16> /* additional_param_names */, 443 std::vector<base::string16> /* additional_param_names */,
443 std::vector<base::string16> /* additional_param_values */) 444 std::vector<base::string16> /* additional_param_values */)
444 #endif 445 #endif
445 446
446 #if defined(ENABLE_PLUGIN_INSTALLATION) 447 #if BUILDFLAG(ENABLE_PLUGIN_INSTALLATION)
447 // Notifies the browser that a missing plugin placeholder has been removed, so 448 // Notifies the browser that a missing plugin placeholder has been removed, so
448 // the corresponding PluginPlaceholderHost can be deleted. 449 // the corresponding PluginPlaceholderHost can be deleted.
449 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_RemovePluginPlaceholderHost, 450 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_RemovePluginPlaceholderHost,
450 int /* placeholder_id */) 451 int /* placeholder_id */)
451 452
452 // Notifies a missing plugin placeholder that a plugin with name |plugin_name| 453 // Notifies a missing plugin placeholder that a plugin with name |plugin_name|
453 // has been found. 454 // has been found.
454 IPC_MESSAGE_ROUTED1(ChromeViewMsg_FoundMissingPlugin, 455 IPC_MESSAGE_ROUTED1(ChromeViewMsg_FoundMissingPlugin,
455 base::string16 /* plugin_name */) 456 base::string16 /* plugin_name */)
456 457
457 // Notifies a missing plugin placeholder that no plugin has been found. 458 // Notifies a missing plugin placeholder that no plugin has been found.
458 IPC_MESSAGE_ROUTED0(ChromeViewMsg_DidNotFindMissingPlugin) 459 IPC_MESSAGE_ROUTED0(ChromeViewMsg_DidNotFindMissingPlugin)
459 460
460 // Notifies a missing plugin placeholder that we have started downloading 461 // Notifies a missing plugin placeholder that we have started downloading
461 // the plugin. 462 // the plugin.
462 IPC_MESSAGE_ROUTED0(ChromeViewMsg_StartedDownloadingPlugin) 463 IPC_MESSAGE_ROUTED0(ChromeViewMsg_StartedDownloadingPlugin)
463 464
464 // Notifies a missing plugin placeholder that we have finished downloading 465 // Notifies a missing plugin placeholder that we have finished downloading
465 // the plugin. 466 // the plugin.
466 IPC_MESSAGE_ROUTED0(ChromeViewMsg_FinishedDownloadingPlugin) 467 IPC_MESSAGE_ROUTED0(ChromeViewMsg_FinishedDownloadingPlugin)
467 468
468 // Notifies a missing plugin placeholder that there was an error downloading 469 // Notifies a missing plugin placeholder that there was an error downloading
469 // the plugin. 470 // the plugin.
470 IPC_MESSAGE_ROUTED1(ChromeViewMsg_ErrorDownloadingPlugin, 471 IPC_MESSAGE_ROUTED1(ChromeViewMsg_ErrorDownloadingPlugin,
471 std::string /* message */) 472 std::string /* message */)
472 #endif // defined(ENABLE_PLUGIN_INSTALLATION) 473 #endif // BUILDFLAG(ENABLE_PLUGIN_INSTALLATION)
473 474
474 // Notifies a missing plugin placeholder that we have finished component- 475 // Notifies a missing plugin placeholder that we have finished component-
475 // updating the plug-in. 476 // updating the plug-in.
476 IPC_MESSAGE_ROUTED0(ChromeViewMsg_PluginComponentUpdateSuccess) 477 IPC_MESSAGE_ROUTED0(ChromeViewMsg_PluginComponentUpdateSuccess)
477 478
478 // Notifies a missing plugin placeholder that we have failed to component-update 479 // Notifies a missing plugin placeholder that we have failed to component-update
479 // the plug-in. 480 // the plug-in.
480 IPC_MESSAGE_ROUTED0(ChromeViewMsg_PluginComponentUpdateFailure) 481 IPC_MESSAGE_ROUTED0(ChromeViewMsg_PluginComponentUpdateFailure)
481 482
482 // Notifies a missing plugin placeholder that we have started the component 483 // Notifies a missing plugin placeholder that we have started the component
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 640
640 // Record a sample string to a Rappor metric. 641 // Record a sample string to a Rappor metric.
641 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor, 642 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor,
642 std::string /* metric */, 643 std::string /* metric */,
643 std::string /* sample */) 644 std::string /* sample */)
644 645
645 // Record a domain and registry of a url to a Rappor metric. 646 // Record a domain and registry of a url to a Rappor metric.
646 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL, 647 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL,
647 std::string /* metric */, 648 std::string /* metric */,
648 GURL /* sample url */) 649 GURL /* sample url */)
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chrome/common/url_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698