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

Side by Side Diff: content/common/view_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 | « content/browser/web_contents/web_contents_impl.cc ('k') | content/content.gyp » ('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 1401 matching lines...) Expand 10 before | Expand all | Expand 10 after
1412 // Send in response to a ViewMsg_UpdateScreenRects so that the renderer can 1412 // Send in response to a ViewMsg_UpdateScreenRects so that the renderer can
1413 // throttle these messages. 1413 // throttle these messages.
1414 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateScreenRects_ACK) 1414 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateScreenRects_ACK)
1415 1415
1416 // Sent by the renderer process to request that the browser move the view. 1416 // Sent by the renderer process to request that the browser move the view.
1417 // This corresponds to the window.resizeTo() and window.moveTo() APIs, and 1417 // This corresponds to the window.resizeTo() and window.moveTo() APIs, and
1418 // the browser may ignore this message. 1418 // the browser may ignore this message.
1419 IPC_MESSAGE_ROUTED1(ViewHostMsg_RequestMove, 1419 IPC_MESSAGE_ROUTED1(ViewHostMsg_RequestMove,
1420 gfx::Rect /* position */) 1420 gfx::Rect /* position */)
1421 1421
1422 // Sent by the renderer process to notify the browser that the web page has
1423 // programmatically scrolled.
1424 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidProgrammaticallyScroll,
1425 gfx::Vector2d /* scroll_point */)
1426
1422 // Notifies the browser that a frame in the view has changed. This message 1427 // Notifies the browser that a frame in the view has changed. This message
1423 // has a lot of parameters and is packed/unpacked by functions defined in 1428 // has a lot of parameters and is packed/unpacked by functions defined in
1424 // render_messages.h. 1429 // render_messages.h.
1425 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameNavigate, 1430 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameNavigate,
1426 ViewHostMsg_FrameNavigate_Params) 1431 ViewHostMsg_FrameNavigate_Params)
1427 1432
1428 // Used to tell the parent that the user right clicked on an area of the 1433 // Used to tell the parent that the user right clicked on an area of the
1429 // content area, and a context menu should be shown for it. The params 1434 // content area, and a context menu should be shown for it. The params
1430 // object contains information about the node(s) that were selected when the 1435 // object contains information about the node(s) that were selected when the
1431 // user right clicked. 1436 // user right clicked.
(...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after
2295 // Since the browser keeps handles to the allocated transport DIBs, this 2300 // Since the browser keeps handles to the allocated transport DIBs, this
2296 // message is sent to tell the browser that it may release them when the 2301 // message is sent to tell the browser that it may release them when the
2297 // renderer is finished with them. 2302 // renderer is finished with them.
2298 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, 2303 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB,
2299 TransportDIB::Id /* DIB id */) 2304 TransportDIB::Id /* DIB id */)
2300 #endif 2305 #endif
2301 2306
2302 // Adding a new message? Stick to the sort order above: first platform 2307 // Adding a new message? Stick to the sort order above: first platform
2303 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2308 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2304 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2309 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/content.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698