Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 | 10 |
| 11 namespace chrome_browser_net { | 11 namespace chrome_browser_net { |
| 12 class Predictor; | 12 class Predictor; |
| 13 } | 13 } |
| 14 | 14 |
| 15 namespace content { | |
|
Aaron Boodman
2012/04/20 06:34:56
?
benwells
2012/04/23 05:00:26
Done.
| |
| 16 class WebContents; | |
| 17 } | |
| 18 | |
| 15 class Extension; | 19 class Extension; |
| 16 class Profile; | 20 class Profile; |
| 17 | 21 |
| 18 // This class holds the Chrome specific parts of RenderViewHost, and has the | 22 // This class holds the Chrome specific parts of RenderViewHost, and has the |
| 19 // same lifetime. | 23 // same lifetime. |
| 20 class ChromeRenderViewHostObserver : public content::RenderViewHostObserver { | 24 class ChromeRenderViewHostObserver : public content::RenderViewHostObserver { |
| 21 public: | 25 public: |
| 22 ChromeRenderViewHostObserver(content::RenderViewHost* render_view_host, | 26 ChromeRenderViewHostObserver(content::RenderViewHost* render_view_host, |
| 23 chrome_browser_net::Predictor* predictor); | 27 chrome_browser_net::Predictor* predictor); |
| 24 virtual ~ChromeRenderViewHostObserver(); | 28 virtual ~ChromeRenderViewHostObserver(); |
| (...skipping 17 matching lines...) Expand all Loading... | |
| 42 void RemoveRenderViewHostForExtensions(content::RenderViewHost* rvh); | 46 void RemoveRenderViewHostForExtensions(content::RenderViewHost* rvh); |
| 43 void OnFocusedEditableNodeTouched(); | 47 void OnFocusedEditableNodeTouched(); |
| 44 | 48 |
| 45 Profile* profile_; | 49 Profile* profile_; |
| 46 chrome_browser_net::Predictor* predictor_; | 50 chrome_browser_net::Predictor* predictor_; |
| 47 | 51 |
| 48 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewHostObserver); | 52 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewHostObserver); |
| 49 }; | 53 }; |
| 50 | 54 |
| 51 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_VIEW_HOST_OBSERVER_H_ | 55 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_VIEW_HOST_OBSERVER_H_ |
| OLD | NEW |