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

Side by Side Diff: content/browser/vr/vr_service_consumer.h

Issue 829803003: Adding Chrome-side WebVR interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't install message filter unless enable flag is present. Created 5 years, 9 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
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_VR_VR_SERVICE_CONSUMER_H
6 #define CONTENT_BROWSER_VR_VR_SERVICE_CONSUMER_H
7
8 #include "base/basictypes.h"
9 #include "content/common/content_export.h"
10
11 namespace content {
12
13 class VRService;
14
15 // Provides a consistent mechanism for tracking objects which use the VRService.
16 // In the future may also provide an interface for the service to push messages.
17 class CONTENT_EXPORT VRServiceConsumer {
18 public:
19 VRServiceConsumer();
20 virtual ~VRServiceConsumer();
21
22 // Returns the VRService singleton.
23 VRService* GetServiceInstance();
24
25 private:
26 bool registered_with_service_;
27
28 DISALLOW_COPY_AND_ASSIGN(VRServiceConsumer);
29 };
30
31 } // namespace content
32
33 #endif // CONTENT_BROWSER_VR_VR_SERVICE_CONSUMER_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698