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

Side by Side Diff: sky/engine/web/AssertMatchingEnums.cpp

Issue 880643007: Merge WebWidgetClient into WebViewClient. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « sky/engine/public/web/WebWidgetClient.h ('k') | sky/engine/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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 #include "sky/engine/public/web/WebConsoleMessage.h" 63 #include "sky/engine/public/web/WebConsoleMessage.h"
64 #include "sky/engine/public/web/WebFontDescription.h" 64 #include "sky/engine/public/web/WebFontDescription.h"
65 #include "sky/engine/public/web/WebNavigationPolicy.h" 65 #include "sky/engine/public/web/WebNavigationPolicy.h"
66 #include "sky/engine/public/web/WebNavigatorContentUtilsClient.h" 66 #include "sky/engine/public/web/WebNavigatorContentUtilsClient.h"
67 #include "sky/engine/public/web/WebNode.h" 67 #include "sky/engine/public/web/WebNode.h"
68 #include "sky/engine/public/web/WebSettings.h" 68 #include "sky/engine/public/web/WebSettings.h"
69 #include "sky/engine/public/web/WebTextAffinity.h" 69 #include "sky/engine/public/web/WebTextAffinity.h"
70 #include "sky/engine/public/web/WebTextCheckingResult.h" 70 #include "sky/engine/public/web/WebTextCheckingResult.h"
71 #include "sky/engine/public/web/WebTextCheckingType.h" 71 #include "sky/engine/public/web/WebTextCheckingType.h"
72 #include "sky/engine/public/web/WebTextDecorationType.h" 72 #include "sky/engine/public/web/WebTextDecorationType.h"
73 #include "sky/engine/public/web/WebTouchAction.h"
74 #include "sky/engine/public/web/WebView.h" 73 #include "sky/engine/public/web/WebView.h"
75 #include "sky/engine/wtf/Assertions.h" 74 #include "sky/engine/wtf/Assertions.h"
76 #include "sky/engine/wtf/text/StringImpl.h" 75 #include "sky/engine/wtf/text/StringImpl.h"
77 76
78 namespace blink { 77 namespace blink {
79 78
80 #define COMPILE_ASSERT_MATCHING_ENUM(public_name, core_name) \ 79 #define COMPILE_ASSERT_MATCHING_ENUM(public_name, core_name) \
81 COMPILE_ASSERT(int(public_name) == int(core_name), mismatching_enums) 80 COMPILE_ASSERT(int(public_name) == int(core_name), mismatching_enums)
82 81
83 #define COMPILE_ASSERT_MATCHING_UINT64(public_name, core_name) \ 82 #define COMPILE_ASSERT_MATCHING_UINT64(public_name, core_name) \
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 COMPILE_ASSERT_MATCHING_ENUM(WebNavigationPolicyNewForegroundTab, NavigationPoli cyNewForegroundTab); 200 COMPILE_ASSERT_MATCHING_ENUM(WebNavigationPolicyNewForegroundTab, NavigationPoli cyNewForegroundTab);
202 COMPILE_ASSERT_MATCHING_ENUM(WebNavigationPolicyNewWindow, NavigationPolicyNewWi ndow); 201 COMPILE_ASSERT_MATCHING_ENUM(WebNavigationPolicyNewWindow, NavigationPolicyNewWi ndow);
203 COMPILE_ASSERT_MATCHING_ENUM(WebNavigationPolicyNewPopup, NavigationPolicyNewPop up); 202 COMPILE_ASSERT_MATCHING_ENUM(WebNavigationPolicyNewPopup, NavigationPolicyNewPop up);
204 203
205 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelDebug, DebugMessageLevel); 204 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelDebug, DebugMessageLevel);
206 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelLog, LogMessageLevel); 205 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelLog, LogMessageLevel);
207 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelWarning, WarningMessageLeve l); 206 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelWarning, WarningMessageLeve l);
208 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelError, ErrorMessageLevel); 207 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelError, ErrorMessageLevel);
209 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelInfo, InfoMessageLevel); 208 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelInfo, InfoMessageLevel);
210 209
211 COMPILE_ASSERT_MATCHING_ENUM(WebTouchActionNone, TouchActionNone);
212 COMPILE_ASSERT_MATCHING_ENUM(WebTouchActionAuto, TouchActionAuto);
213 COMPILE_ASSERT_MATCHING_ENUM(WebTouchActionPanX, TouchActionPanX);
214 COMPILE_ASSERT_MATCHING_ENUM(WebTouchActionPanY, TouchActionPanY);
215 COMPILE_ASSERT_MATCHING_ENUM(WebTouchActionPinchZoom, TouchActionPinchZoom);
216
217 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsOff, V8CacheOptionsOff); 210 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsOff, V8CacheOptionsOff);
218 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsParse, V8CacheOptionsPar se); 211 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsParse, V8CacheOptionsPar se);
219 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsCode, V8CacheOptionsCode ); 212 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsCode, V8CacheOptionsCode );
220 213
221 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeNone, PointerTypeNone); 214 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeNone, PointerTypeNone);
222 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeCoarse, PointerTypeCoarse); 215 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeCoarse, PointerTypeCoarse);
223 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeFine, PointerTypeFine); 216 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeFine, PointerTypeFine);
224 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeNone, HoverTypeNone); 217 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeNone, HoverTypeNone);
225 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeOnDemand, HoverTypeOnDemand); 218 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeOnDemand, HoverTypeOnDemand);
226 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeHover, HoverTypeHover); 219 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeHover, HoverTypeHover);
227 220
228 } // namespace blink 221 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/public/web/WebWidgetClient.h ('k') | sky/engine/web/ChromeClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698