| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 bool is_new_navigation) OVERRIDE; | 53 bool is_new_navigation) OVERRIDE; |
| 54 virtual void DetailedConsoleMessageAdded(const base::string16& message, | 54 virtual void DetailedConsoleMessageAdded(const base::string16& message, |
| 55 const base::string16& source, | 55 const base::string16& source, |
| 56 const base::string16& stack_trace, | 56 const base::string16& stack_trace, |
| 57 int32 line_number, | 57 int32 line_number, |
| 58 int32 severity_level) OVERRIDE; | 58 int32 severity_level) OVERRIDE; |
| 59 virtual void Navigate(const GURL& url) OVERRIDE; | 59 virtual void Navigate(const GURL& url) OVERRIDE; |
| 60 | 60 |
| 61 void OnWebUIJavaScript(const base::string16& javascript); | 61 void OnWebUIJavaScript(const base::string16& javascript); |
| 62 void OnSetClientSidePhishingDetection(bool enable_phishing_detection); | 62 void OnSetClientSidePhishingDetection(bool enable_phishing_detection); |
| 63 void OnSetName(const std::string& name); |
| 63 void OnSetVisuallyDeemphasized(bool deemphasized); | 64 void OnSetVisuallyDeemphasized(bool deemphasized); |
| 64 void OnGetFPS(); | 65 void OnGetFPS(); |
| 65 #if defined(OS_ANDROID) | 66 #if defined(OS_ANDROID) |
| 66 void OnUpdateTopControlsState(content::TopControlsState constraints, | 67 void OnUpdateTopControlsState(content::TopControlsState constraints, |
| 67 content::TopControlsState current, | 68 content::TopControlsState current, |
| 68 bool animate); | 69 bool animate); |
| 69 void OnRetrieveWebappInformation(const GURL& expected_url); | 70 void OnRetrieveWebappInformation(const GURL& expected_url); |
| 70 void OnRetrieveMetaTagContent(const GURL& expected_url, | 71 void OnRetrieveMetaTagContent(const GURL& expected_url, |
| 71 const std::string tag_name); | 72 const std::string tag_name); |
| 72 #endif | 73 #endif |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 // A color page overlay when visually de-emaphasized. | 112 // A color page overlay when visually de-emaphasized. |
| 112 scoped_ptr<WebViewColorOverlay> dimmed_color_overlay_; | 113 scoped_ptr<WebViewColorOverlay> dimmed_color_overlay_; |
| 113 | 114 |
| 114 // Used to delay calling CapturePageInfo. | 115 // Used to delay calling CapturePageInfo. |
| 115 base::Timer capture_timer_; | 116 base::Timer capture_timer_; |
| 116 | 117 |
| 117 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); | 118 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); |
| 118 }; | 119 }; |
| 119 | 120 |
| 120 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ | 121 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ |
| OLD | NEW |