Chromium Code Reviews| 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 938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 949 void OnExitFullscreen(); | 949 void OnExitFullscreen(); |
| 950 void OnShouldClose(); | 950 void OnShouldClose(); |
| 951 void OnStop(); | 951 void OnStop(); |
| 952 void OnStopFinding(content::StopFindAction action); | 952 void OnStopFinding(content::StopFindAction action); |
| 953 CONTENT_EXPORT void OnSwapOut(const ViewMsg_SwapOut_Params& params); | 953 CONTENT_EXPORT void OnSwapOut(const ViewMsg_SwapOut_Params& params); |
| 954 void OnThemeChanged(); | 954 void OnThemeChanged(); |
| 955 void OnUndo(); | 955 void OnUndo(); |
| 956 void OnUpdateTargetURLAck(); | 956 void OnUpdateTargetURLAck(); |
| 957 CONTENT_EXPORT void OnUpdateWebPreferences( | 957 CONTENT_EXPORT void OnUpdateWebPreferences( |
| 958 const webkit_glue::WebPreferences& prefs); | 958 const webkit_glue::WebPreferences& prefs); |
| 959 | |
| 960 #if defined(OS_MACOSX) | 959 #if defined(OS_MACOSX) |
| 961 void OnWindowFrameChanged(const gfx::Rect& window_frame, | 960 void OnWindowFrameChanged(const gfx::Rect& window_frame, |
| 962 const gfx::Rect& view_frame); | 961 const gfx::Rect& view_frame); |
| 963 CONTENT_EXPORT void OnSelectPopupMenuItem(int selected_index); | 962 CONTENT_EXPORT void OnSelectPopupMenuItem(int selected_index); |
| 964 #endif | 963 #endif |
| 964 #if defined(OS_ANDROID) | |
| 965 void OnSelectPopupMenuItems(bool canceled, std::vector<int> selected_indices); | |
|
Avi (use Gerrit)
2012/05/24 18:41:41
const std::vector<int>& ?
aruslan
2012/05/24 19:53:15
Done.
| |
| 966 #endif | |
| 965 void OnZoom(content::PageZoom zoom); | 967 void OnZoom(content::PageZoom zoom); |
| 966 void OnZoomFactor(content::PageZoom zoom, int zoom_center_x, | 968 void OnZoomFactor(content::PageZoom zoom, int zoom_center_x, |
| 967 int zoom_center_y); | 969 int zoom_center_y); |
| 968 | 970 |
| 969 void OnEnableViewSourceMode(); | 971 void OnEnableViewSourceMode(); |
| 970 | 972 |
| 971 void OnJavaBridgeInit(); | 973 void OnJavaBridgeInit(); |
| 972 | 974 |
| 973 // Adding a new message handler? Please add it in alphabetical order above | 975 // Adding a new message handler? Please add it in alphabetical order above |
| 974 // and put it in the same position in the .cc file. | 976 // and put it in the same position in the .cc file. |
| (...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1395 // bunch of stuff, you should probably create a helper class and put your | 1397 // bunch of stuff, you should probably create a helper class and put your |
| 1396 // data and methods on that to avoid bloating RenderView more. You can | 1398 // data and methods on that to avoid bloating RenderView more. You can |
| 1397 // use the Observer interface to filter IPC messages and receive frame change | 1399 // use the Observer interface to filter IPC messages and receive frame change |
| 1398 // notifications. | 1400 // notifications. |
| 1399 // --------------------------------------------------------------------------- | 1401 // --------------------------------------------------------------------------- |
| 1400 | 1402 |
| 1401 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1403 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1402 }; | 1404 }; |
| 1403 | 1405 |
| 1404 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1406 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |