| 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 1148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1159 void PopulateDocumentStateFromPending(content::DocumentState* document_state); | 1159 void PopulateDocumentStateFromPending(content::DocumentState* document_state); |
| 1160 | 1160 |
| 1161 // Returns a new NavigationState populated with the navigation information | 1161 // Returns a new NavigationState populated with the navigation information |
| 1162 // saved in OnNavigate(). | 1162 // saved in OnNavigate(). |
| 1163 content::NavigationState* CreateNavigationStateFromPending(); | 1163 content::NavigationState* CreateNavigationStateFromPending(); |
| 1164 | 1164 |
| 1165 // Processes the command-line flags --enable-viewport and | 1165 // Processes the command-line flags --enable-viewport and |
| 1166 // --enable-fixed-layout[=w,h]. | 1166 // --enable-fixed-layout[=w,h]. |
| 1167 void ProcessViewLayoutFlags(const CommandLine& command_line); | 1167 void ProcessViewLayoutFlags(const CommandLine& command_line); |
| 1168 | 1168 |
| 1169 // Processes the command-line flags --enable-pinch and |
| 1170 // --enable-pinch-in-compositor |
| 1171 void ProcessAcceleratedPinchZoomFlags(const CommandLine& command_line); |
| 1172 |
| 1169 // Sends a reply to the current find operation handling if it was a | 1173 // Sends a reply to the current find operation handling if it was a |
| 1170 // synchronous find request. | 1174 // synchronous find request. |
| 1171 void SendFindReply(int request_id, | 1175 void SendFindReply(int request_id, |
| 1172 int match_count, | 1176 int match_count, |
| 1173 int ordinal, | 1177 int ordinal, |
| 1174 const WebKit::WebRect& selection_rect, | 1178 const WebKit::WebRect& selection_rect, |
| 1175 bool final_status_update); | 1179 bool final_status_update); |
| 1176 | 1180 |
| 1177 // Starts nav_state_sync_timer_ if it isn't already running. | 1181 // Starts nav_state_sync_timer_ if it isn't already running. |
| 1178 void StartNavStateSyncTimerIfNecessary(); | 1182 void StartNavStateSyncTimerIfNecessary(); |
| (...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1576 // bunch of stuff, you should probably create a helper class and put your | 1580 // bunch of stuff, you should probably create a helper class and put your |
| 1577 // data and methods on that to avoid bloating RenderView more. You can | 1581 // data and methods on that to avoid bloating RenderView more. You can |
| 1578 // use the Observer interface to filter IPC messages and receive frame change | 1582 // use the Observer interface to filter IPC messages and receive frame change |
| 1579 // notifications. | 1583 // notifications. |
| 1580 // --------------------------------------------------------------------------- | 1584 // --------------------------------------------------------------------------- |
| 1581 | 1585 |
| 1582 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1586 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1583 }; | 1587 }; |
| 1584 | 1588 |
| 1585 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1589 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |