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

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

Issue 306803002: Revert of Chromium plumbing to use the selection root bounds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 6 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/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 1380 matching lines...) Expand 10 before | Expand all | Expand 10 after
1391 // text in the document. 1391 // text in the document.
1392 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, 1392 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged,
1393 base::string16 /* text covers the selection range */, 1393 base::string16 /* text covers the selection range */,
1394 size_t /* the offset of the text in the document */, 1394 size_t /* the offset of the text in the document */,
1395 gfx::Range /* selection range in the document */) 1395 gfx::Range /* selection range in the document */)
1396 1396
1397 // Notification that the selection bounds have changed. 1397 // Notification that the selection bounds have changed.
1398 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionBoundsChanged, 1398 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionBoundsChanged,
1399 ViewHostMsg_SelectionBounds_Params) 1399 ViewHostMsg_SelectionBounds_Params)
1400 1400
1401 #if defined(OS_ANDROID)
1402 // Notification that the selection root bounds have changed.
1403 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionRootBoundsChanged,
1404 gfx::Rect /* bounds of the selection root */)
1405 #endif
1406
1407 // Asks the browser to display the file chooser. The result is returned in a 1401 // Asks the browser to display the file chooser. The result is returned in a
1408 // ViewMsg_RunFileChooserResponse message. 1402 // ViewMsg_RunFileChooserResponse message.
1409 IPC_MESSAGE_ROUTED1(ViewHostMsg_RunFileChooser, 1403 IPC_MESSAGE_ROUTED1(ViewHostMsg_RunFileChooser,
1410 content::FileChooserParams) 1404 content::FileChooserParams)
1411 1405
1412 // Asks the browser to enumerate a directory. This is equivalent to running 1406 // Asks the browser to enumerate a directory. This is equivalent to running
1413 // the file chooser in directory-enumeration mode and having the user select 1407 // the file chooser in directory-enumeration mode and having the user select
1414 // the given directory. The result is returned in a 1408 // the given directory. The result is returned in a
1415 // ViewMsg_EnumerateDirectoryResponse message. 1409 // ViewMsg_EnumerateDirectoryResponse message.
1416 IPC_MESSAGE_ROUTED2(ViewHostMsg_EnumerateDirectory, 1410 IPC_MESSAGE_ROUTED2(ViewHostMsg_EnumerateDirectory,
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
1733 // synchronously (see crbug.com/120597). This IPC message sends the character 1727 // synchronously (see crbug.com/120597). This IPC message sends the character
1734 // bounds after every composition change to always have correct bound info. 1728 // bounds after every composition change to always have correct bound info.
1735 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 1729 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
1736 gfx::Range /* composition range */, 1730 gfx::Range /* composition range */,
1737 std::vector<gfx::Rect> /* character bounds */) 1731 std::vector<gfx::Rect> /* character bounds */)
1738 #endif 1732 #endif
1739 1733
1740 // Adding a new message? Stick to the sort order above: first platform 1734 // Adding a new message? Stick to the sort order above: first platform
1741 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1735 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1742 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1736 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_base.h ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698