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

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

Issue 1234193002: Simplify InputMethodWin initialization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 739 matching lines...) Expand 10 before | Expand all | Expand 10 after
750 // flag values. 750 // flag values.
751 IPC_MESSAGE_ROUTED1(ViewMsg_AllowBindings, 751 IPC_MESSAGE_ROUTED1(ViewMsg_AllowBindings,
752 int /* enabled_bindings_flags */) 752 int /* enabled_bindings_flags */)
753 753
754 // Tell the renderer to add a property to the WebUI binding object. This 754 // Tell the renderer to add a property to the WebUI binding object. This
755 // only works if we allowed WebUI bindings. 755 // only works if we allowed WebUI bindings.
756 IPC_MESSAGE_ROUTED2(ViewMsg_SetWebUIProperty, 756 IPC_MESSAGE_ROUTED2(ViewMsg_SetWebUIProperty,
757 std::string /* property_name */, 757 std::string /* property_name */,
758 std::string /* property_value_json */) 758 std::string /* property_value_json */)
759 759
760 // This message starts/stop monitoring the input method status of the focused
761 // edit control of a renderer process.
762 // Parameters
763 // * is_active (bool)
764 // Indicates if an input method is active in the browser process.
765 // The possible actions when a renderer process receives this message are
766 // listed below:
767 // Value Action
768 // true Start sending IPC message ViewHostMsg_ImeUpdateTextInputState
769 // to notify the input method status of the focused edit control.
770 // false Stop sending IPC message ViewHostMsg_ImeUpdateTextInputState.
771 IPC_MESSAGE_ROUTED1(ViewMsg_SetInputMethodActive,
772 bool /* is_active */)
773
774 // Used to notify the render-view that we have received a target URL. Used 760 // Used to notify the render-view that we have received a target URL. Used
775 // to prevent target URLs spamming the browser. 761 // to prevent target URLs spamming the browser.
776 IPC_MESSAGE_ROUTED0(ViewMsg_UpdateTargetURL_ACK) 762 IPC_MESSAGE_ROUTED0(ViewMsg_UpdateTargetURL_ACK)
777 763
778 IPC_MESSAGE_ROUTED1(ViewMsg_RunFileChooserResponse, 764 IPC_MESSAGE_ROUTED1(ViewMsg_RunFileChooserResponse,
779 std::vector<content::FileChooserFileInfo>) 765 std::vector<content::FileChooserFileInfo>)
780 766
781 // Provides the results of directory enumeration. 767 // Provides the results of directory enumeration.
782 IPC_MESSAGE_ROUTED2(ViewMsg_EnumerateDirectoryResponse, 768 IPC_MESSAGE_ROUTED2(ViewMsg_EnumerateDirectoryResponse,
783 int /* request_id */, 769 int /* request_id */,
(...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after
1602 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 1588 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
1603 // for details. 1589 // for details.
1604 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 1590 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
1605 LOGFONT /* font_data */, 1591 LOGFONT /* font_data */,
1606 base::string16 /* characters */) 1592 base::string16 /* characters */)
1607 #endif 1593 #endif
1608 1594
1609 // Adding a new message? Stick to the sort order above: first platform 1595 // Adding a new message? Stick to the sort order above: first platform
1610 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1596 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1611 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1597 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698