| 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 767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 778 int id, | 778 int id, |
| 779 bool notify_result); | 779 bool notify_result); |
| 780 void OnSelectAll(); | 780 void OnSelectAll(); |
| 781 void OnSetAccessibilityFocus(int acc_obj_id); | 781 void OnSetAccessibilityFocus(int acc_obj_id); |
| 782 void OnSetActive(bool active); | 782 void OnSetActive(bool active); |
| 783 void OnSetAltErrorPageURL(const GURL& gurl); | 783 void OnSetAltErrorPageURL(const GURL& gurl); |
| 784 void OnSetBackground(const SkBitmap& background); | 784 void OnSetBackground(const SkBitmap& background); |
| 785 void OnSetWebUIProperty(const std::string& name, const std::string& value); | 785 void OnSetWebUIProperty(const std::string& name, const std::string& value); |
| 786 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands); | 786 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands); |
| 787 void OnSetInitialFocus(bool reverse); | 787 void OnSetInitialFocus(bool reverse); |
| 788 #if defined(OS_MACOSX) |
| 789 void OnSetInLiveResize(bool in_live_resize); |
| 790 #endif |
| 788 void OnScrollFocusedEditableNodeIntoView(); | 791 void OnScrollFocusedEditableNodeIntoView(); |
| 789 void OnSetPageEncoding(const std::string& encoding_name); | 792 void OnSetPageEncoding(const std::string& encoding_name); |
| 790 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); | 793 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); |
| 791 #if defined(OS_MACOSX) | 794 #if defined(OS_MACOSX) |
| 792 void OnSetWindowVisibility(bool visible); | 795 void OnSetWindowVisibility(bool visible); |
| 793 #endif | 796 #endif |
| 794 void OnSetZoomLevel(double zoom_level); | 797 void OnSetZoomLevel(double zoom_level); |
| 795 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); | 798 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); |
| 796 void OnShouldClose(); | 799 void OnShouldClose(); |
| 797 void OnStop(); | 800 void OnStop(); |
| (...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1147 // bunch of stuff, you should probably create a helper class and put your | 1150 // bunch of stuff, you should probably create a helper class and put your |
| 1148 // data and methods on that to avoid bloating RenderView more. You can use | 1151 // data and methods on that to avoid bloating RenderView more. You can use |
| 1149 // the Observer interface to filter IPC messages and receive frame change | 1152 // the Observer interface to filter IPC messages and receive frame change |
| 1150 // notifications. | 1153 // notifications. |
| 1151 // --------------------------------------------------------------------------- | 1154 // --------------------------------------------------------------------------- |
| 1152 | 1155 |
| 1153 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1156 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 1154 }; | 1157 }; |
| 1155 | 1158 |
| 1156 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ | 1159 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |