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

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

Issue 1367853002: Move GeolocationDispatcher into blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 #include "core/html/HTMLMediaElement.h" 47 #include "core/html/HTMLMediaElement.h"
48 #include "core/html/shadow/TextControlInnerElements.h" 48 #include "core/html/shadow/TextControlInnerElements.h"
49 #include "core/layout/compositing/CompositedSelectionBound.h" 49 #include "core/layout/compositing/CompositedSelectionBound.h"
50 #include "core/loader/FrameLoaderClient.h" 50 #include "core/loader/FrameLoaderClient.h"
51 #include "core/loader/FrameLoaderTypes.h" 51 #include "core/loader/FrameLoaderTypes.h"
52 #include "core/loader/NavigationPolicy.h" 52 #include "core/loader/NavigationPolicy.h"
53 #include "core/loader/appcache/ApplicationCacheHost.h" 53 #include "core/loader/appcache/ApplicationCacheHost.h"
54 #include "core/page/PageVisibilityState.h" 54 #include "core/page/PageVisibilityState.h"
55 #include "core/style/ComputedStyleConstants.h" 55 #include "core/style/ComputedStyleConstants.h"
56 #include "modules/accessibility/AXObject.h" 56 #include "modules/accessibility/AXObject.h"
57 #include "modules/geolocation/GeolocationError.h"
58 #include "modules/geolocation/GeolocationPosition.h"
59 #include "modules/indexeddb/IDBKey.h" 57 #include "modules/indexeddb/IDBKey.h"
60 #include "modules/indexeddb/IDBKeyPath.h" 58 #include "modules/indexeddb/IDBKeyPath.h"
61 #include "modules/indexeddb/IDBMetadata.h" 59 #include "modules/indexeddb/IDBMetadata.h"
62 #include "modules/indexeddb/IndexedDB.h" 60 #include "modules/indexeddb/IndexedDB.h"
63 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h" 61 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h"
64 #include "modules/quota/DeprecatedStorageQuota.h" 62 #include "modules/quota/DeprecatedStorageQuota.h"
65 #include "modules/speech/SpeechRecognitionError.h" 63 #include "modules/speech/SpeechRecognitionError.h"
66 #include "platform/Cursor.h" 64 #include "platform/Cursor.h"
67 #include "platform/FileMetadata.h" 65 #include "platform/FileMetadata.h"
68 #include "platform/FileSystemType.h" 66 #include "platform/FileSystemType.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 #include "public/platform/modules/indexeddb/WebIDBMetadata.h" 106 #include "public/platform/modules/indexeddb/WebIDBMetadata.h"
109 #include "public/platform/modules/indexeddb/WebIDBTypes.h" 107 #include "public/platform/modules/indexeddb/WebIDBTypes.h"
110 #include "public/web/WebAXEnums.h" 108 #include "public/web/WebAXEnums.h"
111 #include "public/web/WebAXObject.h" 109 #include "public/web/WebAXObject.h"
112 #include "public/web/WebClientRedirectPolicy.h" 110 #include "public/web/WebClientRedirectPolicy.h"
113 #include "public/web/WebConsoleMessage.h" 111 #include "public/web/WebConsoleMessage.h"
114 #include "public/web/WebContentSecurityPolicy.h" 112 #include "public/web/WebContentSecurityPolicy.h"
115 #include "public/web/WebFormElement.h" 113 #include "public/web/WebFormElement.h"
116 #include "public/web/WebFrameClient.h" 114 #include "public/web/WebFrameClient.h"
117 #include "public/web/WebFrameLoadType.h" 115 #include "public/web/WebFrameLoadType.h"
118 #include "public/web/WebGeolocationError.h"
119 #include "public/web/WebGeolocationPosition.h"
120 #include "public/web/WebHistoryCommitType.h" 116 #include "public/web/WebHistoryCommitType.h"
121 #include "public/web/WebHistoryItem.h" 117 #include "public/web/WebHistoryItem.h"
122 #include "public/web/WebIconURL.h" 118 #include "public/web/WebIconURL.h"
123 #include "public/web/WebInputElement.h" 119 #include "public/web/WebInputElement.h"
124 #include "public/web/WebInputEvent.h" 120 #include "public/web/WebInputEvent.h"
125 #include "public/web/WebNavigationPolicy.h" 121 #include "public/web/WebNavigationPolicy.h"
126 #include "public/web/WebNavigatorContentUtilsClient.h" 122 #include "public/web/WebNavigatorContentUtilsClient.h"
127 #include "public/web/WebRemoteFrameClient.h" 123 #include "public/web/WebRemoteFrameClient.h"
128 #include "public/web/WebSandboxFlags.h" 124 #include "public/web/WebSandboxFlags.h"
129 #include "public/web/WebSecurityPolicy.h" 125 #include "public/web/WebSecurityPolicy.h"
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 STATIC_ASSERT_ENUM(WebFileErrorNotReadable, FileError::NOT_READABLE_ERR); 563 STATIC_ASSERT_ENUM(WebFileErrorNotReadable, FileError::NOT_READABLE_ERR);
568 STATIC_ASSERT_ENUM(WebFileErrorEncoding, FileError::ENCODING_ERR); 564 STATIC_ASSERT_ENUM(WebFileErrorEncoding, FileError::ENCODING_ERR);
569 STATIC_ASSERT_ENUM(WebFileErrorNoModificationAllowed, FileError::NO_MODIFICATION _ALLOWED_ERR); 565 STATIC_ASSERT_ENUM(WebFileErrorNoModificationAllowed, FileError::NO_MODIFICATION _ALLOWED_ERR);
570 STATIC_ASSERT_ENUM(WebFileErrorInvalidState, FileError::INVALID_STATE_ERR); 566 STATIC_ASSERT_ENUM(WebFileErrorInvalidState, FileError::INVALID_STATE_ERR);
571 STATIC_ASSERT_ENUM(WebFileErrorSyntax, FileError::SYNTAX_ERR); 567 STATIC_ASSERT_ENUM(WebFileErrorSyntax, FileError::SYNTAX_ERR);
572 STATIC_ASSERT_ENUM(WebFileErrorInvalidModification, FileError::INVALID_MODIFICAT ION_ERR); 568 STATIC_ASSERT_ENUM(WebFileErrorInvalidModification, FileError::INVALID_MODIFICAT ION_ERR);
573 STATIC_ASSERT_ENUM(WebFileErrorQuotaExceeded, FileError::QUOTA_EXCEEDED_ERR); 569 STATIC_ASSERT_ENUM(WebFileErrorQuotaExceeded, FileError::QUOTA_EXCEEDED_ERR);
574 STATIC_ASSERT_ENUM(WebFileErrorTypeMismatch, FileError::TYPE_MISMATCH_ERR); 570 STATIC_ASSERT_ENUM(WebFileErrorTypeMismatch, FileError::TYPE_MISMATCH_ERR);
575 STATIC_ASSERT_ENUM(WebFileErrorPathExists, FileError::PATH_EXISTS_ERR); 571 STATIC_ASSERT_ENUM(WebFileErrorPathExists, FileError::PATH_EXISTS_ERR);
576 572
577 STATIC_ASSERT_ENUM(WebGeolocationError::ErrorPermissionDenied, GeolocationError: :PermissionDenied);
578 STATIC_ASSERT_ENUM(WebGeolocationError::ErrorPositionUnavailable, GeolocationErr or::PositionUnavailable);
579
580 STATIC_ASSERT_ENUM(WebTextCheckingTypeSpelling, TextCheckingTypeSpelling); 573 STATIC_ASSERT_ENUM(WebTextCheckingTypeSpelling, TextCheckingTypeSpelling);
581 STATIC_ASSERT_ENUM(WebTextCheckingTypeGrammar, TextCheckingTypeGrammar); 574 STATIC_ASSERT_ENUM(WebTextCheckingTypeGrammar, TextCheckingTypeGrammar);
582 575
583 // TODO(rouslan): Remove these comparisons between text-checking and text-decora tion enum values after removing the 576 // TODO(rouslan): Remove these comparisons between text-checking and text-decora tion enum values after removing the
584 // deprecated constructor WebTextCheckingResult(WebTextCheckingType). 577 // deprecated constructor WebTextCheckingResult(WebTextCheckingType).
585 STATIC_ASSERT_ENUM(WebTextCheckingTypeSpelling, TextDecorationTypeSpelling); 578 STATIC_ASSERT_ENUM(WebTextCheckingTypeSpelling, TextDecorationTypeSpelling);
586 STATIC_ASSERT_ENUM(WebTextCheckingTypeGrammar, TextDecorationTypeGrammar); 579 STATIC_ASSERT_ENUM(WebTextCheckingTypeGrammar, TextDecorationTypeGrammar);
587 580
588 STATIC_ASSERT_ENUM(WebTextDecorationTypeSpelling, TextDecorationTypeSpelling); 581 STATIC_ASSERT_ENUM(WebTextDecorationTypeSpelling, TextDecorationTypeSpelling);
589 STATIC_ASSERT_ENUM(WebTextDecorationTypeGrammar, TextDecorationTypeGrammar); 582 STATIC_ASSERT_ENUM(WebTextDecorationTypeGrammar, TextDecorationTypeGrammar);
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
738 STATIC_ASSERT_ENUM(WebFrameLoadType::ReloadBypassingCache, FrameLoadTypeReloadBy passingCache); 731 STATIC_ASSERT_ENUM(WebFrameLoadType::ReloadBypassingCache, FrameLoadTypeReloadBy passingCache);
739 732
740 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebFrameClient::DetachType::Remove); 733 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebFrameClient::DetachType::Remove);
741 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebFrameClient::DetachType::Swap); 734 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebFrameClient::DetachType::Swap);
742 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebRemoteFrameClient::DetachType::Re move); 735 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebRemoteFrameClient::DetachType::Re move);
743 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachType::Swap ); 736 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachType::Swap );
744 737
745 static_assert(kSerializedScriptValueVersion == SerializedScriptValue::wireFormat Version, ""); 738 static_assert(kSerializedScriptValueVersion == SerializedScriptValue::wireFormat Version, "");
746 739
747 } // namespace blink 740 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/modules.gypi ('k') | third_party/WebKit/Source/web/GeolocationClientProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698