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

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

Issue 273423004: Migrate accessibility from RenderView to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix more compile errors 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 | Annotate | Revision Log
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 #if defined(OS_MACOSX) 61 #if defined(OS_MACOSX)
62 #include "content/common/mac/font_descriptor.h" 62 #include "content/common/mac/font_descriptor.h"
63 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h" 63 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h"
64 #endif 64 #endif
65 65
66 #undef IPC_MESSAGE_EXPORT 66 #undef IPC_MESSAGE_EXPORT
67 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 67 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
68 68
69 #define IPC_MESSAGE_START ViewMsgStart 69 #define IPC_MESSAGE_START ViewMsgStart
70 70
71 IPC_ENUM_TRAITS(AccessibilityMode)
72 IPC_ENUM_TRAITS(blink::WebMediaPlayerAction::Type) 71 IPC_ENUM_TRAITS(blink::WebMediaPlayerAction::Type)
73 IPC_ENUM_TRAITS(blink::WebPluginAction::Type) 72 IPC_ENUM_TRAITS(blink::WebPluginAction::Type)
74 IPC_ENUM_TRAITS(blink::WebPopupType) 73 IPC_ENUM_TRAITS(blink::WebPopupType)
75 IPC_ENUM_TRAITS(blink::WebTextDirection) 74 IPC_ENUM_TRAITS(blink::WebTextDirection)
76 IPC_ENUM_TRAITS(WindowContainerType) 75 IPC_ENUM_TRAITS(WindowContainerType)
77 IPC_ENUM_TRAITS(content::FaviconURL::IconType) 76 IPC_ENUM_TRAITS(content::FaviconURL::IconType)
78 IPC_ENUM_TRAITS(content::FileChooserParams::Mode) 77 IPC_ENUM_TRAITS(content::FileChooserParams::Mode)
79 IPC_ENUM_TRAITS(content::MenuItem::Type) 78 IPC_ENUM_TRAITS(content::MenuItem::Type)
80 IPC_ENUM_TRAITS(content::NavigationGesture) 79 IPC_ENUM_TRAITS(content::NavigationGesture)
81 IPC_ENUM_TRAITS(content::PageZoom) 80 IPC_ENUM_TRAITS(content::PageZoom)
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 // Whether the window associated with this view was created with an opener. 470 // Whether the window associated with this view was created with an opener.
472 IPC_STRUCT_MEMBER(bool, window_was_created_with_opener) 471 IPC_STRUCT_MEMBER(bool, window_was_created_with_opener)
473 472
474 // The initial page ID to use for this view, which must be larger than any 473 // The initial page ID to use for this view, which must be larger than any
475 // existing navigation that might be loaded in the view. Page IDs are unique 474 // existing navigation that might be loaded in the view. Page IDs are unique
476 // to a view and are only updated by the renderer after this initial value. 475 // to a view and are only updated by the renderer after this initial value.
477 IPC_STRUCT_MEMBER(int32, next_page_id) 476 IPC_STRUCT_MEMBER(int32, next_page_id)
478 477
479 // The properties of the screen associated with the view. 478 // The properties of the screen associated with the view.
480 IPC_STRUCT_MEMBER(blink::WebScreenInfo, screen_info) 479 IPC_STRUCT_MEMBER(blink::WebScreenInfo, screen_info)
481
482 // The accessibility mode of the renderer.
483 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode)
484 IPC_STRUCT_END() 480 IPC_STRUCT_END()
485 481
486 IPC_STRUCT_BEGIN(ViewMsg_PostMessage_Params) 482 IPC_STRUCT_BEGIN(ViewMsg_PostMessage_Params)
487 // The serialized script value. 483 // The serialized script value.
488 IPC_STRUCT_MEMBER(base::string16, data) 484 IPC_STRUCT_MEMBER(base::string16, data)
489 485
490 // When sent to the browser, this is the routing ID of the source frame in 486 // When sent to the browser, this is the routing ID of the source frame in
491 // the source process. The browser replaces it with the routing ID of the 487 // the source process. The browser replaces it with the routing ID of the
492 // equivalent (swapped out) frame in the destination process. 488 // equivalent (swapped out) frame in the destination process.
493 IPC_STRUCT_MEMBER(int, source_routing_id) 489 IPC_STRUCT_MEMBER(int, source_routing_id)
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
878 874
879 // Instructs the renderer to save the current page to MHTML. 875 // Instructs the renderer to save the current page to MHTML.
880 IPC_MESSAGE_ROUTED2(ViewMsg_SavePageAsMHTML, 876 IPC_MESSAGE_ROUTED2(ViewMsg_SavePageAsMHTML,
881 int /* job_id */, 877 int /* job_id */,
882 IPC::PlatformFileForTransit /* file handle */) 878 IPC::PlatformFileForTransit /* file handle */)
883 879
884 // Temporary message to diagnose an unexpected condition in WebContentsImpl. 880 // Temporary message to diagnose an unexpected condition in WebContentsImpl.
885 IPC_MESSAGE_CONTROL1(ViewMsg_TempCrashWithData, 881 IPC_MESSAGE_CONTROL1(ViewMsg_TempCrashWithData,
886 GURL /* data */) 882 GURL /* data */)
887 883
888 // Change the accessibility mode in the renderer process.
889 IPC_MESSAGE_ROUTED1(ViewMsg_SetAccessibilityMode,
890 AccessibilityMode)
891
892 // An acknowledge to ViewHostMsg_MultipleTargetsTouched to notify the renderer 884 // An acknowledge to ViewHostMsg_MultipleTargetsTouched to notify the renderer
893 // process to release the magnified image. 885 // process to release the magnified image.
894 IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupBitmap, 886 IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupBitmap,
895 cc::SharedBitmapId /* id */) 887 cc::SharedBitmapId /* id */)
896 888
897 // Notifies the renderer that a snapshot has been retrieved. 889 // Notifies the renderer that a snapshot has been retrieved.
898 IPC_MESSAGE_ROUTED3(ViewMsg_WindowSnapshotCompleted, 890 IPC_MESSAGE_ROUTED3(ViewMsg_WindowSnapshotCompleted,
899 int /* snapshot_id */, 891 int /* snapshot_id */,
900 gfx::Size /* size */, 892 gfx::Size /* size */,
901 std::vector<unsigned char> /* png */) 893 std::vector<unsigned char> /* png */)
(...skipping 862 matching lines...) Expand 10 before | Expand all | Expand 10 after
1764 // synchronously (see crbug.com/120597). This IPC message sends the character 1756 // synchronously (see crbug.com/120597). This IPC message sends the character
1765 // bounds after every composition change to always have correct bound info. 1757 // bounds after every composition change to always have correct bound info.
1766 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 1758 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
1767 gfx::Range /* composition range */, 1759 gfx::Range /* composition range */,
1768 std::vector<gfx::Rect> /* character bounds */) 1760 std::vector<gfx::Rect> /* character bounds */)
1769 #endif 1761 #endif
1770 1762
1771 // Adding a new message? Stick to the sort order above: first platform 1763 // Adding a new message? Stick to the sort order above: first platform
1772 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1764 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1773 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1765 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698