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 1122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1133 | 1133 |
| 1134 // The URL the user's mouse is hovering over. | 1134 // The URL the user's mouse is hovering over. |
| 1135 GURL mouse_over_url_; | 1135 GURL mouse_over_url_; |
| 1136 | 1136 |
| 1137 // The URL that has keyboard focus. | 1137 // The URL that has keyboard focus. |
| 1138 GURL focus_url_; | 1138 GURL focus_url_; |
| 1139 | 1139 |
| 1140 // The next target URL we want to send to the browser. | 1140 // The next target URL we want to send to the browser. |
| 1141 GURL pending_target_url_; | 1141 GURL pending_target_url_; |
| 1142 | 1142 |
| 1143 // Whether or not the pending navigation allows download. | |
| 1144 bool pending_allow_download_; | |
|
chebert
2012/03/31 21:03:18
I wasn't sure if it was a good idea to add member
| |
| 1145 | |
| 1143 // The text selection the last time DidChangeSelection got called. | 1146 // The text selection the last time DidChangeSelection got called. |
| 1144 string16 selection_text_; | 1147 string16 selection_text_; |
| 1145 size_t selection_text_offset_; | 1148 size_t selection_text_offset_; |
| 1146 ui::Range selection_range_; | 1149 ui::Range selection_range_; |
| 1147 | 1150 |
| 1148 // View ---------------------------------------------------------------------- | 1151 // View ---------------------------------------------------------------------- |
| 1149 | 1152 |
| 1150 // Cache the preferred size of the page in order to prevent sending the IPC | 1153 // Cache the preferred size of the page in order to prevent sending the IPC |
| 1151 // when layout() recomputes but doesn't actually change sizes. | 1154 // when layout() recomputes but doesn't actually change sizes. |
| 1152 gfx::Size preferred_size_; | 1155 gfx::Size preferred_size_; |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1317 // bunch of stuff, you should probably create a helper class and put your | 1320 // bunch of stuff, you should probably create a helper class and put your |
| 1318 // data and methods on that to avoid bloating RenderView more. You can | 1321 // data and methods on that to avoid bloating RenderView more. You can |
| 1319 // use the Observer interface to filter IPC messages and receive frame change | 1322 // use the Observer interface to filter IPC messages and receive frame change |
| 1320 // notifications. | 1323 // notifications. |
| 1321 // --------------------------------------------------------------------------- | 1324 // --------------------------------------------------------------------------- |
| 1322 | 1325 |
| 1323 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1326 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1324 }; | 1327 }; |
| 1325 | 1328 |
| 1326 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1329 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |