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

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

Issue 14139013: Hide location bar on Javascript-initiated scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync, merge, address style nits. Created 7 years, 7 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 | « cc/trees/layer_tree_host.cc ('k') | chrome/renderer/chrome_render_view_observer.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 <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 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/process.h" 13 #include "base/process.h"
14 #include "base/shared_memory.h" 14 #include "base/shared_memory.h"
15 #include "base/string16.h" 15 #include "base/string16.h"
16 #include "base/stringprintf.h" 16 #include "base/stringprintf.h"
17 #include "base/values.h" 17 #include "base/values.h"
18 #include "build/build_config.h" 18 #include "build/build_config.h"
19 #include "chrome/common/common_param_traits.h" 19 #include "chrome/common/common_param_traits.h"
20 #include "chrome/common/content_settings.h" 20 #include "chrome/common/content_settings.h"
21 #include "chrome/common/content_settings_pattern.h" 21 #include "chrome/common/content_settings_pattern.h"
22 #include "chrome/common/instant_types.h" 22 #include "chrome/common/instant_types.h"
23 #include "chrome/common/nacl_types.h" 23 #include "chrome/common/nacl_types.h"
24 #include "chrome/common/omnibox_focus_state.h" 24 #include "chrome/common/omnibox_focus_state.h"
25 #include "chrome/common/search_provider.h" 25 #include "chrome/common/search_provider.h"
26 #include "chrome/common/search_types.h" 26 #include "chrome/common/search_types.h"
27 #include "chrome/common/translate_errors.h" 27 #include "chrome/common/translate_errors.h"
28 #include "content/public/common/common_param_traits.h" 28 #include "content/public/common/common_param_traits.h"
29 #include "content/public/common/top_controls_state.h"
29 #include "ipc/ipc_channel_handle.h" 30 #include "ipc/ipc_channel_handle.h"
30 #include "ipc/ipc_message_macros.h" 31 #include "ipc/ipc_message_macros.h"
31 #include "ipc/ipc_platform_file.h" 32 #include "ipc/ipc_platform_file.h"
32 #include "third_party/skia/include/core/SkBitmap.h" 33 #include "third_party/skia/include/core/SkBitmap.h"
33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" 34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h"
34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" 35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h"
35 #include "ui/base/window_open_disposition.h" 36 #include "ui/base/window_open_disposition.h"
36 #include "ui/gfx/rect.h" 37 #include "ui/gfx/rect.h"
37 38
38 // Singly-included section for enums and custom IPC traits. 39 // Singly-included section for enums and custom IPC traits.
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 IPC_ENUM_TRAITS(InstantCompleteBehavior) 120 IPC_ENUM_TRAITS(InstantCompleteBehavior)
120 IPC_ENUM_TRAITS(InstantSizeUnits) 121 IPC_ENUM_TRAITS(InstantSizeUnits)
121 IPC_ENUM_TRAITS(InstantSuggestionType) 122 IPC_ENUM_TRAITS(InstantSuggestionType)
122 IPC_ENUM_TRAITS(OmniboxFocusState) 123 IPC_ENUM_TRAITS(OmniboxFocusState)
123 IPC_ENUM_TRAITS(search_provider::OSDDType) 124 IPC_ENUM_TRAITS(search_provider::OSDDType)
124 IPC_ENUM_TRAITS(search_provider::InstallState) 125 IPC_ENUM_TRAITS(search_provider::InstallState)
125 IPC_ENUM_TRAITS(ThemeBackgroundImageAlignment) 126 IPC_ENUM_TRAITS(ThemeBackgroundImageAlignment)
126 IPC_ENUM_TRAITS(ThemeBackgroundImageTiling) 127 IPC_ENUM_TRAITS(ThemeBackgroundImageTiling)
127 IPC_ENUM_TRAITS(TranslateErrors::Type) 128 IPC_ENUM_TRAITS(TranslateErrors::Type)
128 IPC_ENUM_TRAITS(WebKit::WebConsoleMessage::Level) 129 IPC_ENUM_TRAITS(WebKit::WebConsoleMessage::Level)
130 IPC_ENUM_TRAITS(content::TopControlsState)
129 131
130 IPC_STRUCT_TRAITS_BEGIN(ChromeViewHostMsg_GetPluginInfo_Status) 132 IPC_STRUCT_TRAITS_BEGIN(ChromeViewHostMsg_GetPluginInfo_Status)
131 IPC_STRUCT_TRAITS_MEMBER(value) 133 IPC_STRUCT_TRAITS_MEMBER(value)
132 IPC_STRUCT_TRAITS_END() 134 IPC_STRUCT_TRAITS_END()
133 135
134 // Output parameters for ChromeViewHostMsg_GetPluginInfo message. 136 // Output parameters for ChromeViewHostMsg_GetPluginInfo message.
135 IPC_STRUCT_BEGIN(ChromeViewHostMsg_GetPluginInfo_Output) 137 IPC_STRUCT_BEGIN(ChromeViewHostMsg_GetPluginInfo_Output)
136 IPC_STRUCT_MEMBER(ChromeViewHostMsg_GetPluginInfo_Status, status) 138 IPC_STRUCT_MEMBER(ChromeViewHostMsg_GetPluginInfo_Status, status)
137 IPC_STRUCT_MEMBER(webkit::WebPluginInfo, plugin) 139 IPC_STRUCT_MEMBER(webkit::WebPluginInfo, plugin)
138 IPC_STRUCT_MEMBER(std::string, actual_mime_type) 140 IPC_STRUCT_MEMBER(std::string, actual_mime_type)
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 std::string /* host */) 405 std::string /* host */)
404 406
405 // Sent when the profile changes the kSafeBrowsingEnabled preference. 407 // Sent when the profile changes the kSafeBrowsingEnabled preference.
406 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetClientSidePhishingDetection, 408 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetClientSidePhishingDetection,
407 bool /* enable_phishing_detection */) 409 bool /* enable_phishing_detection */)
408 410
409 // This message asks frame sniffer start. 411 // This message asks frame sniffer start.
410 IPC_MESSAGE_ROUTED1(ChromeViewMsg_StartFrameSniffer, 412 IPC_MESSAGE_ROUTED1(ChromeViewMsg_StartFrameSniffer,
411 string16 /* frame-name */) 413 string16 /* frame-name */)
412 414
415 // Notifies the renderer whether hiding/showing the top controls is enabled,
416 // what the current state should be, and whether or not to animate to the
417 // proper state.
418 IPC_MESSAGE_ROUTED3(ChromeViewMsg_UpdateTopControlsState,
419 content::TopControlsState /* constraints */,
420 content::TopControlsState /* current */,
421 bool /* animate */)
422
413 // JavaScript related messages ----------------------------------------------- 423 // JavaScript related messages -----------------------------------------------
414 424
415 // Notify the JavaScript engine in the render to change its parameters 425 // Notify the JavaScript engine in the render to change its parameters
416 // while performing stress testing. 426 // while performing stress testing.
417 IPC_MESSAGE_ROUTED2(ChromeViewMsg_JavaScriptStressTestControl, 427 IPC_MESSAGE_ROUTED2(ChromeViewMsg_JavaScriptStressTestControl,
418 int /* cmd */, 428 int /* cmd */,
419 int /* param */) 429 int /* param */)
420 430
421 // Asks the renderer to send back FPS. 431 // Asks the renderer to send back FPS.
422 IPC_MESSAGE_ROUTED0(ChromeViewMsg_GetFPS) 432 IPC_MESSAGE_ROUTED0(ChromeViewMsg_GetFPS)
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
740 // previous SetCookie message to be processed. 750 // previous SetCookie message to be processed.
741 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, 751 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies,
742 GURL /* url */, 752 GURL /* url */,
743 GURL /* first_party_for_cookies */, 753 GURL /* first_party_for_cookies */,
744 std::string /* cookies */) 754 std::string /* cookies */)
745 755
746 // Provide the browser process with current renderer framerate. 756 // Provide the browser process with current renderer framerate.
747 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, 757 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS,
748 int /* routing id */, 758 int /* routing id */,
749 float /* frames per second */) 759 float /* frames per second */)
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | chrome/renderer/chrome_render_view_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698