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

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

Issue 267563003: Allow browser process to request selection of word around caret (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/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 980 matching lines...) Expand 10 before | Expand all | Expand 10 after
991 IPC_MESSAGE_ROUTED2(ViewMsg_SwapCompositorFrameAck, 991 IPC_MESSAGE_ROUTED2(ViewMsg_SwapCompositorFrameAck,
992 uint32 /* output_surface_id */, 992 uint32 /* output_surface_id */,
993 cc::CompositorFrameAck /* ack */) 993 cc::CompositorFrameAck /* ack */)
994 994
995 // Sent by browser to tell renderer compositor that some resources that were 995 // Sent by browser to tell renderer compositor that some resources that were
996 // given to the browser in a swap are not being used anymore. 996 // given to the browser in a swap are not being used anymore.
997 IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources, 997 IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources,
998 uint32 /* output_surface_id */, 998 uint32 /* output_surface_id */,
999 cc::CompositorFrameAck /* ack */) 999 cc::CompositorFrameAck /* ack */)
1000 1000
1001 IPC_MESSAGE_ROUTED0(ViewMsg_SelectForSearch)
pedro (no code reviews) 2014/04/30 22:07:08 Nit: I would call this TapToSelect, since from thi
1002
1001 // ----------------------------------------------------------------------------- 1003 // -----------------------------------------------------------------------------
1002 // Messages sent from the renderer to the browser. 1004 // Messages sent from the renderer to the browser.
1003 1005
1004 // Sent by the renderer when it is creating a new window. The browser creates 1006 // Sent by the renderer when it is creating a new window. The browser creates
1005 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is 1007 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is
1006 // MSG_ROUTING_NONE, the view couldn't be created. 1008 // MSG_ROUTING_NONE, the view couldn't be created.
1007 IPC_SYNC_MESSAGE_CONTROL1_4(ViewHostMsg_CreateWindow, 1009 IPC_SYNC_MESSAGE_CONTROL1_4(ViewHostMsg_CreateWindow,
1008 ViewHostMsg_CreateWindow_Params, 1010 ViewHostMsg_CreateWindow_Params,
1009 int /* route_id */, 1011 int /* route_id */,
1010 int /* main_frame_route_id */, 1012 int /* main_frame_route_id */,
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after
1800 // synchronously (see crbug.com/120597). This IPC message sends the character 1802 // synchronously (see crbug.com/120597). This IPC message sends the character
1801 // bounds after every composition change to always have correct bound info. 1803 // bounds after every composition change to always have correct bound info.
1802 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 1804 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
1803 gfx::Range /* composition range */, 1805 gfx::Range /* composition range */,
1804 std::vector<gfx::Rect> /* character bounds */) 1806 std::vector<gfx::Rect> /* character bounds */)
1805 #endif 1807 #endif
1806 1808
1807 // Adding a new message? Stick to the sort order above: first platform 1809 // Adding a new message? Stick to the sort order above: first platform
1808 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1810 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1809 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1811 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698