| 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> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
| 15 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
| 16 #include "base/id_map.h" | 16 #include "base/id_map.h" |
| 17 #include "base/memory/linked_ptr.h" | 17 #include "base/memory/linked_ptr.h" |
| 18 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
| 19 #include "base/observer_list.h" | 19 #include "base/observer_list.h" |
| 20 #include "base/process.h" | 20 #include "base/process.h" |
| 21 #include "base/timer.h" | 21 #include "base/timer.h" |
| 22 #include "build/build_config.h" | 22 #include "build/build_config.h" |
| 23 #include "cc/input/top_controls_state.h" |
| 23 #include "content/common/content_export.h" | 24 #include "content/common/content_export.h" |
| 24 #include "content/common/drag_event_source_info.h" | 25 #include "content/common/drag_event_source_info.h" |
| 25 #include "content/common/edit_command.h" | 26 #include "content/common/edit_command.h" |
| 26 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" | 27 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" |
| 27 #include "content/common/navigation_gesture.h" | 28 #include "content/common/navigation_gesture.h" |
| 28 #include "content/common/view_message_enums.h" | 29 #include "content/common/view_message_enums.h" |
| 29 #include "content/public/common/javascript_message_type.h" | 30 #include "content/public/common/javascript_message_type.h" |
| 30 #include "content/public/common/page_zoom.h" | 31 #include "content/public/common/page_zoom.h" |
| 31 #include "content/public/common/referrer.h" | 32 #include "content/public/common/referrer.h" |
| 32 #include "content/public/common/renderer_preferences.h" | 33 #include "content/public/common/renderer_preferences.h" |
| 33 #include "content/public/common/stop_find_action.h" | 34 #include "content/public/common/stop_find_action.h" |
| 35 #include "content/public/common/top_controls_state.h" |
| 34 #include "content/public/renderer/render_view.h" | 36 #include "content/public/renderer/render_view.h" |
| 35 #include "content/renderer/mouse_lock_dispatcher.h" | 37 #include "content/renderer/mouse_lock_dispatcher.h" |
| 36 #include "content/renderer/render_view_pepper_helper.h" | 38 #include "content/renderer/render_view_pepper_helper.h" |
| 37 #include "content/renderer/render_widget.h" | 39 #include "content/renderer/render_widget.h" |
| 38 #include "content/renderer/renderer_webcookiejar_impl.h" | 40 #include "content/renderer/renderer_webcookiejar_impl.h" |
| 39 #include "ipc/ipc_platform_file.h" | 41 #include "ipc/ipc_platform_file.h" |
| 40 #include "third_party/WebKit/Source/Platform/chromium/public/WebFileSystem.h" | 42 #include "third_party/WebKit/Source/Platform/chromium/public/WebFileSystem.h" |
| 41 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3
D.h" | 43 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3
D.h" |
| 42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" | 44 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" |
| 43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDataSource.h" | 45 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDataSource.h" |
| (...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 718 WebKit::WebFrame* frame, | 720 WebKit::WebFrame* frame, |
| 719 const WebKit::WebURLRequest& request, | 721 const WebKit::WebURLRequest& request, |
| 720 WebKit::WebNavigationPolicy policy) OVERRIDE; | 722 WebKit::WebNavigationPolicy policy) OVERRIDE; |
| 721 virtual void Repaint(const gfx::Size& size) OVERRIDE; | 723 virtual void Repaint(const gfx::Size& size) OVERRIDE; |
| 722 virtual void SetEditCommandForNextKeyEvent(const std::string& name, | 724 virtual void SetEditCommandForNextKeyEvent(const std::string& name, |
| 723 const std::string& value) OVERRIDE; | 725 const std::string& value) OVERRIDE; |
| 724 virtual void ClearEditCommands() OVERRIDE; | 726 virtual void ClearEditCommands() OVERRIDE; |
| 725 virtual SSLStatus GetSSLStatusOfFrame(WebKit::WebFrame* frame) const OVERRIDE; | 727 virtual SSLStatus GetSSLStatusOfFrame(WebKit::WebFrame* frame) const OVERRIDE; |
| 726 #if defined(OS_ANDROID) | 728 #if defined(OS_ANDROID) |
| 727 virtual skia::RefPtr<SkPicture> CapturePicture() OVERRIDE; | 729 virtual skia::RefPtr<SkPicture> CapturePicture() OVERRIDE; |
| 730 virtual void UpdateTopControlsState(TopControlsState constraints, |
| 731 TopControlsState current, |
| 732 bool animate) OVERRIDE; |
| 728 #endif | 733 #endif |
| 729 | 734 |
| 730 // webkit_glue::WebPluginPageDelegate implementation ------------------------- | 735 // webkit_glue::WebPluginPageDelegate implementation ------------------------- |
| 731 | 736 |
| 732 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate( | 737 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate( |
| 733 const base::FilePath& file_path, | 738 const base::FilePath& file_path, |
| 734 const std::string& mime_type) OVERRIDE; | 739 const std::string& mime_type) OVERRIDE; |
| 735 virtual WebKit::WebPlugin* CreatePluginReplacement( | 740 virtual WebKit::WebPlugin* CreatePluginReplacement( |
| 736 const base::FilePath& file_path) OVERRIDE; | 741 const base::FilePath& file_path) OVERRIDE; |
| 737 virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; | 742 virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; |
| (...skipping 791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1529 // use the Observer interface to filter IPC messages and receive frame change | 1534 // use the Observer interface to filter IPC messages and receive frame change |
| 1530 // notifications. | 1535 // notifications. |
| 1531 // --------------------------------------------------------------------------- | 1536 // --------------------------------------------------------------------------- |
| 1532 | 1537 |
| 1533 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1538 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1534 }; | 1539 }; |
| 1535 | 1540 |
| 1536 } // namespace content | 1541 } // namespace content |
| 1537 | 1542 |
| 1538 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1543 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |