| 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 <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 ContentSettingsObserver* content_settings, | 46 ContentSettingsObserver* content_settings, |
| 47 ExtensionDispatcher* extension_dispatcher, | 47 ExtensionDispatcher* extension_dispatcher, |
| 48 TranslateHelper* translate_helper, | 48 TranslateHelper* translate_helper, |
| 49 safe_browsing::PhishingClassifierDelegate* phishing_classifier); | 49 safe_browsing::PhishingClassifierDelegate* phishing_classifier); |
| 50 virtual ~ChromeRenderViewObserver(); | 50 virtual ~ChromeRenderViewObserver(); |
| 51 | 51 |
| 52 private: | 52 private: |
| 53 // RenderViewObserver implementation. | 53 // RenderViewObserver implementation. |
| 54 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 54 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
| 55 virtual void DidStopLoading() OVERRIDE; | 55 virtual void DidStopLoading() OVERRIDE; |
| 56 virtual void DidChangeIcons(WebKit::WebFrame* frame) OVERRIDE; | 56 virtual void DidChangeIcon(WebKit::WebFrame* frame, |
| 57 WebKit::WebIconURL::Type icon_type) OVERRIDE; |
| 57 virtual void DidCommitProvisionalLoad(WebKit::WebFrame* frame, | 58 virtual void DidCommitProvisionalLoad(WebKit::WebFrame* frame, |
| 58 bool is_new_navigation) OVERRIDE; | 59 bool is_new_navigation) OVERRIDE; |
| 59 virtual void DidClearWindowObject(WebKit::WebFrame* frame) OVERRIDE; | 60 virtual void DidClearWindowObject(WebKit::WebFrame* frame) OVERRIDE; |
| 60 | 61 |
| 61 // WebKit::WebPageSerializerClient implementation. | 62 // WebKit::WebPageSerializerClient implementation. |
| 62 virtual void didSerializeDataForFrame( | 63 virtual void didSerializeDataForFrame( |
| 63 const WebKit::WebURL& frame_url, | 64 const WebKit::WebURL& frame_url, |
| 64 const WebKit::WebCString& data, | 65 const WebKit::WebCString& data, |
| 65 PageSerializationStatus status) OVERRIDE; | 66 PageSerializationStatus status) OVERRIDE; |
| 66 | 67 |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 ScopedRunnableMethodFactory<ChromeRenderViewObserver> | 172 ScopedRunnableMethodFactory<ChromeRenderViewObserver> |
| 172 page_info_method_factory_; | 173 page_info_method_factory_; |
| 173 | 174 |
| 174 // ImageResourceFetchers schedule via DownloadImage. | 175 // ImageResourceFetchers schedule via DownloadImage. |
| 175 RenderView::ImageResourceFetcherList image_fetchers_; | 176 RenderView::ImageResourceFetcherList image_fetchers_; |
| 176 | 177 |
| 177 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); | 178 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); |
| 178 }; | 179 }; |
| 179 | 180 |
| 180 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ | 181 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ |
| OLD | NEW |