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

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

Issue 2899263002: Update WebScreenOrientationType to have a Last enum member. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationType.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 #define IPC_MESSAGE_START ViewMsgStart 78 #define IPC_MESSAGE_START ViewMsgStart
79 79
80 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebDeviceEmulationParams::ScreenPosition, 80 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebDeviceEmulationParams::ScreenPosition,
81 blink::WebDeviceEmulationParams::kScreenPositionLast) 81 blink::WebDeviceEmulationParams::kScreenPositionLast)
82 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebMediaPlayerAction::Type, 82 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebMediaPlayerAction::Type,
83 blink::WebMediaPlayerAction::Type::kTypeLast) 83 blink::WebMediaPlayerAction::Type::kTypeLast)
84 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebPluginAction::Type, 84 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebPluginAction::Type,
85 blink::WebPluginAction::Type::kTypeLast) 85 blink::WebPluginAction::Type::kTypeLast)
86 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebPopupType, 86 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebPopupType,
87 blink::WebPopupType::kWebPopupTypeLast) 87 blink::WebPopupType::kWebPopupTypeLast)
88 // TODO(dcheng): Update WebScreenOrientationType to have a "Last" enum member.
89 IPC_ENUM_TRAITS_MIN_MAX_VALUE(blink::WebScreenOrientationType, 88 IPC_ENUM_TRAITS_MIN_MAX_VALUE(blink::WebScreenOrientationType,
90 blink::kWebScreenOrientationUndefined, 89 blink::kWebScreenOrientationUndefined,
91 blink::kWebScreenOrientationLandscapeSecondary) 90 blink::WebScreenOrientationTypeLast)
92 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebWorkerCreationError, 91 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebWorkerCreationError,
93 blink::kWebWorkerCreationErrorLast) 92 blink::kWebWorkerCreationErrorLast)
94 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebTextDirection, 93 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebTextDirection,
95 blink::WebTextDirection::kWebTextDirectionLast) 94 blink::WebTextDirection::kWebTextDirectionLast)
96 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebDisplayMode, 95 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebDisplayMode,
97 blink::WebDisplayMode::kWebDisplayModeLast) 96 blink::WebDisplayMode::kWebDisplayModeLast)
98 IPC_ENUM_TRAITS(content::FaviconURL::IconType) 97 IPC_ENUM_TRAITS(content::FaviconURL::IconType)
99 IPC_ENUM_TRAITS(content::MenuItem::Type) 98 IPC_ENUM_TRAITS(content::MenuItem::Type)
100 IPC_ENUM_TRAITS_MAX_VALUE(content::NavigationGesture, 99 IPC_ENUM_TRAITS_MAX_VALUE(content::NavigationGesture,
101 content::NavigationGestureLast) 100 content::NavigationGestureLast)
(...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after
886 int /* y */) 885 int /* y */)
887 886
888 #elif defined(OS_MACOSX) 887 #elif defined(OS_MACOSX)
889 // Receives content of a web page as plain text. 888 // Receives content of a web page as plain text.
890 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) 889 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string)
891 #endif 890 #endif
892 891
893 // Adding a new message? Stick to the sort order above: first platform 892 // Adding a new message? Stick to the sort order above: first platform
894 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 893 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
895 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 894 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698