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

Side by Side Diff: content/common/view_messages.h

Issue 13846007: Allow showing pending URL for new tab navigations, but only if safe. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/renderer/render_view_impl.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 // IPC messages for page rendering. 5 // IPC messages for page rendering.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
(...skipping 2208 matching lines...) Expand 10 before | Expand all | Expand 10 after
2219 IPC_MESSAGE_ROUTED3(ViewHostMsg_LockMouse, 2219 IPC_MESSAGE_ROUTED3(ViewHostMsg_LockMouse,
2220 bool /* user_gesture */, 2220 bool /* user_gesture */,
2221 bool /* last_unlocked_by_target */, 2221 bool /* last_unlocked_by_target */,
2222 bool /* privileged */) 2222 bool /* privileged */)
2223 2223
2224 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent 2224 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent
2225 // whenever the mouse is unlocked (which may or may not be caused by 2225 // whenever the mouse is unlocked (which may or may not be caused by
2226 // ViewHostMsg_UnlockMouse). 2226 // ViewHostMsg_UnlockMouse).
2227 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) 2227 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse)
2228 2228
2229 // Notifies that the initial empty document of a view has been accessed.
2230 // After this, it is no longer safe to show a pending navigation's URL without
2231 // making a URL spoof possible.
2232 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidAccessInitialDocument)
2233
2229 // Following message is used to communicate the values received by the 2234 // Following message is used to communicate the values received by the
2230 // callback binding the JS to Cpp. 2235 // callback binding the JS to Cpp.
2231 // An instance of browser that has an automation host listening to it can 2236 // An instance of browser that has an automation host listening to it can
2232 // have a javascript send a native value (string, number, boolean) to the 2237 // have a javascript send a native value (string, number, boolean) to the
2233 // listener in Cpp. (DomAutomationController) 2238 // listener in Cpp. (DomAutomationController)
2234 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, 2239 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse,
2235 std::string /* json_string */, 2240 std::string /* json_string */,
2236 int /* automation_id */) 2241 int /* automation_id */)
2237 2242
2238 // Sent to the browser when the renderer detects it is blocked on a pepper 2243 // Sent to the browser when the renderer detects it is blocked on a pepper
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
2402 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 2407 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
2403 // for details. 2408 // for details.
2404 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 2409 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
2405 LOGFONT /* font_data */, 2410 LOGFONT /* font_data */,
2406 string16 /* characters */) 2411 string16 /* characters */)
2407 #endif 2412 #endif
2408 2413
2409 // Adding a new message? Stick to the sort order above: first platform 2414 // Adding a new message? Stick to the sort order above: first platform
2410 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2415 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2411 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2416 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698