| 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_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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 832 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 843 void OnSelectPopupMenuItem(int selected_index); | 843 void OnSelectPopupMenuItem(int selected_index); |
| 844 #endif | 844 #endif |
| 845 void OnZoom(content::PageZoom zoom); | 845 void OnZoom(content::PageZoom zoom); |
| 846 void OnZoomFactor(content::PageZoom zoom, int zoom_center_x, | 846 void OnZoomFactor(content::PageZoom zoom, int zoom_center_x, |
| 847 int zoom_center_y); | 847 int zoom_center_y); |
| 848 | 848 |
| 849 void OnEnableViewSourceMode(); | 849 void OnEnableViewSourceMode(); |
| 850 | 850 |
| 851 void OnJavaBridgeInit(const IPC::ChannelHandle& channel_handle); | 851 void OnJavaBridgeInit(const IPC::ChannelHandle& channel_handle); |
| 852 | 852 |
| 853 void OnSetAsInterstitial(); |
| 854 |
| 853 // Adding a new message handler? Please add it in alphabetical order above | 855 // Adding a new message handler? Please add it in alphabetical order above |
| 854 // and put it in the same position in the .cc file. | 856 // and put it in the same position in the .cc file. |
| 855 | 857 |
| 856 // Misc private functions ---------------------------------------------------- | 858 // Misc private functions ---------------------------------------------------- |
| 857 void ZoomFactorHelper(content::PageZoom zoom, int zoom_center_x, | 859 void ZoomFactorHelper(content::PageZoom zoom, int zoom_center_x, |
| 858 int zoom_center_y, float scaling_increment); | 860 int zoom_center_y, float scaling_increment); |
| 859 | 861 |
| 860 void AltErrorPageFinished(WebKit::WebFrame* frame, | 862 void AltErrorPageFinished(WebKit::WebFrame* frame, |
| 861 const WebKit::WebURLError& original_error, | 863 const WebKit::WebURLError& original_error, |
| 862 const std::string& html); | 864 const std::string& html); |
| (...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1216 // bunch of stuff, you should probably create a helper class and put your | 1218 // bunch of stuff, you should probably create a helper class and put your |
| 1217 // data and methods on that to avoid bloating RenderView more. You can | 1219 // data and methods on that to avoid bloating RenderView more. You can |
| 1218 // use the Observer interface to filter IPC messages and receive frame change | 1220 // use the Observer interface to filter IPC messages and receive frame change |
| 1219 // notifications. | 1221 // notifications. |
| 1220 // --------------------------------------------------------------------------- | 1222 // --------------------------------------------------------------------------- |
| 1221 | 1223 |
| 1222 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1224 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1223 }; | 1225 }; |
| 1224 | 1226 |
| 1225 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1227 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |