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 737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
748 #endif | 748 #endif |
749 void OnContextMenuClosed( | 749 void OnContextMenuClosed( |
750 const webkit_glue::CustomContextMenuContext& custom_context); | 750 const webkit_glue::CustomContextMenuContext& custom_context); |
751 void OnCopy(); | 751 void OnCopy(); |
752 void OnCopyImageAt(int x, int y); | 752 void OnCopyImageAt(int x, int y); |
753 #if defined(OS_MACOSX) | 753 #if defined(OS_MACOSX) |
754 void OnCopyToFindPboard(); | 754 void OnCopyToFindPboard(); |
755 #endif | 755 #endif |
756 void OnCut(); | 756 void OnCut(); |
757 void OnCSSInsertRequest(const std::wstring& frame_xpath, | 757 void OnCSSInsertRequest(const std::wstring& frame_xpath, |
758 const std::string& css, | 758 const std::string& css); |
759 const std::string& id); | |
760 void OnCustomContextMenuAction( | 759 void OnCustomContextMenuAction( |
761 const webkit_glue::CustomContextMenuContext& custom_context, | 760 const webkit_glue::CustomContextMenuContext& custom_context, |
762 unsigned action); | 761 unsigned action); |
763 void OnDelete(); | 762 void OnDelete(); |
764 void OnDeterminePageLanguage(); | 763 void OnDeterminePageLanguage(); |
765 void OnDisableScrollbarsForSmallWindows( | 764 void OnDisableScrollbarsForSmallWindows( |
766 const gfx::Size& disable_scrollbars_size_limit); | 765 const gfx::Size& disable_scrollbars_size_limit); |
767 void OnDisassociateFromPopupCount(); | 766 void OnDisassociateFromPopupCount(); |
768 void OnDragSourceEndedOrMoved(const gfx::Point& client_point, | 767 void OnDragSourceEndedOrMoved(const gfx::Point& client_point, |
769 const gfx::Point& screen_point, | 768 const gfx::Point& screen_point, |
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1191 // bunch of stuff, you should probably create a helper class and put your | 1190 // bunch of stuff, you should probably create a helper class and put your |
1192 // data and methods on that to avoid bloating RenderView more. You can use | 1191 // data and methods on that to avoid bloating RenderView more. You can use |
1193 // the Observer interface to filter IPC messages and receive frame change | 1192 // the Observer interface to filter IPC messages and receive frame change |
1194 // notifications. | 1193 // notifications. |
1195 // --------------------------------------------------------------------------- | 1194 // --------------------------------------------------------------------------- |
1196 | 1195 |
1197 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1196 DISALLOW_COPY_AND_ASSIGN(RenderView); |
1198 }; | 1197 }; |
1199 | 1198 |
1200 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ | 1199 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |