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> |
(...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
750 void OnThemeChanged(); | 750 void OnThemeChanged(); |
751 void OnUpdateTargetURLAck(); | 751 void OnUpdateTargetURLAck(); |
752 void OnUpdateWebPreferences(const WebPreferences& prefs); | 752 void OnUpdateWebPreferences(const WebPreferences& prefs); |
753 void OnZoom(PageZoom zoom); | 753 void OnZoom(PageZoom zoom); |
754 void OnEnableViewSourceMode(); | 754 void OnEnableViewSourceMode(); |
755 void OnDisownOpener(); | 755 void OnDisownOpener(); |
756 void OnWindowSnapshotCompleted(const int snapshot_id, | 756 void OnWindowSnapshotCompleted(const int snapshot_id, |
757 const gfx::Size& size, const std::vector<unsigned char>& png); | 757 const gfx::Size& size, const std::vector<unsigned char>& png); |
758 void OnSelectWordAroundCaret(); | 758 void OnSelectWordAroundCaret(); |
759 #if defined(OS_ANDROID) | 759 #if defined(OS_ANDROID) |
| 760 void OnExtractSmartClipData(const gfx::Rect& rect); |
760 void OnActivateNearestFindResult(int request_id, float x, float y); | 761 void OnActivateNearestFindResult(int request_id, float x, float y); |
761 void OnFindMatchRects(int current_version); | 762 void OnFindMatchRects(int current_version); |
762 void OnSelectPopupMenuItems(bool canceled, | 763 void OnSelectPopupMenuItems(bool canceled, |
763 const std::vector<int>& selected_indices); | 764 const std::vector<int>& selected_indices); |
764 void OnUndoScrollFocusedEditableNodeIntoRect(); | 765 void OnUndoScrollFocusedEditableNodeIntoRect(); |
765 void OnUpdateTopControlsState(bool enable_hiding, | 766 void OnUpdateTopControlsState(bool enable_hiding, |
766 bool enable_showing, | 767 bool enable_showing, |
767 bool animate); | 768 bool animate); |
768 void OnExtractSmartClipData(const gfx::Rect& rect); | |
769 #elif defined(OS_MACOSX) | 769 #elif defined(OS_MACOSX) |
| 770 void OnGetSmartClipDataFromRect(const gfx::Rect& rect); |
770 void OnPluginImeCompositionCompleted(const base::string16& text, | 771 void OnPluginImeCompositionCompleted(const base::string16& text, |
771 int plugin_id); | 772 int plugin_id); |
772 void OnSelectPopupMenuItem(int selected_index); | 773 void OnSelectPopupMenuItem(int selected_index); |
773 void OnSetInLiveResize(bool in_live_resize); | 774 void OnSetInLiveResize(bool in_live_resize); |
774 void OnSetWindowVisibility(bool visible); | 775 void OnSetWindowVisibility(bool visible); |
775 void OnWindowFrameChanged(const gfx::Rect& window_frame, | 776 void OnWindowFrameChanged(const gfx::Rect& window_frame, |
776 const gfx::Rect& view_frame); | 777 const gfx::Rect& view_frame); |
777 #endif | 778 #endif |
778 | 779 |
779 // Adding a new message handler? Please add it in alphabetical order above | 780 // Adding a new message handler? Please add it in alphabetical order above |
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1181 // use the Observer interface to filter IPC messages and receive frame change | 1182 // use the Observer interface to filter IPC messages and receive frame change |
1182 // notifications. | 1183 // notifications. |
1183 // --------------------------------------------------------------------------- | 1184 // --------------------------------------------------------------------------- |
1184 | 1185 |
1185 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1186 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1186 }; | 1187 }; |
1187 | 1188 |
1188 } // namespace content | 1189 } // namespace content |
1189 | 1190 |
1190 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1191 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |