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

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

Issue 6289009: [Mac] Implement the system dictionary popup by implementing NSTextInput methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Create AttributedStringCoder Created 9 years, 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "content/common/common_param_traits.h" 10 #include "content/common/common_param_traits.h"
11 #include "content/common/css_colors.h" 11 #include "content/common/css_colors.h"
12 #include "content/common/edit_command.h" 12 #include "content/common/edit_command.h"
13 #include "content/common/navigation_gesture.h" 13 #include "content/common/navigation_gesture.h"
14 #include "content/common/page_transition_types.h" 14 #include "content/common/page_transition_types.h"
15 #include "content/common/page_zoom.h" 15 #include "content/common/page_zoom.h"
16 #include "content/common/renderer_preferences.h" 16 #include "content/common/renderer_preferences.h"
17 #include "content/common/window_container_type.h" 17 #include "content/common/window_container_type.h"
18 #include "ipc/ipc_message_macros.h" 18 #include "ipc/ipc_message_macros.h"
19 #include "ipc/ipc_platform_file.h" 19 #include "ipc/ipc_platform_file.h"
20 #include "net/base/host_port_pair.h" 20 #include "net/base/host_port_pair.h"
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli ne.h" 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli ne.h"
22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h"
23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction. h" 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction. h"
24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h"
25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h"
26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextInputType.h" 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextInputType.h"
27 #include "ui/base/range/range.h"
27 #include "ui/gfx/rect.h" 28 #include "ui/gfx/rect.h"
28 #include "webkit/glue/context_menu.h" 29 #include "webkit/glue/context_menu.h"
29 #include "webkit/glue/password_form.h" 30 #include "webkit/glue/password_form.h"
30 #include "webkit/glue/webcookie.h" 31 #include "webkit/glue/webcookie.h"
31 #include "webkit/glue/webmenuitem.h" 32 #include "webkit/glue/webmenuitem.h"
32 #include "webkit/glue/webpreferences.h" 33 #include "webkit/glue/webpreferences.h"
33 #include "webkit/glue/webaccessibility.h" 34 #include "webkit/glue/webaccessibility.h"
34 #include "webkit/plugins/npapi/webplugin.h" 35 #include "webkit/plugins/npapi/webplugin.h"
35 #include "webkit/plugins/npapi/webplugininfo.h" 36 #include "webkit/plugins/npapi/webplugininfo.h"
36 37
(...skipping 1589 matching lines...) Expand 10 before | Expand all | Expand 10 after
1626 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetScreenInfo, 1627 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetScreenInfo,
1627 gfx::NativeViewId /* view */, 1628 gfx::NativeViewId /* view */,
1628 WebKit::WebScreenInfo /* results */) 1629 WebKit::WebScreenInfo /* results */)
1629 1630
1630 // Send the tooltip text for the current mouse position to the browser. 1631 // Send the tooltip text for the current mouse position to the browser.
1631 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, 1632 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText,
1632 std::wstring /* tooltip text string */, 1633 std::wstring /* tooltip text string */,
1633 WebKit::WebTextDirection /* text direction hint */) 1634 WebKit::WebTextDirection /* text direction hint */)
1634 1635
1635 // Notification that the text selection has changed. 1636 // Notification that the text selection has changed.
1636 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionChanged, 1637 IPC_MESSAGE_ROUTED2(ViewHostMsg_SelectionChanged,
1637 std::string /* currently selected text */) 1638 std::string /* currently selected text */,
1639 ui::Range /* selection range */)
1638 1640
1639 // Asks the browser to display the file chooser. The result is returned in a 1641 // Asks the browser to display the file chooser. The result is returned in a
1640 // ViewHost_RunFileChooserResponse message. 1642 // ViewHost_RunFileChooserResponse message.
1641 IPC_MESSAGE_ROUTED1(ViewHostMsg_RunFileChooser, 1643 IPC_MESSAGE_ROUTED1(ViewHostMsg_RunFileChooser,
1642 ViewHostMsg_RunFileChooser_Params) 1644 ViewHostMsg_RunFileChooser_Params)
1643 1645
1644 // Tells the browser to move the focus to the next (previous if reverse is 1646 // Tells the browser to move the focus to the next (previous if reverse is
1645 // true) focusable element. 1647 // true) focusable element.
1646 IPC_MESSAGE_ROUTED1(ViewHostMsg_TakeFocus, 1648 IPC_MESSAGE_ROUTED1(ViewHostMsg_TakeFocus,
1647 bool /* reverse */) 1649 bool /* reverse */)
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
1868 // enable or disable spdy. Used for debugging/testing/benchmarking. 1870 // enable or disable spdy. Used for debugging/testing/benchmarking.
1869 IPC_MESSAGE_CONTROL1(ViewHostMsg_EnableSpdy, 1871 IPC_MESSAGE_CONTROL1(ViewHostMsg_EnableSpdy,
1870 bool /* enable */) 1872 bool /* enable */)
1871 1873
1872 // Message sent from the renderer to the browser to request that the browser 1874 // Message sent from the renderer to the browser to request that the browser
1873 // cache |data| associated with |url|. 1875 // cache |data| associated with |url|.
1874 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidGenerateCacheableMetadata, 1876 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidGenerateCacheableMetadata,
1875 GURL /* url */, 1877 GURL /* url */,
1876 double /* expected_response_time */, 1878 double /* expected_response_time */,
1877 std::vector<char> /* data */) 1879 std::vector<char> /* data */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698