~abreu-alexandre/oxide/vibrate

« back to all changes in this revision

Viewing changes to shared/browser/oxide_browser_platform_integration.h

  • Committer: Alexandre Abreu
  • Date: 2016-02-01 20:17:09 UTC
  • mfrom: (1272.4.2 vibrate)
  • Revision ID: alexandre.abreu@canonical.com-20160201201709-opshbr8b12s1gw9r
VibrationĀ APIĀ support

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include "base/memory/scoped_ptr.h"
25
25
#include "base/observer_list.h"
26
26
#include "content/public/browser/browser_thread.h"
 
27
#include "device/vibration/vibration_manager_impl.h"
27
28
#include "third_party/WebKit/public/platform/WebScreenInfo.h"
28
29
 
29
30
class GURL;
105
106
  // Get the application name. Can be called on any thread
106
107
  virtual std::string GetApplicationName();
107
108
 
 
109
  // Get the proper vibration manager factory
 
110
  virtual void CreateVibrationManager(
 
111
      mojo::InterfaceRequest<device::VibrationManager> request);
 
112
 
108
113
 protected:
109
114
  BrowserPlatformIntegration();
110
115