| 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 829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 840 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); | 840 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); |
| 841 void OnShouldClose(); | 841 void OnShouldClose(); |
| 842 void OnStop(); | 842 void OnStop(); |
| 843 void OnStopFinding(const ViewMsg_StopFinding_Params& params); | 843 void OnStopFinding(const ViewMsg_StopFinding_Params& params); |
| 844 void OnSwapOut(const ViewMsg_SwapOut_Params& params); | 844 void OnSwapOut(const ViewMsg_SwapOut_Params& params); |
| 845 void OnThemeChanged(); | 845 void OnThemeChanged(); |
| 846 void OnUndo(); | 846 void OnUndo(); |
| 847 void OnUpdateTargetURLAck(); | 847 void OnUpdateTargetURLAck(); |
| 848 void OnUpdateWebPreferences(const WebPreferences& prefs); | 848 void OnUpdateWebPreferences(const WebPreferences& prefs); |
| 849 void OnUpdateRemoteAccessClientFirewallTraversal(const std::string& policy); | 849 void OnUpdateRemoteAccessClientFirewallTraversal(const std::string& policy); |
| 850 void OnSetHistoryLengthAndClear(int history_length); |
| 850 | 851 |
| 851 #if defined(OS_MACOSX) | 852 #if defined(OS_MACOSX) |
| 852 void OnWindowFrameChanged(const gfx::Rect& window_frame, | 853 void OnWindowFrameChanged(const gfx::Rect& window_frame, |
| 853 const gfx::Rect& view_frame); | 854 const gfx::Rect& view_frame); |
| 854 void OnSelectPopupMenuItem(int selected_index); | 855 void OnSelectPopupMenuItem(int selected_index); |
| 855 #endif | 856 #endif |
| 856 void OnZoom(PageZoom::Function function); | 857 void OnZoom(PageZoom::Function function); |
| 857 | 858 |
| 858 // Adding a new message handler? Please add it in alphabetical order above | 859 // Adding a new message handler? Please add it in alphabetical order above |
| 859 // and put it in the same position in the .cc file. | 860 // and put it in the same position in the .cc file. |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1208 // bunch of stuff, you should probably create a helper class and put your | 1209 // bunch of stuff, you should probably create a helper class and put your |
| 1209 // data and methods on that to avoid bloating RenderView more. You can use | 1210 // data and methods on that to avoid bloating RenderView more. You can use |
| 1210 // the Observer interface to filter IPC messages and receive frame change | 1211 // the Observer interface to filter IPC messages and receive frame change |
| 1211 // notifications. | 1212 // notifications. |
| 1212 // --------------------------------------------------------------------------- | 1213 // --------------------------------------------------------------------------- |
| 1213 | 1214 |
| 1214 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1215 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 1215 }; | 1216 }; |
| 1216 | 1217 |
| 1217 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ | 1218 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |