| 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_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ | 5 #ifndef CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ |
| 6 #define CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ | 6 #define CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/memory/linked_ptr.h" | 12 #include "base/memory/linked_ptr.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/task.h" | 14 #include "base/task.h" |
| 15 #include "content/public/renderer/render_view_observer.h" | 15 #include "content/public/renderer/render_view_observer.h" |
| 16 #include "content/renderer/render_view.h" | |
| 17 #include "googleurl/src/gurl.h" | 16 #include "googleurl/src/gurl.h" |
| 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPermissionClient.h
" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPermissionClient.h
" |
| 19 | 18 |
| 20 class ChromeRenderProcessObserver; | 19 class ChromeRenderProcessObserver; |
| 21 class ContentSettingsObserver; | 20 class ContentSettingsObserver; |
| 22 class DomAutomationController; | 21 class DomAutomationController; |
| 23 class ExtensionDispatcher; | 22 class ExtensionDispatcher; |
| 24 class ExternalHostBindings; | 23 class ExternalHostBindings; |
| 25 class FilePath; | 24 class FilePath; |
| 26 class SkBitmap; | 25 class SkBitmap; |
| 27 class TranslateHelper; | 26 class TranslateHelper; |
| 28 struct ThumbnailScore; | 27 struct ThumbnailScore; |
| 29 struct ViewMsg_Navigate_Params; | 28 struct ViewMsg_Navigate_Params; |
| 30 | 29 |
| 30 namespace WebKit { |
| 31 class WebView; |
| 32 } |
| 31 namespace safe_browsing { | 33 namespace safe_browsing { |
| 32 class PhishingClassifierDelegate; | 34 class PhishingClassifierDelegate; |
| 33 } | 35 } |
| 34 | 36 |
| 35 namespace webkit_glue { | 37 namespace webkit_glue { |
| 36 class ImageResourceFetcher; | 38 class ImageResourceFetcher; |
| 37 } | 39 } |
| 38 | 40 |
| 39 // This class holds the Chrome specific parts of RenderView, and has the same | 41 // This class holds the Chrome specific parts of RenderView, and has the same |
| 40 // lifetime. | 42 // lifetime. |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 typedef std::vector<linked_ptr<webkit_glue::ImageResourceFetcher> > | 211 typedef std::vector<linked_ptr<webkit_glue::ImageResourceFetcher> > |
| 210 ImageResourceFetcherList; | 212 ImageResourceFetcherList; |
| 211 | 213 |
| 212 // ImageResourceFetchers schedule via DownloadImage. | 214 // ImageResourceFetchers schedule via DownloadImage. |
| 213 ImageResourceFetcherList image_fetchers_; | 215 ImageResourceFetcherList image_fetchers_; |
| 214 | 216 |
| 215 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); | 217 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); |
| 216 }; | 218 }; |
| 217 | 219 |
| 218 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ | 220 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ |
| OLD | NEW |