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 782 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
793 int id, | 793 int id, |
794 bool notify_result); | 794 bool notify_result); |
795 void OnSelectAll(); | 795 void OnSelectAll(); |
796 void OnSetAccessibilityFocus(int acc_obj_id); | 796 void OnSetAccessibilityFocus(int acc_obj_id); |
797 void OnSetActive(bool active); | 797 void OnSetActive(bool active); |
798 void OnSetAltErrorPageURL(const GURL& gurl); | 798 void OnSetAltErrorPageURL(const GURL& gurl); |
799 void OnSetBackground(const SkBitmap& background); | 799 void OnSetBackground(const SkBitmap& background); |
800 void OnSetWebUIProperty(const std::string& name, const std::string& value); | 800 void OnSetWebUIProperty(const std::string& name, const std::string& value); |
801 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands); | 801 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands); |
802 void OnSetInitialFocus(bool reverse); | 802 void OnSetInitialFocus(bool reverse); |
| 803 #if defined(OS_MACOSX) |
| 804 void OnSetInLiveResize(bool in_live_resize); |
| 805 #endif |
803 void OnScrollFocusedEditableNodeIntoView(); | 806 void OnScrollFocusedEditableNodeIntoView(); |
804 void OnSetPageEncoding(const std::string& encoding_name); | 807 void OnSetPageEncoding(const std::string& encoding_name); |
805 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); | 808 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); |
806 #if defined(OS_MACOSX) | 809 #if defined(OS_MACOSX) |
807 void OnSetWindowVisibility(bool visible); | 810 void OnSetWindowVisibility(bool visible); |
808 #endif | 811 #endif |
809 void OnSetZoomLevel(double zoom_level); | 812 void OnSetZoomLevel(double zoom_level); |
810 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); | 813 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); |
811 void OnShouldClose(); | 814 void OnShouldClose(); |
812 void OnStop(); | 815 void OnStop(); |
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1165 // bunch of stuff, you should probably create a helper class and put your | 1168 // bunch of stuff, you should probably create a helper class and put your |
1166 // data and methods on that to avoid bloating RenderView more. You can use | 1169 // data and methods on that to avoid bloating RenderView more. You can use |
1167 // the Observer interface to filter IPC messages and receive frame change | 1170 // the Observer interface to filter IPC messages and receive frame change |
1168 // notifications. | 1171 // notifications. |
1169 // --------------------------------------------------------------------------- | 1172 // --------------------------------------------------------------------------- |
1170 | 1173 |
1171 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1174 DISALLOW_COPY_AND_ASSIGN(RenderView); |
1172 }; | 1175 }; |
1173 | 1176 |
1174 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ | 1177 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |