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

Side by Side Diff: chrome/browser/renderer_host/chrome_render_view_host_observer.h

Issue 9683003: Aura: Show dialog box asking user's permisssion for screen sharing for gtalk (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_VIEW_HOST_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_VIEW_HOST_OBSERVER_H_
6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_VIEW_HOST_OBSERVER_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_VIEW_HOST_OBSERVER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/public/browser/render_view_host_observer.h" 9 #include "content/public/browser/render_view_host_observer.h"
10 #include "ppapi/shared_impl/host_resource.h"
10 11
11 namespace chrome_browser_net { 12 namespace chrome_browser_net {
12 class Predictor; 13 class Predictor;
13 } 14 }
14 15
15 class Extension; 16 class Extension;
16 class Profile; 17 class Profile;
17 18
18 // This class holds the Chrome specific parts of RenderViewHost, and has the 19 // This class holds the Chrome specific parts of RenderViewHost, and has the
19 // same lifetime. 20 // same lifetime.
(...skipping 14 matching lines...) Expand all
34 // created. 35 // created.
35 void InitRenderViewHostForExtensions(); 36 void InitRenderViewHostForExtensions();
36 // Does extension-specific initialization when a new renderer process is 37 // Does extension-specific initialization when a new renderer process is
37 // created by a RenderViewHost. 38 // created by a RenderViewHost.
38 void InitRenderViewForExtensions(); 39 void InitRenderViewForExtensions();
39 // Gets the extension or app (if any) that is associated with the RVH. 40 // Gets the extension or app (if any) that is associated with the RVH.
40 const Extension* GetExtension(); 41 const Extension* GetExtension();
41 // Cleans up when a RenderViewHost is removed, or on destruction. 42 // Cleans up when a RenderViewHost is removed, or on destruction.
42 void RemoveRenderViewHostForExtensions(content::RenderViewHost* rvh); 43 void RemoveRenderViewHostForExtensions(content::RenderViewHost* rvh);
43 void OnFocusedEditableNodeTouched(); 44 void OnFocusedEditableNodeTouched();
45 void OnGetTalkPermission(const ppapi::HostResource& resource);
44 46
45 Profile* profile_; 47 Profile* profile_;
46 chrome_browser_net::Predictor* predictor_; 48 chrome_browser_net::Predictor* predictor_;
47 49
48 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewHostObserver); 50 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewHostObserver);
49 }; 51 };
50 52
51 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_VIEW_HOST_OBSERVER_H_ 53 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_VIEW_HOST_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698