OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_H_ |
6 #define CONTENT_RENDERER_RENDER_VIEW_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <map> | 10 #include <map> |
(...skipping 724 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
735 #endif | 735 #endif |
736 void OnContextMenuClosed( | 736 void OnContextMenuClosed( |
737 const webkit_glue::CustomContextMenuContext& custom_context); | 737 const webkit_glue::CustomContextMenuContext& custom_context); |
738 void OnCopy(); | 738 void OnCopy(); |
739 void OnCopyImageAt(int x, int y); | 739 void OnCopyImageAt(int x, int y); |
740 #if defined(OS_MACOSX) | 740 #if defined(OS_MACOSX) |
741 void OnCopyToFindPboard(); | 741 void OnCopyToFindPboard(); |
742 #endif | 742 #endif |
743 void OnCut(); | 743 void OnCut(); |
744 void OnCSSInsertRequest(const std::wstring& frame_xpath, | 744 void OnCSSInsertRequest(const std::wstring& frame_xpath, |
745 const std::string& css, | 745 const std::string& css); |
746 const std::string& id); | |
747 void OnCustomContextMenuAction( | 746 void OnCustomContextMenuAction( |
748 const webkit_glue::CustomContextMenuContext& custom_context, | 747 const webkit_glue::CustomContextMenuContext& custom_context, |
749 unsigned action); | 748 unsigned action); |
750 void OnDelete(); | 749 void OnDelete(); |
751 void OnDeterminePageLanguage(); | 750 void OnDeterminePageLanguage(); |
752 void OnDisableScrollbarsForSmallWindows( | 751 void OnDisableScrollbarsForSmallWindows( |
753 const gfx::Size& disable_scrollbars_size_limit); | 752 const gfx::Size& disable_scrollbars_size_limit); |
754 void OnDisassociateFromPopupCount(); | 753 void OnDisassociateFromPopupCount(); |
755 void OnDragSourceEndedOrMoved(const gfx::Point& client_point, | 754 void OnDragSourceEndedOrMoved(const gfx::Point& client_point, |
756 const gfx::Point& screen_point, | 755 const gfx::Point& screen_point, |
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1173 // bunch of stuff, you should probably create a helper class and put your | 1172 // bunch of stuff, you should probably create a helper class and put your |
1174 // data and methods on that to avoid bloating RenderView more. You can use | 1173 // data and methods on that to avoid bloating RenderView more. You can use |
1175 // the Observer interface to filter IPC messages and receive frame change | 1174 // the Observer interface to filter IPC messages and receive frame change |
1176 // notifications. | 1175 // notifications. |
1177 // --------------------------------------------------------------------------- | 1176 // --------------------------------------------------------------------------- |
1178 | 1177 |
1179 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1178 DISALLOW_COPY_AND_ASSIGN(RenderView); |
1180 }; | 1179 }; |
1181 | 1180 |
1182 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ | 1181 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |