| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 #include "platform/graphics/filters/FilterOperation.h" | 51 #include "platform/graphics/filters/FilterOperation.h" |
| 52 #include "platform/network/ResourceLoadPriority.h" | 52 #include "platform/network/ResourceLoadPriority.h" |
| 53 #include "platform/network/ResourceResponse.h" | 53 #include "platform/network/ResourceResponse.h" |
| 54 #include "platform/scroll/ScrollTypes.h" | 54 #include "platform/scroll/ScrollTypes.h" |
| 55 #include "platform/text/TextChecking.h" | 55 #include "platform/text/TextChecking.h" |
| 56 #include "platform/text/TextDecoration.h" | 56 #include "platform/text/TextDecoration.h" |
| 57 #include "platform/weborigin/ReferrerPolicy.h" | 57 #include "platform/weborigin/ReferrerPolicy.h" |
| 58 #include "public/platform/WebClipboard.h" | 58 #include "public/platform/WebClipboard.h" |
| 59 #include "public/platform/WebCursorInfo.h" | 59 #include "public/platform/WebCursorInfo.h" |
| 60 #include "public/platform/WebReferrerPolicy.h" | 60 #include "public/platform/WebReferrerPolicy.h" |
| 61 #include "public/platform/WebScrollbar.h" | |
| 62 #include "public/platform/WebScrollbarBehavior.h" | |
| 63 #include "public/platform/WebURLRequest.h" | 61 #include "public/platform/WebURLRequest.h" |
| 64 #include "public/platform/WebURLResponse.h" | 62 #include "public/platform/WebURLResponse.h" |
| 65 #include "public/web/WebConsoleMessage.h" | 63 #include "public/web/WebConsoleMessage.h" |
| 66 #include "public/web/WebFontDescription.h" | 64 #include "public/web/WebFontDescription.h" |
| 67 #include "public/web/WebInputEvent.h" | 65 #include "public/web/WebInputEvent.h" |
| 68 #include "public/web/WebNavigationPolicy.h" | 66 #include "public/web/WebNavigationPolicy.h" |
| 69 #include "public/web/WebNavigatorContentUtilsClient.h" | 67 #include "public/web/WebNavigatorContentUtilsClient.h" |
| 70 #include "public/web/WebNode.h" | 68 #include "public/web/WebNode.h" |
| 71 #include "public/web/WebSettings.h" | 69 #include "public/web/WebSettings.h" |
| 72 #include "public/web/WebTextAffinity.h" | 70 #include "public/web/WebTextAffinity.h" |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 COMPILE_ASSERT_MATCHING_ENUM(WebNode::ElementNode, Node::ELEMENT_NODE); | 157 COMPILE_ASSERT_MATCHING_ENUM(WebNode::ElementNode, Node::ELEMENT_NODE); |
| 160 COMPILE_ASSERT_MATCHING_ENUM(WebNode::TextNode, Node::TEXT_NODE); | 158 COMPILE_ASSERT_MATCHING_ENUM(WebNode::TextNode, Node::TEXT_NODE); |
| 161 COMPILE_ASSERT_MATCHING_ENUM(WebNode::DocumentNode, Node::DOCUMENT_NODE); | 159 COMPILE_ASSERT_MATCHING_ENUM(WebNode::DocumentNode, Node::DOCUMENT_NODE); |
| 162 COMPILE_ASSERT_MATCHING_ENUM(WebNode::DocumentFragmentNode, Node::DOCUMENT_FRAGM
ENT_NODE); | 160 COMPILE_ASSERT_MATCHING_ENUM(WebNode::DocumentFragmentNode, Node::DOCUMENT_FRAGM
ENT_NODE); |
| 163 | 161 |
| 164 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonNone, NoButton); | 162 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonNone, NoButton); |
| 165 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonLeft, LeftButton); | 163 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonLeft, LeftButton); |
| 166 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonMiddle, MiddleButton); | 164 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonMiddle, MiddleButton); |
| 167 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonRight, RightButton); | 165 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonRight, RightButton); |
| 168 | 166 |
| 169 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::Horizontal, HorizontalScrollbar); | |
| 170 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::Vertical, VerticalScrollbar); | |
| 171 | |
| 172 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByLine, ScrollByLine); | |
| 173 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByPage, ScrollByPage); | |
| 174 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByDocument, ScrollByDocument); | |
| 175 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByPixel, ScrollByPixel); | |
| 176 | |
| 177 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::NoPart, NoPart); | |
| 178 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::BackTrackPart, BackTrackPart); | |
| 179 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ThumbPart, ThumbPart); | |
| 180 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ForwardTrackPart, ForwardTrackPart); | |
| 181 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollbarOverlayStyleDefault, Scrollb
arOverlayStyleDefault); | |
| 182 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollbarOverlayStyleLight, Scrollbar
OverlayStyleLight); | |
| 183 | |
| 184 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbarBehavior::ButtonNone, NoButton); | |
| 185 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbarBehavior::ButtonLeft, LeftButton); | |
| 186 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbarBehavior::ButtonMiddle, MiddleButton); | |
| 187 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbarBehavior::ButtonRight, RightButton); | |
| 188 | |
| 189 COMPILE_ASSERT_MATCHING_ENUM(WebTextAffinityUpstream, UPSTREAM); | 167 COMPILE_ASSERT_MATCHING_ENUM(WebTextAffinityUpstream, UPSTREAM); |
| 190 COMPILE_ASSERT_MATCHING_ENUM(WebTextAffinityDownstream, DOWNSTREAM); | 168 COMPILE_ASSERT_MATCHING_ENUM(WebTextAffinityDownstream, DOWNSTREAM); |
| 191 | 169 |
| 192 COMPILE_ASSERT_MATCHING_ENUM(WebTextCheckingTypeSpelling, TextCheckingTypeSpelli
ng); | 170 COMPILE_ASSERT_MATCHING_ENUM(WebTextCheckingTypeSpelling, TextCheckingTypeSpelli
ng); |
| 193 COMPILE_ASSERT_MATCHING_ENUM(WebTextCheckingTypeGrammar, TextCheckingTypeGrammar
); | 171 COMPILE_ASSERT_MATCHING_ENUM(WebTextCheckingTypeGrammar, TextCheckingTypeGrammar
); |
| 194 | 172 |
| 195 // TODO(rouslan): Remove these comparisons between text-checking and text-decora
tion enum values after removing the | 173 // TODO(rouslan): Remove these comparisons between text-checking and text-decora
tion enum values after removing the |
| 196 // deprecated constructor WebTextCheckingResult(WebTextCheckingType). | 174 // deprecated constructor WebTextCheckingResult(WebTextCheckingType). |
| 197 COMPILE_ASSERT_MATCHING_ENUM(WebTextCheckingTypeSpelling, TextDecorationTypeSpel
ling); | 175 COMPILE_ASSERT_MATCHING_ENUM(WebTextCheckingTypeSpelling, TextDecorationTypeSpel
ling); |
| 198 COMPILE_ASSERT_MATCHING_ENUM(WebTextCheckingTypeGrammar, TextDecorationTypeGramm
ar); | 176 COMPILE_ASSERT_MATCHING_ENUM(WebTextCheckingTypeGrammar, TextDecorationTypeGramm
ar); |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsCode, V8CacheOptionsCode
); | 225 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsCode, V8CacheOptionsCode
); |
| 248 | 226 |
| 249 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeNone, PointerTypeNone); | 227 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeNone, PointerTypeNone); |
| 250 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeCoarse, PointerTypeCoarse); | 228 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeCoarse, PointerTypeCoarse); |
| 251 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeFine, PointerTypeFine); | 229 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeFine, PointerTypeFine); |
| 252 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeNone, HoverTypeNone); | 230 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeNone, HoverTypeNone); |
| 253 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeOnDemand, HoverTypeOnDemand); | 231 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeOnDemand, HoverTypeOnDemand); |
| 254 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeHover, HoverTypeHover); | 232 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeHover, HoverTypeHover); |
| 255 | 233 |
| 256 } // namespace blink | 234 } // namespace blink |
| OLD | NEW |