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

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

Issue 11967015: Hide location bar on WebKit programmatic scroll. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove semicolon from end of message declaration 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
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 1338 matching lines...) Expand 10 before | Expand all | Expand 10 after
1349 IPC_MESSAGE_ROUTED0(ViewMsg_UndoScrollFocusedEditableNodeIntoView) 1349 IPC_MESSAGE_ROUTED0(ViewMsg_UndoScrollFocusedEditableNodeIntoView)
1350 1350
1351 // This message relays the beginning or end of a batch event in the IME. 1351 // This message relays the beginning or end of a batch event in the IME.
1352 IPC_MESSAGE_ROUTED1(ViewMsg_ImeBatchStateChanged, 1352 IPC_MESSAGE_ROUTED1(ViewMsg_ImeBatchStateChanged,
1353 bool /* is_begin */) 1353 bool /* is_begin */)
1354 1354
1355 // Notifies the renderer whether hiding the top controls is enabled. 1355 // Notifies the renderer whether hiding the top controls is enabled.
1356 IPC_MESSAGE_ROUTED1(ViewMsg_EnableHidingTopControls, 1356 IPC_MESSAGE_ROUTED1(ViewMsg_EnableHidingTopControls,
1357 bool /* enable */) 1357 bool /* enable */)
1358 1358
1359 // Tells the renderer to show or hide the top controls.
1360 IPC_MESSAGE_ROUTED1(ViewMsg_ShowTopControls, bool /* show */)
1361
1359 IPC_MESSAGE_ROUTED0(ViewMsg_ShowImeIfNeeded) 1362 IPC_MESSAGE_ROUTED0(ViewMsg_ShowImeIfNeeded)
1360 1363
1361 #elif defined(OS_MACOSX) 1364 #elif defined(OS_MACOSX)
1362 // Let the RenderView know its window has changed visibility. 1365 // Let the RenderView know its window has changed visibility.
1363 IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility, 1366 IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility,
1364 bool /* visibile */) 1367 bool /* visibile */)
1365 1368
1366 // Let the RenderView know its window's frame has changed. 1369 // Let the RenderView know its window's frame has changed.
1367 IPC_MESSAGE_ROUTED2(ViewMsg_WindowFrameChanged, 1370 IPC_MESSAGE_ROUTED2(ViewMsg_WindowFrameChanged,
1368 gfx::Rect /* window frame */, 1371 gfx::Rect /* window frame */,
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
1491 // Send in response to a ViewMsg_UpdateScreenRects so that the renderer can 1494 // Send in response to a ViewMsg_UpdateScreenRects so that the renderer can
1492 // throttle these messages. 1495 // throttle these messages.
1493 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateScreenRects_ACK) 1496 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateScreenRects_ACK)
1494 1497
1495 // Sent by the renderer process to request that the browser move the view. 1498 // Sent by the renderer process to request that the browser move the view.
1496 // This corresponds to the window.resizeTo() and window.moveTo() APIs, and 1499 // This corresponds to the window.resizeTo() and window.moveTo() APIs, and
1497 // the browser may ignore this message. 1500 // the browser may ignore this message.
1498 IPC_MESSAGE_ROUTED1(ViewHostMsg_RequestMove, 1501 IPC_MESSAGE_ROUTED1(ViewHostMsg_RequestMove,
1499 gfx::Rect /* position */) 1502 gfx::Rect /* position */)
1500 1503
1504 // Sent by the renderer process to notify the browser that the web page has
1505 // programmatically scrolled.
1506 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidProgrammaticallyScroll,
1507 gfx::Point /* scroll point */)
1508
1501 // Notifies the browser that a frame in the view has changed. This message 1509 // Notifies the browser that a frame in the view has changed. This message
1502 // has a lot of parameters and is packed/unpacked by functions defined in 1510 // has a lot of parameters and is packed/unpacked by functions defined in
1503 // render_messages.h. 1511 // render_messages.h.
1504 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameNavigate, 1512 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameNavigate,
1505 ViewHostMsg_FrameNavigate_Params) 1513 ViewHostMsg_FrameNavigate_Params)
1506 1514
1507 // Used to tell the parent that the user right clicked on an area of the 1515 // Used to tell the parent that the user right clicked on an area of the
1508 // content area, and a context menu should be shown for it. The params 1516 // content area, and a context menu should be shown for it. The params
1509 // object contains information about the node(s) that were selected when the 1517 // object contains information about the node(s) that were selected when the
1510 // user right clicked. 1518 // user right clicked.
(...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after
2375 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 2383 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
2376 // for details. 2384 // for details.
2377 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 2385 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
2378 LOGFONT /* font_data */, 2386 LOGFONT /* font_data */,
2379 string16 /* characters */) 2387 string16 /* characters */)
2380 #endif 2388 #endif
2381 2389
2382 // Adding a new message? Stick to the sort order above: first platform 2390 // Adding a new message? Stick to the sort order above: first platform
2383 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2391 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2384 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2392 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698