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 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 22 matching lines...) Expand all Loading... |
33 #include "content/public/renderer/render_view.h" | 33 #include "content/public/renderer/render_view.h" |
34 #include "content/renderer/pepper/pepper_plugin_delegate_impl.h" | 34 #include "content/renderer/pepper/pepper_plugin_delegate_impl.h" |
35 #include "content/renderer/render_view_selection.h" | 35 #include "content/renderer/render_view_selection.h" |
36 #include "content/renderer/render_widget.h" | 36 #include "content/renderer/render_widget.h" |
37 #include "content/renderer/renderer_webcookiejar_impl.h" | 37 #include "content/renderer/renderer_webcookiejar_impl.h" |
38 #include "ipc/ipc_platform_file.h" | 38 #include "ipc/ipc_platform_file.h" |
39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" | 39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" |
40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrameClient.h" | 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrameClient.h" |
41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHistoryItem.h" | 41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHistoryItem.h" |
42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIconURL.h" | 42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIconURL.h" |
| 43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationType.h" | 44 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationType.h" |
44 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" | 45 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" |
45 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageSerializerClie
nt.h" | 46 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageSerializerClie
nt.h" |
46 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityStat
e.h" | 47 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityStat
e.h" |
47 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h" | 48 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h" |
48 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" | 49 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" |
49 #include "third_party/WebKit/Source/WebKit/chromium/public/WebViewClient.h" | 50 #include "third_party/WebKit/Source/WebKit/chromium/public/WebViewClient.h" |
50 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFileSyste
m.h" | 51 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFileSyste
m.h" |
51 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC
ontext3D.h" | 52 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC
ontext3D.h" |
52 #include "ui/surface/transport_dib.h" | 53 #include "ui/surface/transport_dib.h" |
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 virtual void initializeHelperPluginWebFrame(WebKit::WebHelperPlugin*); | 450 virtual void initializeHelperPluginWebFrame(WebKit::WebHelperPlugin*); |
450 virtual void didStartLoading(); | 451 virtual void didStartLoading(); |
451 virtual void didStopLoading(); | 452 virtual void didStopLoading(); |
452 virtual void didChangeLoadProgress(WebKit::WebFrame* frame, | 453 virtual void didChangeLoadProgress(WebKit::WebFrame* frame, |
453 double load_progress); | 454 double load_progress); |
454 virtual bool isSmartInsertDeleteEnabled(); | 455 virtual bool isSmartInsertDeleteEnabled(); |
455 virtual bool isSelectTrailingWhitespaceEnabled(); | 456 virtual bool isSelectTrailingWhitespaceEnabled(); |
456 virtual void didChangeSelection(bool is_selection_empty); | 457 virtual void didChangeSelection(bool is_selection_empty); |
457 virtual void didExecuteCommand(const WebKit::WebString& command_name); | 458 virtual void didExecuteCommand(const WebKit::WebString& command_name); |
458 virtual bool handleCurrentKeyboardEvent(); | 459 virtual bool handleCurrentKeyboardEvent(); |
| 460 virtual void didHandleGestureEvent(const WebKit::WebGestureEvent& event, |
| 461 bool event_swallowed) OVERRIDE; |
459 virtual WebKit::WebColorChooser* createColorChooser( | 462 virtual WebKit::WebColorChooser* createColorChooser( |
460 WebKit::WebColorChooserClient*, const WebKit::WebColor& initial_color); | 463 WebKit::WebColorChooserClient*, const WebKit::WebColor& initial_color); |
461 virtual bool runFileChooser( | 464 virtual bool runFileChooser( |
462 const WebKit::WebFileChooserParams& params, | 465 const WebKit::WebFileChooserParams& params, |
463 WebKit::WebFileChooserCompletion* chooser_completion); | 466 WebKit::WebFileChooserCompletion* chooser_completion); |
464 virtual void runModalAlertDialog(WebKit::WebFrame* frame, | 467 virtual void runModalAlertDialog(WebKit::WebFrame* frame, |
465 const WebKit::WebString& message); | 468 const WebKit::WebString& message); |
466 virtual bool runModalConfirmDialog(WebKit::WebFrame* frame, | 469 virtual bool runModalConfirmDialog(WebKit::WebFrame* frame, |
467 const WebKit::WebString& message); | 470 const WebKit::WebString& message); |
468 virtual bool runModalPromptDialog(WebKit::WebFrame* frame, | 471 virtual bool runModalPromptDialog(WebKit::WebFrame* frame, |
(...skipping 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1552 // bunch of stuff, you should probably create a helper class and put your | 1555 // bunch of stuff, you should probably create a helper class and put your |
1553 // data and methods on that to avoid bloating RenderView more. You can | 1556 // data and methods on that to avoid bloating RenderView more. You can |
1554 // use the Observer interface to filter IPC messages and receive frame change | 1557 // use the Observer interface to filter IPC messages and receive frame change |
1555 // notifications. | 1558 // notifications. |
1556 // --------------------------------------------------------------------------- | 1559 // --------------------------------------------------------------------------- |
1557 | 1560 |
1558 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1561 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1559 }; | 1562 }; |
1560 | 1563 |
1561 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1564 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |