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 CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <map> | 10 #include <map> |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 virtual bool requestPointerLock(); | 330 virtual bool requestPointerLock(); |
331 virtual void requestPointerUnlock(); | 331 virtual void requestPointerUnlock(); |
332 virtual bool isPointerLocked(); | 332 virtual bool isPointerLocked(); |
333 | 333 |
334 // WebKit::WebViewClient implementation -------------------------------------- | 334 // WebKit::WebViewClient implementation -------------------------------------- |
335 | 335 |
336 virtual WebKit::WebView* createView( | 336 virtual WebKit::WebView* createView( |
337 WebKit::WebFrame* creator, | 337 WebKit::WebFrame* creator, |
338 const WebKit::WebURLRequest& request, | 338 const WebKit::WebURLRequest& request, |
339 const WebKit::WebWindowFeatures& features, | 339 const WebKit::WebWindowFeatures& features, |
| 340 const WebKit::WebString& frame_name, |
| 341 WebKit::WebNavigationPolicy policy); |
| 342 // TODO(creis): Remove as part of http://crbug.com/69267. |
| 343 virtual WebKit::WebView* createView( |
| 344 WebKit::WebFrame* creator, |
| 345 const WebKit::WebURLRequest& request, |
| 346 const WebKit::WebWindowFeatures& features, |
340 const WebKit::WebString& frame_name); | 347 const WebKit::WebString& frame_name); |
341 virtual WebKit::WebWidget* createPopupMenu(WebKit::WebPopupType popup_type); | 348 virtual WebKit::WebWidget* createPopupMenu(WebKit::WebPopupType popup_type); |
342 virtual WebKit::WebWidget* createPopupMenu( | 349 virtual WebKit::WebWidget* createPopupMenu( |
343 const WebKit::WebPopupMenuInfo& info); | 350 const WebKit::WebPopupMenuInfo& info); |
344 virtual WebKit::WebExternalPopupMenu* createExternalPopupMenu( | 351 virtual WebKit::WebExternalPopupMenu* createExternalPopupMenu( |
345 const WebKit::WebPopupMenuInfo& popup_menu_info, | 352 const WebKit::WebPopupMenuInfo& popup_menu_info, |
346 WebKit::WebExternalPopupMenuClient* popup_menu_client); | 353 WebKit::WebExternalPopupMenuClient* popup_menu_client); |
347 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace( | 354 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace( |
348 unsigned quota); | 355 unsigned quota); |
349 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D( | 356 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D( |
(...skipping 938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1288 // bunch of stuff, you should probably create a helper class and put your | 1295 // bunch of stuff, you should probably create a helper class and put your |
1289 // data and methods on that to avoid bloating RenderView more. You can | 1296 // data and methods on that to avoid bloating RenderView more. You can |
1290 // use the Observer interface to filter IPC messages and receive frame change | 1297 // use the Observer interface to filter IPC messages and receive frame change |
1291 // notifications. | 1298 // notifications. |
1292 // --------------------------------------------------------------------------- | 1299 // --------------------------------------------------------------------------- |
1293 | 1300 |
1294 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1301 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1295 }; | 1302 }; |
1296 | 1303 |
1297 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1304 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |