OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_RENDER_VIEW_H_ | 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_ |
6 #define CHROME_RENDERER_RENDER_VIEW_H_ | 6 #define CHROME_RENDERER_RENDER_VIEW_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 virtual void DidFinishDocumentLoadForFrame(WebView* webview, WebFrame* frame); | 200 virtual void DidFinishDocumentLoadForFrame(WebView* webview, WebFrame* frame); |
201 virtual bool DidLoadResourceFromMemoryCache(WebView* webview, | 201 virtual bool DidLoadResourceFromMemoryCache(WebView* webview, |
202 const WebRequest& request, | 202 const WebRequest& request, |
203 const WebResponse& response, | 203 const WebResponse& response, |
204 WebFrame* frame); | 204 WebFrame* frame); |
205 virtual void DidHandleOnloadEventsForFrame(WebView* webview, WebFrame* frame); | 205 virtual void DidHandleOnloadEventsForFrame(WebView* webview, WebFrame* frame); |
206 virtual void DidChangeLocationWithinPageForFrame(WebView* webview, | 206 virtual void DidChangeLocationWithinPageForFrame(WebView* webview, |
207 WebFrame* frame, | 207 WebFrame* frame, |
208 bool is_new_navigation); | 208 bool is_new_navigation); |
209 virtual void DidReceiveIconForFrame(WebView* webview, WebFrame* frame); | 209 virtual void DidReceiveIconForFrame(WebView* webview, WebFrame* frame); |
| 210 virtual void DidContentsSizeChange(WebWidget* webwidget, |
| 211 int new_width, |
| 212 int new_height); |
210 | 213 |
211 virtual void WillPerformClientRedirect(WebView* webview, | 214 virtual void WillPerformClientRedirect(WebView* webview, |
212 WebFrame* frame, | 215 WebFrame* frame, |
213 const GURL& src_url, | 216 const GURL& src_url, |
214 const GURL& dest_url, | 217 const GURL& dest_url, |
215 unsigned int delay_seconds, | 218 unsigned int delay_seconds, |
216 unsigned int fire_date); | 219 unsigned int fire_date); |
217 virtual void DidCancelClientRedirect(WebView* webview, | 220 virtual void DidCancelClientRedirect(WebView* webview, |
218 WebFrame* frame); | 221 WebFrame* frame); |
219 virtual void DidCompleteClientRedirect(WebView* webview, | 222 virtual void DidCompleteClientRedirect(WebView* webview, |
(...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
822 IDMap<WebFrame> pending_extension_callbacks_; | 825 IDMap<WebFrame> pending_extension_callbacks_; |
823 | 826 |
824 // The currently selected text. This is currently only updated on Linux, where | 827 // The currently selected text. This is currently only updated on Linux, where |
825 // it's for the selection clipboard. | 828 // it's for the selection clipboard. |
826 std::string selection_text_; | 829 std::string selection_text_; |
827 | 830 |
828 DISALLOW_COPY_AND_ASSIGN(RenderView); | 831 DISALLOW_COPY_AND_ASSIGN(RenderView); |
829 }; | 832 }; |
830 | 833 |
831 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 834 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |