OLD | NEW |
---|---|
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
83 class ResourceRequestBody; | 83 class ResourceRequestBody; |
84 class StreamHandle; | 84 class StreamHandle; |
85 class TimeoutMonitor; | 85 class TimeoutMonitor; |
86 struct ContextMenuParams; | 86 struct ContextMenuParams; |
87 struct GlobalRequestID; | 87 struct GlobalRequestID; |
88 struct Referrer; | 88 struct Referrer; |
89 struct ResourceResponse; | 89 struct ResourceResponse; |
90 | 90 |
91 // Flag arguments for RenderFrameHost creation. | 91 // Flag arguments for RenderFrameHost creation. |
92 enum CreateRenderFrameFlags { | 92 enum CreateRenderFrameFlags { |
93 // The RFH will be initially placed on the swapped out hosts list. | |
94 CREATE_RF_SWAPPED_OUT = 1 << 0, | |
95 // The RenderFrame is initially hidden. | 93 // The RenderFrame is initially hidden. |
96 CREATE_RF_HIDDEN = 1 << 1, | 94 CREATE_RF_HIDDEN = 1 << 0, |
alexmos
2016/03/14 16:57:20
We added the flags enum when going from three to f
nasko
2016/03/14 17:27:39
No, we don't. However, I want the few CLs I'm push
| |
97 }; | 95 }; |
98 | 96 |
99 class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost, | 97 class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost, |
100 public BrowserAccessibilityDelegate, | 98 public BrowserAccessibilityDelegate, |
101 public SiteInstanceImpl::Observer { | 99 public SiteInstanceImpl::Observer { |
102 public: | 100 public: |
103 using AXTreeSnapshotCallback = | 101 using AXTreeSnapshotCallback = |
104 base::Callback<void( | 102 base::Callback<void( |
105 const ui::AXTreeUpdate&)>; | 103 const ui::AXTreeUpdate&)>; |
106 | 104 |
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
944 | 942 |
945 // NOTE: This must be the last member. | 943 // NOTE: This must be the last member. |
946 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 944 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
947 | 945 |
948 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 946 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
949 }; | 947 }; |
950 | 948 |
951 } // namespace content | 949 } // namespace content |
952 | 950 |
953 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 951 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
OLD | NEW |