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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 int32 severity_level) OVERRIDE; | 67 int32 severity_level) OVERRIDE; |
68 virtual void Navigate(const GURL& url) OVERRIDE; | 68 virtual void Navigate(const GURL& url) OVERRIDE; |
69 | 69 |
70 void OnWebUIJavaScript(const base::string16& frame_xpath, | 70 void OnWebUIJavaScript(const base::string16& frame_xpath, |
71 const base::string16& jscript, | 71 const base::string16& jscript, |
72 int id, | 72 int id, |
73 bool notify_result); | 73 bool notify_result); |
74 void OnJavaScriptStressTestControl(int cmd, int param); | 74 void OnJavaScriptStressTestControl(int cmd, int param); |
75 void OnSetClientSidePhishingDetection(bool enable_phishing_detection); | 75 void OnSetClientSidePhishingDetection(bool enable_phishing_detection); |
76 void OnSetVisuallyDeemphasized(bool deemphasized); | 76 void OnSetVisuallyDeemphasized(bool deemphasized); |
77 void OnRequestThumbnailForContextNode(int thumbnail_min_area_pixels, | |
78 gfx::Size thumbnail_max_size_pixels); | |
79 void OnGetFPS(); | 77 void OnGetFPS(); |
80 #if defined(OS_ANDROID) | 78 #if defined(OS_ANDROID) |
81 void OnUpdateTopControlsState(content::TopControlsState constraints, | 79 void OnUpdateTopControlsState(content::TopControlsState constraints, |
82 content::TopControlsState current, | 80 content::TopControlsState current, |
83 bool animate); | 81 bool animate); |
84 void OnRetrieveWebappInformation(const GURL& expected_url); | 82 void OnRetrieveWebappInformation(const GURL& expected_url); |
85 void OnRetrieveMetaTagContent(const GURL& expected_url, | 83 void OnRetrieveMetaTagContent(const GURL& expected_url, |
86 const std::string tag_name); | 84 const std::string tag_name); |
87 #endif | 85 #endif |
88 void OnSetWindowFeatures(const blink::WebWindowFeatures& window_features); | 86 void OnSetWindowFeatures(const blink::WebWindowFeatures& window_features); |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 // A color page overlay when visually de-emaphasized. | 124 // A color page overlay when visually de-emaphasized. |
127 scoped_ptr<WebViewColorOverlay> dimmed_color_overlay_; | 125 scoped_ptr<WebViewColorOverlay> dimmed_color_overlay_; |
128 | 126 |
129 // Used to delay calling CapturePageInfo. | 127 // Used to delay calling CapturePageInfo. |
130 base::Timer capture_timer_; | 128 base::Timer capture_timer_; |
131 | 129 |
132 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); | 130 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); |
133 }; | 131 }; |
134 | 132 |
135 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ | 133 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ |
OLD | NEW |