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

Side by Side Diff: Source/web/AssertMatchingEnums.cpp

Issue 929213004: Plumb selection bounds as a single unit (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: TODO for moving WebSelectionBound Created 5 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
« no previous file with comments | « Source/core/page/ChromeClient.h ('k') | Source/web/ChromeClientImpl.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 /* 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 20 matching lines...) Expand all
31 // Use this file to assert that various public API enum values continue 31 // Use this file to assert that various public API enum values continue
32 // matching blink defined enum values. 32 // matching blink defined enum values.
33 33
34 #include "config.h" 34 #include "config.h"
35 35
36 #include "bindings/core/v8/SerializedScriptValue.h" 36 #include "bindings/core/v8/SerializedScriptValue.h"
37 #include "core/dom/AXObjectCache.h" 37 #include "core/dom/AXObjectCache.h"
38 #include "core/dom/DocumentMarker.h" 38 #include "core/dom/DocumentMarker.h"
39 #include "core/dom/ExceptionCode.h" 39 #include "core/dom/ExceptionCode.h"
40 #include "core/dom/IconURL.h" 40 #include "core/dom/IconURL.h"
41 #include "core/editing/SelectionType.h"
41 #include "core/editing/TextAffinity.h" 42 #include "core/editing/TextAffinity.h"
42 #include "core/fileapi/FileError.h" 43 #include "core/fileapi/FileError.h"
43 #include "core/frame/Settings.h" 44 #include "core/frame/Settings.h"
44 #include "core/frame/csp/ContentSecurityPolicy.h" 45 #include "core/frame/csp/ContentSecurityPolicy.h"
45 #include "core/html/HTMLFormElement.h" 46 #include "core/html/HTMLFormElement.h"
46 #include "core/html/HTMLInputElement.h" 47 #include "core/html/HTMLInputElement.h"
47 #include "core/html/HTMLMediaElement.h" 48 #include "core/html/HTMLMediaElement.h"
48 #include "core/html/shadow/TextControlInnerElements.h" 49 #include "core/html/shadow/TextControlInnerElements.h"
49 #include "core/layout/compositing/CompositedSelectionBound.h" 50 #include "core/layout/compositing/CompositedSelectionBound.h"
50 #include "core/style/ComputedStyleConstants.h" 51 #include "core/style/ComputedStyleConstants.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 #include "public/web/WebGeolocationPosition.h" 119 #include "public/web/WebGeolocationPosition.h"
119 #include "public/web/WebHistoryCommitType.h" 120 #include "public/web/WebHistoryCommitType.h"
120 #include "public/web/WebHistoryItem.h" 121 #include "public/web/WebHistoryItem.h"
121 #include "public/web/WebIconURL.h" 122 #include "public/web/WebIconURL.h"
122 #include "public/web/WebInputElement.h" 123 #include "public/web/WebInputElement.h"
123 #include "public/web/WebInputEvent.h" 124 #include "public/web/WebInputEvent.h"
124 #include "public/web/WebNavigationPolicy.h" 125 #include "public/web/WebNavigationPolicy.h"
125 #include "public/web/WebNavigatorContentUtilsClient.h" 126 #include "public/web/WebNavigatorContentUtilsClient.h"
126 #include "public/web/WebSandboxFlags.h" 127 #include "public/web/WebSandboxFlags.h"
127 #include "public/web/WebSecurityPolicy.h" 128 #include "public/web/WebSecurityPolicy.h"
129 #include "public/web/WebSelection.h"
128 #include "public/web/WebSerializedScriptValueVersion.h" 130 #include "public/web/WebSerializedScriptValueVersion.h"
129 #include "public/web/WebSettings.h" 131 #include "public/web/WebSettings.h"
130 #include "public/web/WebSpeechRecognizerClient.h" 132 #include "public/web/WebSpeechRecognizerClient.h"
131 #include "public/web/WebTextAffinity.h" 133 #include "public/web/WebTextAffinity.h"
132 #include "public/web/WebTextCheckingResult.h" 134 #include "public/web/WebTextCheckingResult.h"
133 #include "public/web/WebTextCheckingType.h" 135 #include "public/web/WebTextCheckingType.h"
134 #include "public/web/WebTextDecorationType.h" 136 #include "public/web/WebTextDecorationType.h"
135 #include "public/web/WebTouchAction.h" 137 #include "public/web/WebTouchAction.h"
136 #include "public/web/WebView.h" 138 #include "public/web/WebView.h"
137 #include "wtf/Assertions.h" 139 #include "wtf/Assertions.h"
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 STATIC_ASSERT_MATCHING_ENUM(WebCustomHandlersNew, NavigatorContentUtilsClient::C ustomHandlersNew); 646 STATIC_ASSERT_MATCHING_ENUM(WebCustomHandlersNew, NavigatorContentUtilsClient::C ustomHandlersNew);
645 STATIC_ASSERT_MATCHING_ENUM(WebCustomHandlersRegistered, NavigatorContentUtilsCl ient::CustomHandlersRegistered); 647 STATIC_ASSERT_MATCHING_ENUM(WebCustomHandlersRegistered, NavigatorContentUtilsCl ient::CustomHandlersRegistered);
646 STATIC_ASSERT_MATCHING_ENUM(WebCustomHandlersDeclined, NavigatorContentUtilsClie nt::CustomHandlersDeclined); 648 STATIC_ASSERT_MATCHING_ENUM(WebCustomHandlersDeclined, NavigatorContentUtilsClie nt::CustomHandlersDeclined);
647 649
648 STATIC_ASSERT_MATCHING_ENUM(WebTouchActionNone, TouchActionNone); 650 STATIC_ASSERT_MATCHING_ENUM(WebTouchActionNone, TouchActionNone);
649 STATIC_ASSERT_MATCHING_ENUM(WebTouchActionAuto, TouchActionAuto); 651 STATIC_ASSERT_MATCHING_ENUM(WebTouchActionAuto, TouchActionAuto);
650 STATIC_ASSERT_MATCHING_ENUM(WebTouchActionPanX, TouchActionPanX); 652 STATIC_ASSERT_MATCHING_ENUM(WebTouchActionPanX, TouchActionPanX);
651 STATIC_ASSERT_MATCHING_ENUM(WebTouchActionPanY, TouchActionPanY); 653 STATIC_ASSERT_MATCHING_ENUM(WebTouchActionPanY, TouchActionPanY);
652 STATIC_ASSERT_MATCHING_ENUM(WebTouchActionPinchZoom, TouchActionPinchZoom); 654 STATIC_ASSERT_MATCHING_ENUM(WebTouchActionPinchZoom, TouchActionPinchZoom);
653 655
654 STATIC_ASSERT_MATCHING_ENUM(WebSelectionBound::Caret, CompositedSelectionBound:: Caret); 656 STATIC_ASSERT_MATCHING_ENUM(WebSelection::NoSelection, NoSelection);
655 STATIC_ASSERT_MATCHING_ENUM(WebSelectionBound::SelectionLeft, CompositedSelectio nBound::SelectionLeft); 657 STATIC_ASSERT_MATCHING_ENUM(WebSelection::CaretSelection, CaretSelection);
656 STATIC_ASSERT_MATCHING_ENUM(WebSelectionBound::SelectionRight, CompositedSelecti onBound::SelectionRight); 658 STATIC_ASSERT_MATCHING_ENUM(WebSelection::RangeSelection, RangeSelection);
657 659
658 STATIC_ASSERT_MATCHING_ENUM(WebSettings::ImageAnimationPolicyAllowed, ImageAnima tionPolicyAllowed); 660 STATIC_ASSERT_MATCHING_ENUM(WebSettings::ImageAnimationPolicyAllowed, ImageAnima tionPolicyAllowed);
659 STATIC_ASSERT_MATCHING_ENUM(WebSettings::ImageAnimationPolicyAnimateOnce, ImageA nimationPolicyAnimateOnce); 661 STATIC_ASSERT_MATCHING_ENUM(WebSettings::ImageAnimationPolicyAnimateOnce, ImageA nimationPolicyAnimateOnce);
660 STATIC_ASSERT_MATCHING_ENUM(WebSettings::ImageAnimationPolicyNoAnimation, ImageA nimationPolicyNoAnimation); 662 STATIC_ASSERT_MATCHING_ENUM(WebSettings::ImageAnimationPolicyNoAnimation, ImageA nimationPolicyNoAnimation);
661 663
662 STATIC_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsDefault, V8CacheOptionsDe fault); 664 STATIC_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsDefault, V8CacheOptionsDe fault);
663 STATIC_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsParse, V8CacheOptionsPars e); 665 STATIC_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsParse, V8CacheOptionsPars e);
664 STATIC_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsCode, V8CacheOptionsCode) ; 666 STATIC_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsCode, V8CacheOptionsCode) ;
665 STATIC_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsCodeCompressed, V8CacheOp tionsCodeCompressed); 667 STATIC_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsCodeCompressed, V8CacheOp tionsCodeCompressed);
666 STATIC_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsNone, V8CacheOptionsNone) ; 668 STATIC_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsNone, V8CacheOptionsNone) ;
(...skipping 30 matching lines...) Expand all
697 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::TopNavigation, SandboxTopNavigation ); 699 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::TopNavigation, SandboxTopNavigation );
698 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Popups, SandboxPopups); 700 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Popups, SandboxPopups);
699 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::AutomaticFeatures, SandboxAutomatic Features); 701 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::AutomaticFeatures, SandboxAutomatic Features);
700 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::PointerLock, SandboxPointerLock); 702 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::PointerLock, SandboxPointerLock);
701 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::DocumentDomain, SandboxDocumentDoma in); 703 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::DocumentDomain, SandboxDocumentDoma in);
702 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::OrientationLock, SandboxOrientation Lock); 704 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::OrientationLock, SandboxOrientation Lock);
703 705
704 STATIC_ASSERT_MATCHING_ENUM(FrameLoaderClient::BeforeUnloadHandler, WebFrameClie nt::BeforeUnloadHandler); 706 STATIC_ASSERT_MATCHING_ENUM(FrameLoaderClient::BeforeUnloadHandler, WebFrameClie nt::BeforeUnloadHandler);
705 STATIC_ASSERT_MATCHING_ENUM(FrameLoaderClient::UnloadHandler, WebFrameClient::Un loadHandler); 707 STATIC_ASSERT_MATCHING_ENUM(FrameLoaderClient::UnloadHandler, WebFrameClient::Un loadHandler);
706 } // namespace blink 708 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/page/ChromeClient.h ('k') | Source/web/ChromeClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698