| Index: chrome/common/render_messages.h
|
| diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
|
| index 2758407b2c2c1da090f874bbce94c15676063522..fd0d4ef8ce999c76f96b101ccd084af1bdef2f41 100644
|
| --- a/chrome/common/render_messages.h
|
| +++ b/chrome/common/render_messages.h
|
| @@ -16,6 +16,7 @@
|
| #include "base/stringprintf.h"
|
| #include "base/values.h"
|
| #include "build/build_config.h"
|
| +#include "cc/input/top_controls_state.h"
|
| #include "chrome/common/common_param_traits.h"
|
| #include "chrome/common/content_settings.h"
|
| #include "chrome/common/content_settings_pattern.h"
|
| @@ -126,6 +127,7 @@ IPC_ENUM_TRAITS(ThemeBackgroundImageAlignment)
|
| IPC_ENUM_TRAITS(ThemeBackgroundImageTiling)
|
| IPC_ENUM_TRAITS(TranslateErrors::Type)
|
| IPC_ENUM_TRAITS(WebKit::WebConsoleMessage::Level)
|
| +IPC_ENUM_TRAITS(cc::TopControlsState)
|
|
|
| IPC_STRUCT_TRAITS_BEGIN(ChromeViewHostMsg_GetPluginInfo_Status)
|
| IPC_STRUCT_TRAITS_MEMBER(value)
|
| @@ -410,6 +412,14 @@ IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetClientSidePhishingDetection,
|
| IPC_MESSAGE_ROUTED1(ChromeViewMsg_StartFrameSniffer,
|
| string16 /* frame-name */)
|
|
|
| +// Notifies the renderer whether hiding/showing the top controls is enabled,
|
| +// what the current state should be, and whether or not to animate to the
|
| +// proper state.
|
| +IPC_MESSAGE_ROUTED3(ChromeViewMsg_UpdateTopControlsState,
|
| + cc::TopControlsState /* constraints */,
|
| + cc::TopControlsState /* current */,
|
| + bool /* animate */)
|
| +
|
| // JavaScript related messages -----------------------------------------------
|
|
|
| // Notify the JavaScript engine in the render to change its parameters
|
|
|