| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 950 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 961 void OnUndo(); | 961 void OnUndo(); |
| 962 void OnUpdateTargetURLAck(); | 962 void OnUpdateTargetURLAck(); |
| 963 CONTENT_EXPORT void OnUpdateWebPreferences( | 963 CONTENT_EXPORT void OnUpdateWebPreferences( |
| 964 const webkit_glue::WebPreferences& prefs); | 964 const webkit_glue::WebPreferences& prefs); |
| 965 | 965 |
| 966 #if defined(OS_MACOSX) | 966 #if defined(OS_MACOSX) |
| 967 void OnWindowFrameChanged(const gfx::Rect& window_frame, | 967 void OnWindowFrameChanged(const gfx::Rect& window_frame, |
| 968 const gfx::Rect& view_frame); | 968 const gfx::Rect& view_frame); |
| 969 CONTENT_EXPORT void OnSelectPopupMenuItem(int selected_index); | 969 CONTENT_EXPORT void OnSelectPopupMenuItem(int selected_index); |
| 970 #endif | 970 #endif |
| 971 |
| 972 #if defined(OS_ANDROID) |
| 973 void OnSelectPopupMenuItems(bool canceled, |
| 974 const std::vector<int>& selected_indices); |
| 975 #endif |
| 976 |
| 971 void OnZoom(content::PageZoom zoom); | 977 void OnZoom(content::PageZoom zoom); |
| 972 void OnZoomFactor(content::PageZoom zoom, int zoom_center_x, | 978 void OnZoomFactor(content::PageZoom zoom, int zoom_center_x, |
| 973 int zoom_center_y); | 979 int zoom_center_y); |
| 974 | 980 |
| 975 void OnEnableViewSourceMode(); | 981 void OnEnableViewSourceMode(); |
| 976 | 982 |
| 977 void OnJavaBridgeInit(); | 983 void OnJavaBridgeInit(); |
| 978 | 984 |
| 979 // Adding a new message handler? Please add it in alphabetical order above | 985 // Adding a new message handler? Please add it in alphabetical order above |
| 980 // and put it in the same position in the .cc file. | 986 // and put it in the same position in the .cc file. |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1405 // bunch of stuff, you should probably create a helper class and put your | 1411 // bunch of stuff, you should probably create a helper class and put your |
| 1406 // data and methods on that to avoid bloating RenderView more. You can | 1412 // data and methods on that to avoid bloating RenderView more. You can |
| 1407 // use the Observer interface to filter IPC messages and receive frame change | 1413 // use the Observer interface to filter IPC messages and receive frame change |
| 1408 // notifications. | 1414 // notifications. |
| 1409 // --------------------------------------------------------------------------- | 1415 // --------------------------------------------------------------------------- |
| 1410 | 1416 |
| 1411 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1417 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1412 }; | 1418 }; |
| 1413 | 1419 |
| 1414 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1420 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |