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 <set> | 8 #include <set> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 WebKit::WebFrame* frame, | 291 WebKit::WebFrame* frame, |
292 const WebKit::WebURLRequest& failed_request, | 292 const WebKit::WebURLRequest& failed_request, |
293 const WebKit::WebURLError& error, | 293 const WebKit::WebURLError& error, |
294 const std::string& html, | 294 const std::string& html, |
295 bool replace); | 295 bool replace); |
296 | 296 |
297 // Plugin-related functions -------------------------------------------------- | 297 // Plugin-related functions -------------------------------------------------- |
298 // (See also WebPluginPageDelegate implementation.) | 298 // (See also WebPluginPageDelegate implementation.) |
299 | 299 |
300 // Notification that the given plugin has crashed. | 300 // Notification that the given plugin has crashed. |
301 void PluginCrashed(const FilePath& plugin_path, base::ProcessId plugin_pid); | 301 void PluginCrashed(const base::FilePath& plugin_path, |
| 302 base::ProcessId plugin_pid); |
302 | 303 |
303 // Creates a fullscreen container for a pepper plugin instance. | 304 // Creates a fullscreen container for a pepper plugin instance. |
304 RenderWidgetFullscreenPepper* CreatePepperFullscreenContainer( | 305 RenderWidgetFullscreenPepper* CreatePepperFullscreenContainer( |
305 webkit::ppapi::PluginInstance* plugin); | 306 webkit::ppapi::PluginInstance* plugin); |
306 | 307 |
307 // Informs the render view that a PPAPI plugin has gained or lost focus. | 308 // Informs the render view that a PPAPI plugin has gained or lost focus. |
308 void PpapiPluginFocusChanged(); | 309 void PpapiPluginFocusChanged(); |
309 | 310 |
310 // Informs the render view that a PPAPI plugin has changed text input status. | 311 // Informs the render view that a PPAPI plugin has changed text input status. |
311 void PpapiPluginTextInputTypeChanged(); | 312 void PpapiPluginTextInputTypeChanged(); |
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
728 const std::string& value) OVERRIDE; | 729 const std::string& value) OVERRIDE; |
729 virtual void ClearEditCommands() OVERRIDE; | 730 virtual void ClearEditCommands() OVERRIDE; |
730 virtual SSLStatus GetSSLStatusOfFrame(WebKit::WebFrame* frame) const OVERRIDE; | 731 virtual SSLStatus GetSSLStatusOfFrame(WebKit::WebFrame* frame) const OVERRIDE; |
731 #if defined(OS_ANDROID) | 732 #if defined(OS_ANDROID) |
732 virtual skia::RefPtr<SkPicture> CapturePicture() OVERRIDE; | 733 virtual skia::RefPtr<SkPicture> CapturePicture() OVERRIDE; |
733 #endif | 734 #endif |
734 | 735 |
735 // webkit_glue::WebPluginPageDelegate implementation ------------------------- | 736 // webkit_glue::WebPluginPageDelegate implementation ------------------------- |
736 | 737 |
737 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate( | 738 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate( |
738 const FilePath& file_path, | 739 const base::FilePath& file_path, |
739 const std::string& mime_type) OVERRIDE; | 740 const std::string& mime_type) OVERRIDE; |
740 virtual WebKit::WebPlugin* CreatePluginReplacement( | 741 virtual WebKit::WebPlugin* CreatePluginReplacement( |
741 const FilePath& file_path) OVERRIDE; | 742 const base::FilePath& file_path) OVERRIDE; |
742 virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; | 743 virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; |
743 virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; | 744 virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; |
744 virtual void DidMovePlugin( | 745 virtual void DidMovePlugin( |
745 const webkit::npapi::WebPluginGeometry& move) OVERRIDE; | 746 const webkit::npapi::WebPluginGeometry& move) OVERRIDE; |
746 virtual void DidStartLoadingForPlugin() OVERRIDE; | 747 virtual void DidStartLoadingForPlugin() OVERRIDE; |
747 virtual void DidStopLoadingForPlugin() OVERRIDE; | 748 virtual void DidStopLoadingForPlugin() OVERRIDE; |
748 virtual WebKit::WebCookieJar* GetCookieJar() OVERRIDE; | 749 virtual WebKit::WebCookieJar* GetCookieJar() OVERRIDE; |
749 | 750 |
750 // webkit_media::WebMediaPlayerDelegate implementation ----------------------- | 751 // webkit_media::WebMediaPlayerDelegate implementation ----------------------- |
751 | 752 |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
944 WebKit::WebDragOperationsMask operations_allowed, | 945 WebKit::WebDragOperationsMask operations_allowed, |
945 int key_modifiers); | 946 int key_modifiers); |
946 void OnDragTargetDragLeave(); | 947 void OnDragTargetDragLeave(); |
947 void OnDragTargetDragOver(const gfx::Point& client_pt, | 948 void OnDragTargetDragOver(const gfx::Point& client_pt, |
948 const gfx::Point& screen_pt, | 949 const gfx::Point& screen_pt, |
949 WebKit::WebDragOperationsMask operations_allowed, | 950 WebKit::WebDragOperationsMask operations_allowed, |
950 int key_modifiers); | 951 int key_modifiers); |
951 void OnEnablePreferredSizeChangedMode(); | 952 void OnEnablePreferredSizeChangedMode(); |
952 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size); | 953 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size); |
953 void OnDisableAutoResize(const gfx::Size& new_size); | 954 void OnDisableAutoResize(const gfx::Size& new_size); |
954 void OnEnumerateDirectoryResponse(int id, const std::vector<FilePath>& paths); | 955 void OnEnumerateDirectoryResponse(int id, |
| 956 const std::vector<base::FilePath>& paths); |
955 void OnExecuteEditCommand(const std::string& name, const std::string& value); | 957 void OnExecuteEditCommand(const std::string& name, const std::string& value); |
956 void OnExtendSelectionAndDelete(int before, int after); | 958 void OnExtendSelectionAndDelete(int before, int after); |
957 void OnFileChooserResponse( | 959 void OnFileChooserResponse( |
958 const std::vector<ui::SelectedFileInfo>& files); | 960 const std::vector<ui::SelectedFileInfo>& files); |
959 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&); | 961 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&); |
960 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url); | 962 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url); |
961 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks( | 963 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks( |
962 const std::vector<GURL>& links, | 964 const std::vector<GURL>& links, |
963 const std::vector<FilePath>& local_paths, | 965 const std::vector<base::FilePath>& local_paths, |
964 const FilePath& local_directory_name); | 966 const base::FilePath& local_directory_name); |
965 void OnMediaPlayerActionAt(const gfx::Point& location, | 967 void OnMediaPlayerActionAt(const gfx::Point& location, |
966 const WebKit::WebMediaPlayerAction& action); | 968 const WebKit::WebMediaPlayerAction& action); |
967 | 969 |
968 // Screen has rotated. 0 = default (portrait), 90 = one turn right, and so on. | 970 // Screen has rotated. 0 = default (portrait), 90 = one turn right, and so on. |
969 void OnOrientationChangeEvent(int orientation); | 971 void OnOrientationChangeEvent(int orientation); |
970 | 972 |
971 void OnPluginActionAt(const gfx::Point& location, | 973 void OnPluginActionAt(const gfx::Point& location, |
972 const WebKit::WebPluginAction& action); | 974 const WebKit::WebPluginAction& action); |
973 void OnMoveOrResizeStarted(); | 975 void OnMoveOrResizeStarted(); |
974 void OnNavigate(const ViewMsg_Navigate_Params& params); | 976 void OnNavigate(const ViewMsg_Navigate_Params& params); |
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1594 // use the Observer interface to filter IPC messages and receive frame change | 1596 // use the Observer interface to filter IPC messages and receive frame change |
1595 // notifications. | 1597 // notifications. |
1596 // --------------------------------------------------------------------------- | 1598 // --------------------------------------------------------------------------- |
1597 | 1599 |
1598 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1600 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1599 }; | 1601 }; |
1600 | 1602 |
1601 } // namespace content | 1603 } // namespace content |
1602 | 1604 |
1603 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1605 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |