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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 bool notify_result; | 65 bool notify_result; |
66 }; | 66 }; |
67 | 67 |
68 // RenderViewObserver implementation. | 68 // RenderViewObserver implementation. |
69 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 69 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
70 virtual void DidStartLoading() OVERRIDE; | 70 virtual void DidStartLoading() OVERRIDE; |
71 virtual void DidStopLoading() OVERRIDE; | 71 virtual void DidStopLoading() OVERRIDE; |
72 virtual void DidCommitProvisionalLoad(WebKit::WebFrame* frame, | 72 virtual void DidCommitProvisionalLoad(WebKit::WebFrame* frame, |
73 bool is_new_navigation) OVERRIDE; | 73 bool is_new_navigation) OVERRIDE; |
74 virtual void DidClearWindowObject(WebKit::WebFrame* frame) OVERRIDE; | 74 virtual void DidClearWindowObject(WebKit::WebFrame* frame) OVERRIDE; |
75 virtual void DidHandleGestureEvent( | |
76 const WebKit::WebGestureEvent& event) OVERRIDE; | |
77 virtual void DetailedConsoleMessageAdded(const base::string16& message, | 75 virtual void DetailedConsoleMessageAdded(const base::string16& message, |
78 const base::string16& source, | 76 const base::string16& source, |
79 const base::string16& stack_trace, | 77 const base::string16& stack_trace, |
80 int32 line_number, | 78 int32 line_number, |
81 int32 severity_level) OVERRIDE; | 79 int32 severity_level) OVERRIDE; |
82 | 80 |
83 // WebKit::WebPermissionClient implementation. | 81 // WebKit::WebPermissionClient implementation. |
84 virtual bool allowDatabase(WebKit::WebFrame* frame, | 82 virtual bool allowDatabase(WebKit::WebFrame* frame, |
85 const WebKit::WebString& name, | 83 const WebKit::WebString& name, |
86 const WebKit::WebString& display_name, | 84 const WebKit::WebString& display_name, |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 // A color page overlay when visually de-emaphasized. | 205 // A color page overlay when visually de-emaphasized. |
208 scoped_ptr<WebViewColorOverlay> dimmed_color_overlay_; | 206 scoped_ptr<WebViewColorOverlay> dimmed_color_overlay_; |
209 | 207 |
210 // Used to delay calling CapturePageInfo. | 208 // Used to delay calling CapturePageInfo. |
211 base::Timer capture_timer_; | 209 base::Timer capture_timer_; |
212 | 210 |
213 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); | 211 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); |
214 }; | 212 }; |
215 | 213 |
216 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ | 214 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ |
OLD | NEW |