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 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 961 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
972 void OnScrollFocusedEditableNodeIntoRect(const gfx::Rect& rect); | 972 void OnScrollFocusedEditableNodeIntoRect(const gfx::Rect& rect); |
973 void OnSetPageEncoding(const std::string& encoding_name); | 973 void OnSetPageEncoding(const std::string& encoding_name); |
974 void OnSetRendererPrefs(const content::RendererPreferences& renderer_prefs); | 974 void OnSetRendererPrefs(const content::RendererPreferences& renderer_prefs); |
975 #if defined(OS_MACOSX) | 975 #if defined(OS_MACOSX) |
976 void OnSetWindowVisibility(bool visible); | 976 void OnSetWindowVisibility(bool visible); |
977 #endif | 977 #endif |
978 void OnSetZoomLevel(double zoom_level); | 978 void OnSetZoomLevel(double zoom_level); |
979 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); | 979 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); |
980 void OnExitFullscreen(); | 980 void OnExitFullscreen(); |
981 void OnShouldClose(); | 981 void OnShouldClose(); |
| 982 #if defined(OS_MACOSX) |
| 983 void OnSpeakSelection(); |
| 984 #endif |
982 void OnStop(); | 985 void OnStop(); |
983 void OnStopFinding(content::StopFindAction action); | 986 void OnStopFinding(content::StopFindAction action); |
984 CONTENT_EXPORT void OnSwapOut(const ViewMsg_SwapOut_Params& params); | 987 CONTENT_EXPORT void OnSwapOut(const ViewMsg_SwapOut_Params& params); |
985 void OnThemeChanged(); | 988 void OnThemeChanged(); |
986 void OnUndo(); | 989 void OnUndo(); |
987 void OnUpdateTargetURLAck(); | 990 void OnUpdateTargetURLAck(); |
988 CONTENT_EXPORT void OnUpdateWebPreferences( | 991 CONTENT_EXPORT void OnUpdateWebPreferences( |
989 const webkit_glue::WebPreferences& prefs); | 992 const webkit_glue::WebPreferences& prefs); |
990 | 993 |
991 #if defined(OS_MACOSX) | 994 #if defined(OS_MACOSX) |
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1429 // bunch of stuff, you should probably create a helper class and put your | 1432 // bunch of stuff, you should probably create a helper class and put your |
1430 // data and methods on that to avoid bloating RenderView more. You can | 1433 // data and methods on that to avoid bloating RenderView more. You can |
1431 // use the Observer interface to filter IPC messages and receive frame change | 1434 // use the Observer interface to filter IPC messages and receive frame change |
1432 // notifications. | 1435 // notifications. |
1433 // --------------------------------------------------------------------------- | 1436 // --------------------------------------------------------------------------- |
1434 | 1437 |
1435 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1438 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1436 }; | 1439 }; |
1437 | 1440 |
1438 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1441 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |