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

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 and merge. 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
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 861 matching lines...) Expand 10 before | Expand all | Expand 10 after
2293 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 2298 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
2294 // for details. 2299 // for details.
2295 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 2300 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
2296 LOGFONT /* font_data */, 2301 LOGFONT /* font_data */,
2297 string16 /* characters */) 2302 string16 /* characters */)
2298 #endif 2303 #endif
2299 2304
2300 // Adding a new message? Stick to the sort order above: first platform 2305 // Adding a new message? Stick to the sort order above: first platform
2301 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2306 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2302 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2307 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698