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

Unified Diff: chrome/browser/three_d_api_observer.h

Issue 12319119: Fix layering violation in content\browser\renderer_host. That directory shouldn't be including web_… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/three_d_api_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/three_d_api_observer.h
===================================================================
--- chrome/browser/three_d_api_observer.h (revision 184684)
+++ chrome/browser/three_d_api_observer.h (working copy)
@@ -5,20 +5,19 @@
#ifndef CHROME_BROWSER_THREE_D_API_OBSERVER_H_
#define CHROME_BROWSER_THREE_D_API_OBSERVER_H_
-#include "content/public/browser/web_contents_observer.h"
-#include "content/public/browser/web_contents_user_data.h"
+#include "base/compiler_specific.h"
+#include "content/public/browser/gpu_data_manager_observer.h"
class ThreeDAPIObserver
- : public content::WebContentsObserver,
- public content::WebContentsUserData<ThreeDAPIObserver> {
+ : public content::GpuDataManagerObserver {
public:
+ ThreeDAPIObserver();
virtual ~ThreeDAPIObserver();
private:
- explicit ThreeDAPIObserver(content::WebContents* web_contents);
- friend class content::WebContentsUserData<ThreeDAPIObserver>;
-
virtual void DidBlock3DAPIs(const GURL& url,
+ int render_process_id,
+ int render_view_id,
content::ThreeDAPIType requester) OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(ThreeDAPIObserver);
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/three_d_api_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698