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

Unified Diff: Source/modules/presentation/PresentationError.h

Issue 940503002: [PresentationAPI] Added plumbing for start/joinSession from JS to platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Full change Created 5 years, 10 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: Source/modules/presentation/PresentationError.h
diff --git a/Source/modules/presentation/PresentationError.h b/Source/modules/presentation/PresentationError.h
new file mode 100644
index 0000000000000000000000000000000000000000..c5a3fddb18326d04af9c137acc170e6c487f289c
--- /dev/null
+++ b/Source/modules/presentation/PresentationError.h
@@ -0,0 +1,27 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef PresentationError_h
+#define PresentationError_h
+
+#include "platform/heap/Handle.h"
+#include "public/platform/modules/presentation/WebPresentationError.h"
+
+namespace blink {
+
+class DOMException;
+
+// A container of methods taking care of WebPresentationError in WebCallbacks subclasses.
+class PresentationError final {
+public:
+ static PassRefPtrWillBeRawPtr<DOMException> take(WebPresentationError*);
+ static void dispose(WebPresentationError*);
+
+private:
+ ~PresentationError() = delete;
+};
+
+} // namespace blink
+
+#endif // PresentationError_h
« no previous file with comments | « Source/modules/presentation/PresentationController.cpp ('k') | Source/modules/presentation/PresentationError.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698