~zaspire/oxide/push-messaging

« back to all changes in this revision

Viewing changes to shared/browser/oxide_web_view_contents_helper.h

  • Committer: Chris Coulson
  • Date: 2015-06-04 13:21:49 UTC
  • mfrom: (1103.2.4 permissions)
  • Revision ID: chris.coulson@canonical.com-20150604132149-lgnyd0lduibnwbjr
Land some refactoring of permissions, which starts to decouple it from WebView in to separate classes

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
                                    private WebPreferencesObserver,
42
42
                                    private base::SupportsUserData::Data {
43
43
 public:
44
 
  WebViewContentsHelper(content::WebContents* contents);
45
44
  WebViewContentsHelper(content::WebContents* contents,
46
 
                        WebViewContentsHelper* opener);
 
45
                        content::WebContents* opener);
47
46
 
48
47
  static WebViewContentsHelper* FromWebContents(content::WebContents* contents);
49
48
  static WebViewContentsHelper* FromRenderViewHost(content::RenderViewHost* rvh);
58
57
 
59
58
 private:
60
59
  ~WebViewContentsHelper();
61
 
  void Init();
62
60
 
63
61
  void UpdateWebPreferences();
64
62