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

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

Issue 22986033: [Android WebView] Add an API to toggle the JS navigator.online property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Really improve the test Created 7 years, 3 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
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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 // Sets the base background color for this view. 70 // Sets the base background color for this view.
71 IPC_MESSAGE_ROUTED1(AwViewMsg_SetBackgroundColor, 71 IPC_MESSAGE_ROUTED1(AwViewMsg_SetBackgroundColor,
72 SkColor); 72 SkColor);
73 73
74 IPC_MESSAGE_CONTROL1(AwViewMsg_SetJsOnlineProperty,
75 bool /* network_up */)
76
74 //----------------------------------------------------------------------------- 77 //-----------------------------------------------------------------------------
75 // RenderView messages 78 // RenderView messages
76 // These are messages sent from the renderer to the browser process. 79 // These are messages sent from the renderer to the browser process.
77 80
78 // Response to AwViewMsg_DocumentHasImages request. 81 // Response to AwViewMsg_DocumentHasImages request.
79 IPC_MESSAGE_ROUTED2(AwViewHostMsg_DocumentHasImagesResponse, 82 IPC_MESSAGE_ROUTED2(AwViewHostMsg_DocumentHasImagesResponse,
80 int, /* id */ 83 int, /* id */
81 bool /* has_images */) 84 bool /* has_images */)
82 85
83 // Response to AwViewMsg_DoHitTest. 86 // Response to AwViewMsg_DoHitTest.
84 IPC_MESSAGE_ROUTED1(AwViewHostMsg_UpdateHitTestData, 87 IPC_MESSAGE_ROUTED1(AwViewHostMsg_UpdateHitTestData,
85 android_webview::AwHitTestData) 88 android_webview::AwHitTestData)
86 89
87 // Sent whenever the page scale factor (as seen by RenderView) is changed. 90 // Sent whenever the page scale factor (as seen by RenderView) is changed.
88 IPC_MESSAGE_ROUTED1(AwViewHostMsg_PageScaleFactorChanged, 91 IPC_MESSAGE_ROUTED1(AwViewHostMsg_PageScaleFactorChanged,
89 float /* page_scale_factor */) 92 float /* page_scale_factor */)
90
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698