2015-12-16 10:06:38 +00:00
|
|
|
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
|
|
|
// Multiply-included message file, hence no include guard.
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
#include "ipc/ipc_message_macros.h"
|
2017-01-24 05:31:45 +00:00
|
|
|
#include "ppapi/features/features.h"
|
2015-12-16 10:06:38 +00:00
|
|
|
|
|
|
|
#define IPC_MESSAGE_START ChromeMsgStart
|
|
|
|
|
|
|
|
// Renderer -> Browser messages.
|
|
|
|
|
2017-01-23 06:51:23 +00:00
|
|
|
#if BUILDFLAG(ENABLE_PEPPER_CDMS)
|
2015-12-16 10:06:38 +00:00
|
|
|
// Returns whether any internal plugin supporting |mime_type| is registered and
|
|
|
|
// enabled. Does not determine whether the plugin can actually be instantiated
|
|
|
|
// (e.g. whether it has all its dependencies).
|
|
|
|
// When the returned *|is_available| is true, |additional_param_names| and
|
|
|
|
// |additional_param_values| contain the name-value pairs, if any, specified
|
|
|
|
// for the *first* non-disabled plugin found that is registered for |mime_type|.
|
|
|
|
IPC_SYNC_MESSAGE_CONTROL1_3(
|
|
|
|
ChromeViewHostMsg_IsInternalPluginAvailableForMimeType,
|
|
|
|
std::string /* mime_type */,
|
|
|
|
bool /* is_available */,
|
|
|
|
std::vector<base::string16> /* additional_param_names */,
|
|
|
|
std::vector<base::string16> /* additional_param_values */)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// Browser -> Renderer messages.
|