summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-12 16:45:32 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-12 16:45:32 +0000
commit86a7d3ca7f467269213f8ce08ab138bbed5326f2 (patch)
treeeae0402b5fc2109882d1596387febab0418d5bc5 /chrome/common
parentae1db5c0ef02b23f7e670eee09b2d06ec978a364 (diff)
downloadchromium_src-86a7d3ca7f467269213f8ce08ab138bbed5326f2.zip
chromium_src-86a7d3ca7f467269213f8ce08ab138bbed5326f2.tar.gz
chromium_src-86a7d3ca7f467269213f8ce08ab138bbed5326f2.tar.bz2
Move TextInputClient from chrome to content.
BUG=95573 TEST=dictionary popup still works Review URL: http://codereview.chromium.org/7844003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100703 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/common_message_generator.h1
-rw-r--r--chrome/common/text_input_client_messages.h53
2 files changed, 0 insertions, 54 deletions
diff --git a/chrome/common/common_message_generator.h b/chrome/common/common_message_generator.h
index 09dde68..44128db 100644
--- a/chrome/common/common_message_generator.h
+++ b/chrome/common/common_message_generator.h
@@ -14,5 +14,4 @@
#include "chrome/common/safe_browsing/safebrowsing_messages.h"
#include "chrome/common/service_messages.h"
#include "chrome/common/spellcheck_messages.h"
-#include "chrome/common/text_input_client_messages.h"
diff --git a/chrome/common/text_input_client_messages.h b/chrome/common/text_input_client_messages.h
deleted file mode 100644
index c42a32a..0000000
--- a/chrome/common/text_input_client_messages.h
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Multiply-included message file, hence no include guard
-
-#include "ipc/ipc_message_macros.h"
-#include "ui/base/range/range.h"
-#include "ui/gfx/rect.h"
-
-#if defined(OS_MACOSX)
-#include "content/common/mac/attributed_string_coder.h"
-#endif
-
-#define IPC_MESSAGE_START TextInputClientMsgStart
-
-// Browser -> Renderer Messages ////////////////////////////////////////////////
-// These messages are sent from the browser to the renderer. Each one has a
-// corresponding reply message.
-////////////////////////////////////////////////////////////////////////////////
-
-// Tells the renderer to send back the character index for a point.
-IPC_MESSAGE_ROUTED1(TextInputClientMsg_CharacterIndexForPoint,
- gfx::Point)
-
-// Tells the renderer to send back the rectangle for a given character range.
-IPC_MESSAGE_ROUTED1(TextInputClientMsg_FirstRectForCharacterRange,
- ui::Range)
-
-// Tells the renderer to send back the text fragment in a given range.
-IPC_MESSAGE_ROUTED1(TextInputClientMsg_StringForRange,
- ui::Range)
-
-////////////////////////////////////////////////////////////////////////////////
-
-// Renderer -> Browser Replies /////////////////////////////////////////////////
-// These messages are sent in reply to the above messages.
-////////////////////////////////////////////////////////////////////////////////
-
-// Reply message for TextInputClientMsg_CharacterIndexForPoint.
-IPC_MESSAGE_ROUTED1(TextInputClientReplyMsg_GotCharacterIndexForPoint,
- size_t /* character index */)
-
-// Reply message for TextInputClientMsg_FirstRectForCharacterRange.
-IPC_MESSAGE_ROUTED1(TextInputClientReplyMsg_GotFirstRectForRange,
- gfx::Rect /* frame rectangle */)
-
-#if defined(OS_MACOSX)
-// Reply message for TextInputClientMsg_StringForRange.
-IPC_MESSAGE_ROUTED1(TextInputClientReplyMsg_GotStringForRange,
- mac::AttributedStringCoder::EncodedString)
-#endif // defined(OS_MACOSX)
-