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 839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
850 void OnWindowFrameChanged(const gfx::Rect& window_frame, | 850 void OnWindowFrameChanged(const gfx::Rect& window_frame, |
851 const gfx::Rect& view_frame); | 851 const gfx::Rect& view_frame); |
852 void OnSelectPopupMenuItem(int selected_index); | 852 void OnSelectPopupMenuItem(int selected_index); |
853 #endif | 853 #endif |
854 void OnZoom(content::PageZoom zoom); | 854 void OnZoom(content::PageZoom zoom); |
855 void OnZoomFactor(content::PageZoom zoom, int zoom_center_x, | 855 void OnZoomFactor(content::PageZoom zoom, int zoom_center_x, |
856 int zoom_center_y); | 856 int zoom_center_y); |
857 | 857 |
858 void OnEnableViewSourceMode(); | 858 void OnEnableViewSourceMode(); |
859 | 859 |
860 void OnJavaBridgeInit(const IPC::ChannelHandle& channel_handle); | 860 void OnJavaBridgeInit(); |
861 | 861 |
862 // Adding a new message handler? Please add it in alphabetical order above | 862 // Adding a new message handler? Please add it in alphabetical order above |
863 // and put it in the same position in the .cc file. | 863 // and put it in the same position in the .cc file. |
864 | 864 |
865 // Misc private functions ---------------------------------------------------- | 865 // Misc private functions ---------------------------------------------------- |
866 void ZoomFactorHelper(content::PageZoom zoom, int zoom_center_x, | 866 void ZoomFactorHelper(content::PageZoom zoom, int zoom_center_x, |
867 int zoom_center_y, float scaling_increment); | 867 int zoom_center_y, float scaling_increment); |
868 | 868 |
869 void AltErrorPageFinished(WebKit::WebFrame* frame, | 869 void AltErrorPageFinished(WebKit::WebFrame* frame, |
870 const WebKit::WebURLError& original_error, | 870 const WebKit::WebURLError& original_error, |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1227 // bunch of stuff, you should probably create a helper class and put your | 1227 // bunch of stuff, you should probably create a helper class and put your |
1228 // data and methods on that to avoid bloating RenderView more. You can | 1228 // data and methods on that to avoid bloating RenderView more. You can |
1229 // use the Observer interface to filter IPC messages and receive frame change | 1229 // use the Observer interface to filter IPC messages and receive frame change |
1230 // notifications. | 1230 // notifications. |
1231 // --------------------------------------------------------------------------- | 1231 // --------------------------------------------------------------------------- |
1232 | 1232 |
1233 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1233 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1234 }; | 1234 }; |
1235 | 1235 |
1236 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1236 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |