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

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

Issue 186753002: Chromium plumbing to use the selection root bounds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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 1568 matching lines...) Expand 10 before | Expand all | Expand 10 after
1579 // text in the document. 1579 // text in the document.
1580 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, 1580 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged,
1581 base::string16 /* text covers the selection range */, 1581 base::string16 /* text covers the selection range */,
1582 size_t /* the offset of the text in the document */, 1582 size_t /* the offset of the text in the document */,
1583 gfx::Range /* selection range in the document */) 1583 gfx::Range /* selection range in the document */)
1584 1584
1585 // Notification that the selection bounds have changed. 1585 // Notification that the selection bounds have changed.
1586 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionBoundsChanged, 1586 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionBoundsChanged,
1587 ViewHostMsg_SelectionBounds_Params) 1587 ViewHostMsg_SelectionBounds_Params)
1588 1588
1589 #if defined(OS_ANDROID)
1590 // Notification that the selection root bounds have changed.
1591 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionRootBoundsChanged,
1592 gfx::Rect /* bounds of the selection root */)
1593 #endif
1594
1589 // Asks the browser to open the color chooser. 1595 // Asks the browser to open the color chooser.
1590 IPC_MESSAGE_ROUTED3(ViewHostMsg_OpenColorChooser, 1596 IPC_MESSAGE_ROUTED3(ViewHostMsg_OpenColorChooser,
1591 int /* id */, 1597 int /* id */,
1592 SkColor /* color */, 1598 SkColor /* color */,
1593 std::vector<content::ColorSuggestion> /* suggestions */) 1599 std::vector<content::ColorSuggestion> /* suggestions */)
1594 1600
1595 // Asks the browser to end the color chooser. 1601 // Asks the browser to end the color chooser.
1596 IPC_MESSAGE_ROUTED1(ViewHostMsg_EndColorChooser, int /* id */) 1602 IPC_MESSAGE_ROUTED1(ViewHostMsg_EndColorChooser, int /* id */)
1597 1603
1598 // Change the selected color in the color chooser. 1604 // Change the selected color in the color chooser.
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
1968 // synchronously (see crbug.com/120597). This IPC message sends the character 1974 // synchronously (see crbug.com/120597). This IPC message sends the character
1969 // bounds after every composition change to always have correct bound info. 1975 // bounds after every composition change to always have correct bound info.
1970 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 1976 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
1971 gfx::Range /* composition range */, 1977 gfx::Range /* composition range */,
1972 std::vector<gfx::Rect> /* character bounds */) 1978 std::vector<gfx::Rect> /* character bounds */)
1973 #endif 1979 #endif
1974 1980
1975 // Adding a new message? Stick to the sort order above: first platform 1981 // Adding a new message? Stick to the sort order above: first platform
1976 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1982 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1977 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1983 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_android.cc ('k') | content/port/browser/render_widget_host_view_port.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698