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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 const ViewHostMsg_CreateWindow_Params& params, | 243 const ViewHostMsg_CreateWindow_Params& params, |
244 SessionStorageNamespace* session_storage_namespace); | 244 SessionStorageNamespace* session_storage_namespace); |
245 | 245 |
246 // Creates a new RenderWidget with the given route id. |popup_type| indicates | 246 // Creates a new RenderWidget with the given route id. |popup_type| indicates |
247 // if this widget is a popup and what kind of popup it is (select, autofill). | 247 // if this widget is a popup and what kind of popup it is (select, autofill). |
248 void CreateNewWidget(int32_t route_id, blink::WebPopupType popup_type); | 248 void CreateNewWidget(int32_t route_id, blink::WebPopupType popup_type); |
249 | 249 |
250 // Creates a full screen RenderWidget. | 250 // Creates a full screen RenderWidget. |
251 void CreateNewFullscreenWidget(int32_t route_id); | 251 void CreateNewFullscreenWidget(int32_t route_id); |
252 | 252 |
| 253 // TODO(creis): Remove after debugging https:/crbug.com/575245. |
| 254 int main_frame_routing_id() const { |
| 255 return main_frame_routing_id_; |
| 256 } |
| 257 |
253 void set_main_frame_routing_id(int routing_id) { | 258 void set_main_frame_routing_id(int routing_id) { |
254 main_frame_routing_id_ = routing_id; | 259 main_frame_routing_id_ = routing_id; |
255 } | 260 } |
256 | 261 |
257 void OnTextSurroundingSelectionResponse(const base::string16& content, | 262 void OnTextSurroundingSelectionResponse(const base::string16& content, |
258 size_t start_offset, | 263 size_t start_offset, |
259 size_t end_offset); | 264 size_t end_offset); |
260 | 265 |
261 // Increases the refcounting on this RVH. This is done by the FrameTree on | 266 // Increases the refcounting on this RVH. This is done by the FrameTree on |
262 // creation of a RenderFrameHost. | 267 // creation of a RenderFrameHost. |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 bool render_view_ready_on_process_launch_; | 433 bool render_view_ready_on_process_launch_; |
429 | 434 |
430 base::WeakPtrFactory<RenderViewHostImpl> weak_factory_; | 435 base::WeakPtrFactory<RenderViewHostImpl> weak_factory_; |
431 | 436 |
432 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 437 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
433 }; | 438 }; |
434 | 439 |
435 } // namespace content | 440 } // namespace content |
436 | 441 |
437 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 442 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |