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