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 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 int frames_ref_count_; | 352 int frames_ref_count_; |
353 | 353 |
354 // Our delegate, which wants to know about changes in the RenderView. | 354 // Our delegate, which wants to know about changes in the RenderView. |
355 RenderViewHostDelegate* delegate_; | 355 RenderViewHostDelegate* delegate_; |
356 | 356 |
357 // The SiteInstance associated with this RenderViewHost. All pages drawn | 357 // The SiteInstance associated with this RenderViewHost. All pages drawn |
358 // in this RenderViewHost are part of this SiteInstance. Cannot change | 358 // in this RenderViewHost are part of this SiteInstance. Cannot change |
359 // over time. | 359 // over time. |
360 scoped_refptr<SiteInstanceImpl> instance_; | 360 scoped_refptr<SiteInstanceImpl> instance_; |
361 | 361 |
362 // true if we are currently waiting for a response for drag context | |
363 // information. | |
364 bool waiting_for_drag_context_response_; | |
365 | |
366 // A bitwise OR of bindings types that have been enabled for this RenderView. | 362 // A bitwise OR of bindings types that have been enabled for this RenderView. |
367 // See BindingsPolicy for details. | 363 // See BindingsPolicy for details. |
368 int enabled_bindings_; | 364 int enabled_bindings_; |
369 | 365 |
370 // The most recent page ID we've heard from the renderer process. This is | 366 // The most recent page ID we've heard from the renderer process. This is |
371 // used as context when other session history related IPCs arrive. | 367 // used as context when other session history related IPCs arrive. |
372 // TODO(creis): Allocate this in WebContents/NavigationController instead. | 368 // TODO(creis): Allocate this in WebContents/NavigationController instead. |
373 int32_t page_id_; | 369 int32_t page_id_; |
374 | 370 |
375 // Tracks whether this RenderViewHost is in an active state. False if the | 371 // Tracks whether this RenderViewHost is in an active state. False if the |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 bool render_view_ready_on_process_launch_; | 409 bool render_view_ready_on_process_launch_; |
414 | 410 |
415 base::WeakPtrFactory<RenderViewHostImpl> weak_factory_; | 411 base::WeakPtrFactory<RenderViewHostImpl> weak_factory_; |
416 | 412 |
417 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 413 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
418 }; | 414 }; |
419 | 415 |
420 } // namespace content | 416 } // namespace content |
421 | 417 |
422 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 418 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |