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 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 virtual void initializeHelperPluginWebFrame(WebKit::WebHelperPlugin*); | 446 virtual void initializeHelperPluginWebFrame(WebKit::WebHelperPlugin*); |
446 virtual void didStartLoading(); | 447 virtual void didStartLoading(); |
447 virtual void didStopLoading(); | 448 virtual void didStopLoading(); |
448 virtual void didChangeLoadProgress(WebKit::WebFrame* frame, | 449 virtual void didChangeLoadProgress(WebKit::WebFrame* frame, |
449 double load_progress); | 450 double load_progress); |
450 virtual bool isSmartInsertDeleteEnabled(); | 451 virtual bool isSmartInsertDeleteEnabled(); |
451 virtual bool isSelectTrailingWhitespaceEnabled(); | 452 virtual bool isSelectTrailingWhitespaceEnabled(); |
452 virtual void didChangeSelection(bool is_selection_empty); | 453 virtual void didChangeSelection(bool is_selection_empty); |
453 virtual void didExecuteCommand(const WebKit::WebString& command_name); | 454 virtual void didExecuteCommand(const WebKit::WebString& command_name); |
454 virtual bool handleCurrentKeyboardEvent(); | 455 virtual bool handleCurrentKeyboardEvent(); |
| 456 virtual void didHandleGestureEvent(const WebKit::WebGestureEvent& event, |
| 457 bool eventSwallowed) OVERRIDE; |
455 virtual WebKit::WebColorChooser* createColorChooser( | 458 virtual WebKit::WebColorChooser* createColorChooser( |
456 WebKit::WebColorChooserClient*, const WebKit::WebColor& initial_color); | 459 WebKit::WebColorChooserClient*, const WebKit::WebColor& initial_color); |
457 virtual bool runFileChooser( | 460 virtual bool runFileChooser( |
458 const WebKit::WebFileChooserParams& params, | 461 const WebKit::WebFileChooserParams& params, |
459 WebKit::WebFileChooserCompletion* chooser_completion); | 462 WebKit::WebFileChooserCompletion* chooser_completion); |
460 virtual void runModalAlertDialog(WebKit::WebFrame* frame, | 463 virtual void runModalAlertDialog(WebKit::WebFrame* frame, |
461 const WebKit::WebString& message); | 464 const WebKit::WebString& message); |
462 virtual bool runModalConfirmDialog(WebKit::WebFrame* frame, | 465 virtual bool runModalConfirmDialog(WebKit::WebFrame* frame, |
463 const WebKit::WebString& message); | 466 const WebKit::WebString& message); |
464 virtual bool runModalPromptDialog(WebKit::WebFrame* frame, | 467 virtual bool runModalPromptDialog(WebKit::WebFrame* frame, |
(...skipping 1077 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1542 // bunch of stuff, you should probably create a helper class and put your | 1545 // bunch of stuff, you should probably create a helper class and put your |
1543 // data and methods on that to avoid bloating RenderView more. You can | 1546 // data and methods on that to avoid bloating RenderView more. You can |
1544 // use the Observer interface to filter IPC messages and receive frame change | 1547 // use the Observer interface to filter IPC messages and receive frame change |
1545 // notifications. | 1548 // notifications. |
1546 // --------------------------------------------------------------------------- | 1549 // --------------------------------------------------------------------------- |
1547 | 1550 |
1548 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1551 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1549 }; | 1552 }; |
1550 | 1553 |
1551 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1554 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |