| OLD | NEW | 
|    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/search/instant_types.h" |   14 #include "chrome/common/search/instant_types.h" | 
|   15 #include "chrome/common/search/ntp_logging_events.h" |   15 #include "chrome/common/search/ntp_logging_events.h" | 
|   16 #include "chrome/common/web_application_info.h" |   16 #include "chrome/common/web_application_info.h" | 
|   17 #include "components/content_settings/core/common/content_settings.h" |   17 #include "components/content_settings/core/common/content_settings.h" | 
|   18 #include "components/content_settings/core/common/content_settings_pattern.h" |   18 #include "components/content_settings/core/common/content_settings_pattern.h" | 
|   19 #include "components/content_settings/core/common/content_settings_types.h" |   19 #include "components/content_settings/core/common/content_settings_types.h" | 
|   20 #include "components/omnibox/common/omnibox_focus_state.h" |   20 #include "components/omnibox/common/omnibox_focus_state.h" | 
|   21 #include "content/public/common/top_controls_state.h" |   21 #include "content/public/common/top_controls_state.h" | 
|   22 #include "content/public/common/webplugininfo.h" |   22 #include "content/public/common/webplugininfo.h" | 
|   23 #include "ipc/ipc_channel_handle.h" |   23 #include "ipc/ipc_channel_handle.h" | 
|   24 #include "ipc/ipc_message_macros.h" |   24 #include "ipc/ipc_message_macros.h" | 
|   25 #include "ipc/ipc_platform_file.h" |   25 #include "ipc/ipc_platform_file.h" | 
 |   26 #include "ppapi/features/features.h" | 
|   26 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerProm
     ptReply.h" |   27 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerProm
     ptReply.h" | 
|   27 #include "third_party/WebKit/public/web/WebConsoleMessage.h" |   28 #include "third_party/WebKit/public/web/WebConsoleMessage.h" | 
|   28 #include "third_party/WebKit/public/web/WebWindowFeatures.h" |   29 #include "third_party/WebKit/public/web/WebWindowFeatures.h" | 
|   29 #include "ui/base/window_open_disposition.h" |   30 #include "ui/base/window_open_disposition.h" | 
|   30 #include "url/gurl.h" |   31 #include "url/gurl.h" | 
|   31 #include "url/ipc/url_param_traits.h" |   32 #include "url/ipc/url_param_traits.h" | 
|   32 #include "url/origin.h" |   33 #include "url/origin.h" | 
|   33  |   34  | 
|   34 // Singly-included section for enums and custom IPC traits. |   35 // Singly-included section for enums and custom IPC traits. | 
|   35 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_ |   36 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_ | 
| (...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  422 // In contrast to ViewHostMsg_GetPluginInfo in content/, this IPC call knows |  423 // In contrast to ViewHostMsg_GetPluginInfo in content/, this IPC call knows | 
|  423 // about specific reasons why a plugin can't be used, for example because it's |  424 // about specific reasons why a plugin can't be used, for example because it's | 
|  424 // disabled. |  425 // disabled. | 
|  425 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_GetPluginInfo, |  426 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_GetPluginInfo, | 
|  426                             int /* render_frame_id */, |  427                             int /* render_frame_id */, | 
|  427                             GURL /* url */, |  428                             GURL /* url */, | 
|  428                             url::Origin /* main_frame_origin */, |  429                             url::Origin /* main_frame_origin */, | 
|  429                             std::string /* mime_type */, |  430                             std::string /* mime_type */, | 
|  430                             ChromeViewHostMsg_GetPluginInfo_Output /* output */) |  431                             ChromeViewHostMsg_GetPluginInfo_Output /* output */) | 
|  431  |  432  | 
|  432 #if defined(ENABLE_PEPPER_CDMS) |  433 #if BUILDFLAG(ENABLE_PEPPER_CDMS) | 
|  433 // Returns whether any internal plugin supporting |mime_type| is registered and |  434 // Returns whether any internal plugin supporting |mime_type| is registered and | 
|  434 // enabled. Does not determine whether the plugin can actually be instantiated |  435 // enabled. Does not determine whether the plugin can actually be instantiated | 
|  435 // (e.g. whether it has all its dependencies). |  436 // (e.g. whether it has all its dependencies). | 
|  436 // When the returned *|is_available| is true, |additional_param_names| and |  437 // When the returned *|is_available| is true, |additional_param_names| and | 
|  437 // |additional_param_values| contain the name-value pairs, if any, specified |  438 // |additional_param_values| contain the name-value pairs, if any, specified | 
|  438 // for the *first* non-disabled plugin found that is registered for |mime_type|. |  439 // for the *first* non-disabled plugin found that is registered for |mime_type|. | 
|  439 IPC_SYNC_MESSAGE_CONTROL1_3( |  440 IPC_SYNC_MESSAGE_CONTROL1_3( | 
|  440     ChromeViewHostMsg_IsInternalPluginAvailableForMimeType, |  441     ChromeViewHostMsg_IsInternalPluginAvailableForMimeType, | 
|  441     std::string /* mime_type */, |  442     std::string /* mime_type */, | 
|  442     bool /* is_available */, |  443     bool /* is_available */, | 
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  640  |  641  | 
|  641 // Record a sample string to a Rappor metric. |  642 // Record a sample string to a Rappor metric. | 
|  642 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor, |  643 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor, | 
|  643                      std::string /* metric */, |  644                      std::string /* metric */, | 
|  644                      std::string /* sample */) |  645                      std::string /* sample */) | 
|  645  |  646  | 
|  646 // Record a domain and registry of a url to a Rappor metric. |  647 // Record a domain and registry of a url to a Rappor metric. | 
|  647 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL, |  648 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL, | 
|  648                      std::string /* metric */, |  649                      std::string /* metric */, | 
|  649                      GURL /* sample url */) |  650                      GURL /* sample url */) | 
| OLD | NEW |