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

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

Issue 63203003: Have Blink be told of scrollbar changes rather than paying attention itself (Chromium side). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: WebKit:: -> blink:: Created 7 years, 1 month 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/theme_helper_mac.mm ('k') | content/content_browser.gypi » ('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/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "base/process/process.h" 9 #include "base/process/process.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 1272 matching lines...) Expand 10 before | Expand all | Expand 10 after
1283 // process to release the magnified image. 1283 // process to release the magnified image.
1284 IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupDIB, 1284 IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupDIB,
1285 TransportDIB::Handle /* DIB handle */) 1285 TransportDIB::Handle /* DIB handle */)
1286 1286
1287 // Notifies the renderer that a snapshot has been retrieved. 1287 // Notifies the renderer that a snapshot has been retrieved.
1288 IPC_MESSAGE_ROUTED3(ViewMsg_WindowSnapshotCompleted, 1288 IPC_MESSAGE_ROUTED3(ViewMsg_WindowSnapshotCompleted,
1289 int /* snapshot_id */, 1289 int /* snapshot_id */,
1290 gfx::Size /* size */, 1290 gfx::Size /* size */,
1291 std::vector<unsigned char> /* png */) 1291 std::vector<unsigned char> /* png */)
1292 1292
1293 #if defined(OS_MACOSX)
1294 // Notification of a change in scrollbar appearance and/or behavior.
1295 IPC_MESSAGE_CONTROL4(ViewMsg_UpdateScrollbarTheme,
1296 float /* initial_button_delay */,
1297 float /* autoscroll_button_delay */,
1298 bool /* jump_on_track_click */,
1299 bool /* redraw */)
1300 #endif
1301
1302 #if defined(OS_ANDROID)
1293 // Tells the renderer to suspend/resume the webkit timers. 1303 // Tells the renderer to suspend/resume the webkit timers.
1294 IPC_MESSAGE_CONTROL1(ViewMsg_SetWebKitSharedTimersSuspended, 1304 IPC_MESSAGE_CONTROL1(ViewMsg_SetWebKitSharedTimersSuspended,
1295 bool /* suspend */) 1305 bool /* suspend */)
1296 1306
1297 #if defined(OS_ANDROID)
1298 // Sent when the browser wants the bounding boxes of the current find matches. 1307 // Sent when the browser wants the bounding boxes of the current find matches.
1299 // 1308 //
1300 // If match rects are already cached on the browser side, |current_version| 1309 // If match rects are already cached on the browser side, |current_version|
1301 // should be the version number from the ViewHostMsg_FindMatchRects_Reply 1310 // should be the version number from the ViewHostMsg_FindMatchRects_Reply
1302 // they came in, so the renderer can tell if it needs to send updated rects. 1311 // they came in, so the renderer can tell if it needs to send updated rects.
1303 // Otherwise just pass -1 to always receive the list of rects. 1312 // Otherwise just pass -1 to always receive the list of rects.
1304 // 1313 //
1305 // There must be an active search string (it is probably most useful to call 1314 // There must be an active search string (it is probably most useful to call
1306 // this immediately after a ViewHostMsg_Find_Reply message arrives with 1315 // this immediately after a ViewHostMsg_Find_Reply message arrives with
1307 // final_update set to true). 1316 // final_update set to true).
(...skipping 1062 matching lines...) Expand 10 before | Expand all | Expand 10 after
2370 // synchronously (see crbug.com/120597). This IPC message sends the character 2379 // synchronously (see crbug.com/120597). This IPC message sends the character
2371 // bounds after every composition change to always have correct bound info. 2380 // bounds after every composition change to always have correct bound info.
2372 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 2381 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
2373 gfx::Range /* composition range */, 2382 gfx::Range /* composition range */,
2374 std::vector<gfx::Rect> /* character bounds */) 2383 std::vector<gfx::Rect> /* character bounds */)
2375 #endif 2384 #endif
2376 2385
2377 // Adding a new message? Stick to the sort order above: first platform 2386 // Adding a new message? Stick to the sort order above: first platform
2378 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2387 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2379 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2388 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/theme_helper_mac.mm ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698