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

Side by Side Diff: android_webview/common/render_view_messages.h

Issue 418883002: Simplify wrap_contents mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix findbugs Created 6 years, 4 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 | Annotate | Revision Log
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 "android_webview/common/aw_hit_test_data.h" 6 #include "android_webview/common/aw_hit_test_data.h"
7 #include "content/public/common/common_param_traits.h" 7 #include "content/public/common/common_param_traits.h"
8 #include "ipc/ipc_channel_handle.h" 8 #include "ipc/ipc_channel_handle.h"
9 #include "ipc/ipc_message_macros.h" 9 #include "ipc/ipc_message_macros.h"
10 #include "ipc/ipc_platform_file.h" 10 #include "ipc/ipc_platform_file.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // Resets WebKit WebView scrolling and scale state. We need to send this 60 // Resets WebKit WebView scrolling and scale state. We need to send this
61 // message whenever we want to guarantee that page's scale will be 61 // message whenever we want to guarantee that page's scale will be
62 // recalculated by WebKit. 62 // recalculated by WebKit.
63 IPC_MESSAGE_ROUTED0(AwViewMsg_ResetScrollAndScaleState) 63 IPC_MESSAGE_ROUTED0(AwViewMsg_ResetScrollAndScaleState)
64 64
65 // Sets the initial page scale. This overrides initial scale set by 65 // Sets the initial page scale. This overrides initial scale set by
66 // the meta viewport tag. 66 // the meta viewport tag.
67 IPC_MESSAGE_ROUTED1(AwViewMsg_SetInitialPageScale, 67 IPC_MESSAGE_ROUTED1(AwViewMsg_SetInitialPageScale,
68 double /* page_scale_factor */) 68 double /* page_scale_factor */)
69 69
70 // Makes the blink::WebView use the given size for layout regardless of what
71 // the size of the RenderWidget or viewport settings are.
72 IPC_MESSAGE_ROUTED1(AwViewMsg_SetFixedLayoutSize,
73 gfx::Size /* size */)
74
75 // Sets the base background color for this view. 70 // Sets the base background color for this view.
76 IPC_MESSAGE_ROUTED1(AwViewMsg_SetBackgroundColor, 71 IPC_MESSAGE_ROUTED1(AwViewMsg_SetBackgroundColor,
77 SkColor) 72 SkColor)
78 73
79 IPC_MESSAGE_CONTROL1(AwViewMsg_SetJsOnlineProperty, 74 IPC_MESSAGE_CONTROL1(AwViewMsg_SetJsOnlineProperty,
80 bool /* network_up */) 75 bool /* network_up */)
81 76
82 // Sent prior to making a navigation via loadUrl to make sure that 77 // Sent prior to making a navigation via loadUrl to make sure that
83 // render thread isn't stuck in a loop induced by JavaScript code. 78 // render thread isn't stuck in a loop induced by JavaScript code.
84 IPC_MESSAGE_CONTROL0(AwViewMsg_CheckRenderThreadResponsiveness) 79 IPC_MESSAGE_CONTROL0(AwViewMsg_CheckRenderThreadResponsiveness)
(...skipping 27 matching lines...) Expand all
112 // or creating a URLRequest for the main frame resource. 107 // or creating a URLRequest for the main frame resource.
113 IPC_SYNC_MESSAGE_CONTROL2_1(AwViewHostMsg_ShouldOverrideUrlLoading, 108 IPC_SYNC_MESSAGE_CONTROL2_1(AwViewHostMsg_ShouldOverrideUrlLoading,
114 int /* render_frame_id id */, 109 int /* render_frame_id id */,
115 base::string16 /* in - url */, 110 base::string16 /* in - url */,
116 bool /* out - result */) 111 bool /* out - result */)
117 112
118 // Sent when a subframe is created. 113 // Sent when a subframe is created.
119 IPC_MESSAGE_CONTROL2(AwViewHostMsg_SubFrameCreated, 114 IPC_MESSAGE_CONTROL2(AwViewHostMsg_SubFrameCreated,
120 int /* parent_render_frame_id */, 115 int /* parent_render_frame_id */,
121 int /* child_render_frame_id */) 116 int /* child_render_frame_id */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698