| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 virtual void DidStartLoading() OVERRIDE; | 50 virtual void DidStartLoading() OVERRIDE; |
| 51 virtual void DidStopLoading() OVERRIDE; | 51 virtual void DidStopLoading() OVERRIDE; |
| 52 virtual void DidCommitProvisionalLoad(blink::WebLocalFrame* frame, | 52 virtual void DidCommitProvisionalLoad(blink::WebLocalFrame* frame, |
| 53 bool is_new_navigation) OVERRIDE; | 53 bool is_new_navigation) OVERRIDE; |
| 54 virtual void Navigate(const GURL& url) OVERRIDE; | 54 virtual void Navigate(const GURL& url) OVERRIDE; |
| 55 | 55 |
| 56 void OnWebUIJavaScript(const base::string16& javascript); | 56 void OnWebUIJavaScript(const base::string16& javascript); |
| 57 void OnSetClientSidePhishingDetection(bool enable_phishing_detection); | 57 void OnSetClientSidePhishingDetection(bool enable_phishing_detection); |
| 58 void OnSetName(const std::string& name); | 58 void OnSetName(const std::string& name); |
| 59 void OnSetVisuallyDeemphasized(bool deemphasized); | 59 void OnSetVisuallyDeemphasized(bool deemphasized); |
| 60 void OnGetFPS(); | |
| 61 #if defined(OS_ANDROID) | 60 #if defined(OS_ANDROID) |
| 62 void OnUpdateTopControlsState(content::TopControlsState constraints, | 61 void OnUpdateTopControlsState(content::TopControlsState constraints, |
| 63 content::TopControlsState current, | 62 content::TopControlsState current, |
| 64 bool animate); | 63 bool animate); |
| 65 void OnRetrieveWebappInformation(const GURL& expected_url); | 64 void OnRetrieveWebappInformation(const GURL& expected_url); |
| 66 void OnRetrieveMetaTagContent(const GURL& expected_url, | 65 void OnRetrieveMetaTagContent(const GURL& expected_url, |
| 67 const std::string tag_name); | 66 const std::string tag_name); |
| 68 #endif | 67 #endif |
| 69 void OnSetWindowFeatures(const blink::WebWindowFeatures& window_features); | 68 void OnSetWindowFeatures(const blink::WebWindowFeatures& window_features); |
| 70 | 69 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 // A color page overlay when visually de-emaphasized. | 106 // A color page overlay when visually de-emaphasized. |
| 108 scoped_ptr<WebViewColorOverlay> dimmed_color_overlay_; | 107 scoped_ptr<WebViewColorOverlay> dimmed_color_overlay_; |
| 109 | 108 |
| 110 // Used to delay calling CapturePageInfo. | 109 // Used to delay calling CapturePageInfo. |
| 111 base::Timer capture_timer_; | 110 base::Timer capture_timer_; |
| 112 | 111 |
| 113 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); | 112 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); |
| 114 }; | 113 }; |
| 115 | 114 |
| 116 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ | 115 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ |
| OLD | NEW |