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

Side by Side Diff: public/web/WebMediaDevicesRequest.h

Issue 401973003: Rename WebCore namespace to blink in Public (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « public/web/WebMIDIPermissionRequest.h ('k') | public/web/WebNode.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) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 13 matching lines...) Expand all
24 */ 24 */
25 25
26 #ifndef WebMediaDevicesRequest_h 26 #ifndef WebMediaDevicesRequest_h
27 #define WebMediaDevicesRequest_h 27 #define WebMediaDevicesRequest_h
28 28
29 #include "WebSecurityOrigin.h" 29 #include "WebSecurityOrigin.h"
30 #include "public/platform/WebCommon.h" 30 #include "public/platform/WebCommon.h"
31 #include "public/platform/WebPrivatePtr.h" 31 #include "public/platform/WebPrivatePtr.h"
32 #include "public/platform/WebString.h" 32 #include "public/platform/WebString.h"
33 33
34 namespace WebCore { 34 namespace blink {
35 class MediaDevicesRequest; 35 class MediaDevicesRequest;
36 } 36 }
37 37
38 namespace blink { 38 namespace blink {
39 class WebDocument; 39 class WebDocument;
40 class WebMediaDeviceInfo; 40 class WebMediaDeviceInfo;
41 template <typename T> class WebVector; 41 template <typename T> class WebVector;
42 42
43 class WebMediaDevicesRequest { 43 class WebMediaDevicesRequest {
44 public: 44 public:
(...skipping 11 matching lines...) Expand all
56 bool isNull() const { return m_private.isNull(); } 56 bool isNull() const { return m_private.isNull(); }
57 BLINK_EXPORT bool equals(const WebMediaDevicesRequest&) const; 57 BLINK_EXPORT bool equals(const WebMediaDevicesRequest&) const;
58 BLINK_EXPORT void assign(const WebMediaDevicesRequest&); 58 BLINK_EXPORT void assign(const WebMediaDevicesRequest&);
59 59
60 BLINK_EXPORT WebSecurityOrigin securityOrigin() const; 60 BLINK_EXPORT WebSecurityOrigin securityOrigin() const;
61 BLINK_EXPORT WebDocument ownerDocument() const; 61 BLINK_EXPORT WebDocument ownerDocument() const;
62 62
63 BLINK_EXPORT void requestSucceeded(WebVector<WebMediaDeviceInfo>); 63 BLINK_EXPORT void requestSucceeded(WebVector<WebMediaDeviceInfo>);
64 64
65 #if BLINK_IMPLEMENTATION 65 #if BLINK_IMPLEMENTATION
66 WebMediaDevicesRequest(WebCore::MediaDevicesRequest*); 66 WebMediaDevicesRequest(blink::MediaDevicesRequest*);
67 operator WebCore::MediaDevicesRequest*() const; 67 operator blink::MediaDevicesRequest*() const;
68 #endif 68 #endif
69 69
70 private: 70 private:
71 WebPrivatePtr<WebCore::MediaDevicesRequest> m_private; 71 WebPrivatePtr<blink::MediaDevicesRequest> m_private;
72 }; 72 };
73 73
74 inline bool operator==(const WebMediaDevicesRequest& a, const WebMediaDevicesReq uest& b) 74 inline bool operator==(const WebMediaDevicesRequest& a, const WebMediaDevicesReq uest& b)
75 { 75 {
76 return a.equals(b); 76 return a.equals(b);
77 } 77 }
78 78
79 } // namespace blink 79 } // namespace blink
80 80
81 #endif // WebMediaDevicesRequest_h 81 #endif // WebMediaDevicesRequest_h
OLDNEW
« no previous file with comments | « public/web/WebMIDIPermissionRequest.h ('k') | public/web/WebNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698