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 845 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
856 const std::vector<content::SelectedFileInfo>& files); | 856 const std::vector<content::SelectedFileInfo>& files); |
857 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&); | 857 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&); |
858 void OnFindReplyAck(); | 858 void OnFindReplyAck(); |
859 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url); | 859 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url); |
860 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks( | 860 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks( |
861 const std::vector<GURL>& links, | 861 const std::vector<GURL>& links, |
862 const std::vector<FilePath>& local_paths, | 862 const std::vector<FilePath>& local_paths, |
863 const FilePath& local_directory_name); | 863 const FilePath& local_directory_name); |
864 void OnMediaPlayerActionAt(const gfx::Point& location, | 864 void OnMediaPlayerActionAt(const gfx::Point& location, |
865 const WebKit::WebMediaPlayerAction& action); | 865 const WebKit::WebMediaPlayerAction& action); |
| 866 |
| 867 // Screen has rotated. 0 = default (portrait), 90 = one turn right, and so on. |
| 868 void OnOrientationChangeEvent(int orientation); |
| 869 |
866 void OnPluginActionAt(const gfx::Point& location, | 870 void OnPluginActionAt(const gfx::Point& location, |
867 const WebKit::WebPluginAction& action); | 871 const WebKit::WebPluginAction& action); |
868 void OnMoveOrResizeStarted(); | 872 void OnMoveOrResizeStarted(); |
869 CONTENT_EXPORT void OnNavigate(const ViewMsg_Navigate_Params& params); | 873 CONTENT_EXPORT void OnNavigate(const ViewMsg_Navigate_Params& params); |
870 void OnPaste(); | 874 void OnPaste(); |
871 void OnPasteAndMatchStyle(); | 875 void OnPasteAndMatchStyle(); |
872 #if defined(OS_MACOSX) | 876 #if defined(OS_MACOSX) |
873 void OnPluginImeCompositionCompleted(const string16& text, int plugin_id); | 877 void OnPluginImeCompositionCompleted(const string16& text, int plugin_id); |
874 #endif | 878 #endif |
875 void OnRedo(); | 879 void OnRedo(); |
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1343 // bunch of stuff, you should probably create a helper class and put your | 1347 // bunch of stuff, you should probably create a helper class and put your |
1344 // data and methods on that to avoid bloating RenderView more. You can | 1348 // data and methods on that to avoid bloating RenderView more. You can |
1345 // use the Observer interface to filter IPC messages and receive frame change | 1349 // use the Observer interface to filter IPC messages and receive frame change |
1346 // notifications. | 1350 // notifications. |
1347 // --------------------------------------------------------------------------- | 1351 // --------------------------------------------------------------------------- |
1348 | 1352 |
1349 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1353 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1350 }; | 1354 }; |
1351 | 1355 |
1352 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1356 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |