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 26 matching lines...) Expand all Loading... |
37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" | 37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" |
38 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFileSyste
m.h" | 38 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFileSyste
m.h" |
39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrameClient.h" | 39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrameClient.h" |
40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIconURL.h" | 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIconURL.h" |
41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" | 41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" |
42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageSerializerClie
nt.h" | 42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageSerializerClie
nt.h" |
43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityStat
e.h" | 43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityStat
e.h" |
44 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" | 44 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" |
45 #include "third_party/WebKit/Source/WebKit/chromium/public/WebViewClient.h" | 45 #include "third_party/WebKit/Source/WebKit/chromium/public/WebViewClient.h" |
46 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationType.h" | 46 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationType.h" |
| 47 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC
ontext3D.h" |
47 #include "ui/base/javascript_message_type.h" | 48 #include "ui/base/javascript_message_type.h" |
48 #include "ui/gfx/surface/transport_dib.h" | 49 #include "ui/gfx/surface/transport_dib.h" |
49 #include "webkit/glue/webpreferences.h" | 50 #include "webkit/glue/webpreferences.h" |
50 #include "webkit/media/webmediaplayer_delegate.h" | 51 #include "webkit/media/webmediaplayer_delegate.h" |
51 #include "webkit/plugins/npapi/webplugin_page_delegate.h" | 52 #include "webkit/plugins/npapi/webplugin_page_delegate.h" |
52 | 53 |
53 #if defined(OS_WIN) | 54 #if defined(OS_WIN) |
54 // RenderViewImpl is a diamond-shaped hierarchy, with WebWidgetClient at the | 55 // RenderViewImpl is a diamond-shaped hierarchy, with WebWidgetClient at the |
55 // root. VS warns when we inherit the WebWidgetClient method implementations | 56 // root. VS warns when we inherit the WebWidgetClient method implementations |
56 // from RenderWidget. It's safe to ignore that warning. | 57 // from RenderWidget. It's safe to ignore that warning. |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 const WebKit::WebWindowFeatures& features, | 326 const WebKit::WebWindowFeatures& features, |
326 const WebKit::WebString& frame_name); | 327 const WebKit::WebString& frame_name); |
327 virtual WebKit::WebWidget* createPopupMenu(WebKit::WebPopupType popup_type); | 328 virtual WebKit::WebWidget* createPopupMenu(WebKit::WebPopupType popup_type); |
328 virtual WebKit::WebWidget* createPopupMenu( | 329 virtual WebKit::WebWidget* createPopupMenu( |
329 const WebKit::WebPopupMenuInfo& info); | 330 const WebKit::WebPopupMenuInfo& info); |
330 virtual WebKit::WebExternalPopupMenu* createExternalPopupMenu( | 331 virtual WebKit::WebExternalPopupMenu* createExternalPopupMenu( |
331 const WebKit::WebPopupMenuInfo& popup_menu_info, | 332 const WebKit::WebPopupMenuInfo& popup_menu_info, |
332 WebKit::WebExternalPopupMenuClient* popup_menu_client); | 333 WebKit::WebExternalPopupMenuClient* popup_menu_client); |
333 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace( | 334 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace( |
334 unsigned quota); | 335 unsigned quota); |
| 336 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D( |
| 337 WebKit::WebGraphicsContext3D::Attributes attributes, |
| 338 bool direct); |
335 virtual void didAddMessageToConsole( | 339 virtual void didAddMessageToConsole( |
336 const WebKit::WebConsoleMessage& message, | 340 const WebKit::WebConsoleMessage& message, |
337 const WebKit::WebString& source_name, | 341 const WebKit::WebString& source_name, |
338 unsigned source_line); | 342 unsigned source_line); |
339 virtual void printPage(WebKit::WebFrame* frame); | 343 virtual void printPage(WebKit::WebFrame* frame); |
340 virtual WebKit::WebNotificationPresenter* notificationPresenter(); | 344 virtual WebKit::WebNotificationPresenter* notificationPresenter(); |
341 virtual bool enumerateChosenDirectory( | 345 virtual bool enumerateChosenDirectory( |
342 const WebKit::WebString& path, | 346 const WebKit::WebString& path, |
343 WebKit::WebFileChooserCompletion* chooser_completion); | 347 WebKit::WebFileChooserCompletion* chooser_completion); |
344 virtual void didStartLoading(); | 348 virtual void didStartLoading(); |
(...skipping 899 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1244 // bunch of stuff, you should probably create a helper class and put your | 1248 // bunch of stuff, you should probably create a helper class and put your |
1245 // data and methods on that to avoid bloating RenderView more. You can | 1249 // data and methods on that to avoid bloating RenderView more. You can |
1246 // use the Observer interface to filter IPC messages and receive frame change | 1250 // use the Observer interface to filter IPC messages and receive frame change |
1247 // notifications. | 1251 // notifications. |
1248 // --------------------------------------------------------------------------- | 1252 // --------------------------------------------------------------------------- |
1249 | 1253 |
1250 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1254 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1251 }; | 1255 }; |
1252 | 1256 |
1253 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1257 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |