| 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 854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 865 void OnUpdateWebPreferences(const WebPreferences& prefs); | 865 void OnUpdateWebPreferences(const WebPreferences& prefs); |
| 866 void OnUpdateRemoteAccessClientFirewallTraversal(const std::string& policy); | 866 void OnUpdateRemoteAccessClientFirewallTraversal(const std::string& policy); |
| 867 | 867 |
| 868 #if defined(OS_MACOSX) | 868 #if defined(OS_MACOSX) |
| 869 void OnWindowFrameChanged(const gfx::Rect& window_frame, | 869 void OnWindowFrameChanged(const gfx::Rect& window_frame, |
| 870 const gfx::Rect& view_frame); | 870 const gfx::Rect& view_frame); |
| 871 void OnSelectPopupMenuItem(int selected_index); | 871 void OnSelectPopupMenuItem(int selected_index); |
| 872 #endif | 872 #endif |
| 873 void OnZoom(PageZoom::Function function); | 873 void OnZoom(PageZoom::Function function); |
| 874 void OnEnableViewSourceMode(); | 874 void OnEnableViewSourceMode(); |
| 875 void OnStartFrameSniffer(const string16& frame_name); |
| 875 | 876 |
| 876 // Adding a new message handler? Please add it in alphabetical order above | 877 // Adding a new message handler? Please add it in alphabetical order above |
| 877 // and put it in the same position in the .cc file. | 878 // and put it in the same position in the .cc file. |
| 878 | 879 |
| 879 // Misc private functions ---------------------------------------------------- | 880 // Misc private functions ---------------------------------------------------- |
| 880 | 881 |
| 881 void AltErrorPageFinished(WebKit::WebFrame* frame, | 882 void AltErrorPageFinished(WebKit::WebFrame* frame, |
| 882 const WebKit::WebURLError& original_error, | 883 const WebKit::WebURLError& original_error, |
| 883 const std::string& html); | 884 const std::string& html); |
| 884 | 885 |
| (...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1241 // bunch of stuff, you should probably create a helper class and put your | 1242 // bunch of stuff, you should probably create a helper class and put your |
| 1242 // data and methods on that to avoid bloating RenderView more. You can use | 1243 // data and methods on that to avoid bloating RenderView more. You can use |
| 1243 // the Observer interface to filter IPC messages and receive frame change | 1244 // the Observer interface to filter IPC messages and receive frame change |
| 1244 // notifications. | 1245 // notifications. |
| 1245 // --------------------------------------------------------------------------- | 1246 // --------------------------------------------------------------------------- |
| 1246 | 1247 |
| 1247 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1248 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 1248 }; | 1249 }; |
| 1249 | 1250 |
| 1250 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ | 1251 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |