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

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

Issue 260623004: Fix to remove customised String over IPC for SmartClip (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changed definition of OnSmartClipDataExtracted in cc file 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 1645 matching lines...) Expand 10 before | Expand all | Expand 10 after
1656 base::FileDescriptor /* pcm_output */, 1656 base::FileDescriptor /* pcm_output */,
1657 uint32_t /* data_size*/) 1657 uint32_t /* data_size*/)
1658 1658
1659 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming 1659 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming
1660 // display events. If |enabled| is true, the BeginFrame message will continue 1660 // display events. If |enabled| is true, the BeginFrame message will continue
1661 // to be be delivered until the notification is disabled. 1661 // to be be delivered until the notification is disabled.
1662 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrame, 1662 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrame,
1663 bool /* enabled */) 1663 bool /* enabled */)
1664 1664
1665 // Reply to the ViewMsg_ExtractSmartClipData message. 1665 // Reply to the ViewMsg_ExtractSmartClipData message.
1666 // TODO(juhui24.lee@samsung.com): this should be changed to a vector of structs 1666 IPC_MESSAGE_ROUTED2(ViewHostMsg_SmartClipDataExtracted,
1667 // instead of encoding the data as a string which is not allowed normally. Since 1667 base::string16 /* result */,
1668 // ths is only used in Android WebView, it's allowed temporarily. 1668 gfx::Rect /* rect */)
1669 // http://crbug.com/330872
1670 IPC_MESSAGE_ROUTED1(ViewHostMsg_SmartClipDataExtracted, base::string16)
1671 1669
1672 #elif defined(OS_MACOSX) 1670 #elif defined(OS_MACOSX)
1673 // Request that the browser load a font into shared memory for us. 1671 // Request that the browser load a font into shared memory for us.
1674 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont, 1672 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont,
1675 FontDescriptor /* font to load */, 1673 FontDescriptor /* font to load */,
1676 uint32 /* buffer size */, 1674 uint32 /* buffer size */,
1677 base::SharedMemoryHandle /* font data */, 1675 base::SharedMemoryHandle /* font data */,
1678 uint32 /* font id */) 1676 uint32 /* font id */)
1679 1677
1680 // Informs the browser that a plugin has gained or lost focus. 1678 // Informs the browser that a plugin has gained or lost focus.
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
1720 // synchronously (see crbug.com/120597). This IPC message sends the character 1718 // synchronously (see crbug.com/120597). This IPC message sends the character
1721 // bounds after every composition change to always have correct bound info. 1719 // bounds after every composition change to always have correct bound info.
1722 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 1720 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
1723 gfx::Range /* composition range */, 1721 gfx::Range /* composition range */,
1724 std::vector<gfx::Rect> /* character bounds */) 1722 std::vector<gfx::Rect> /* character bounds */)
1725 #endif 1723 #endif
1726 1724
1727 // Adding a new message? Stick to the sort order above: first platform 1725 // Adding a new message? Stick to the sort order above: first platform
1728 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1726 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1729 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1727 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698