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

Unified Diff: sky/engine/bindings-dart/common/DeleteResult.h

Issue 875013003: Import Dart bindings as of Blink r188698. This merely copies the files over and does not attach any… (Closed) Base URL: https://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 side-by-side diff with in-line comments
Download patch
Index: sky/engine/bindings-dart/common/DeleteResult.h
diff --git a/sky/engine/core/inspector/InspectorCounters.cpp b/sky/engine/bindings-dart/common/DeleteResult.h
similarity index 80%
copy from sky/engine/core/inspector/InspectorCounters.cpp
copy to sky/engine/bindings-dart/common/DeleteResult.h
index 6c3aec801a29bb77c6c3932c7dc8baec12d81a74..1b6f18377a3ab6a8099f1d105dc5518fc2280149 100644
--- a/sky/engine/core/inspector/InspectorCounters.cpp
+++ b/sky/engine/bindings-dart/common/DeleteResult.h
@@ -1,5 +1,6 @@
/*
-* Copyright (C) 2012 Google Inc. All rights reserved.
+* Copyright (C) 2009 Google Inc. All rights reserved.
+* Copyright (C) 2012 Ericsson AB. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -28,17 +29,19 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "sky/engine/config.h"
-#include "sky/engine/core/inspector/InspectorCounters.h"
+#ifndef DeleteResult_h
+#define DeleteResult_h
namespace blink {
-int InspectorCounters::s_counters[CounterTypeLength];
-
-int InspectorCounters::counterValue(CounterType type)
-{
- return s_counters[type];
-}
+// Result values for platform object 'deleter' methods,
+// http://www.w3.org/TR/WebIDL/#delete
+enum DeleteResult {
+ DeleteSuccess,
+ DeleteReject,
+ DeleteUnknownProperty
+};
} // namespace blink
+#endif // DeleteResult_h
« no previous file with comments | « sky/engine/bindings-dart/common/BindingSecurity.cpp ('k') | sky/engine/bindings-dart/common/ExceptionMessages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698