| 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 606 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 617   // that made a network request. The PreviewsState is a bitmask of potentially | 617   // that made a network request. The PreviewsState is a bitmask of potentially | 
| 618   // several Previews optimizations. | 618   // several Previews optimizations. | 
| 619   PreviewsState last_navigation_previews_state() const { | 619   PreviewsState last_navigation_previews_state() const { | 
| 620     return last_navigation_previews_state_; | 620     return last_navigation_previews_state_; | 
| 621   } | 621   } | 
| 622 | 622 | 
| 623   bool has_focused_editable_element() const { | 623   bool has_focused_editable_element() const { | 
| 624     return has_focused_editable_element_; | 624     return has_focused_editable_element_; | 
| 625   } | 625   } | 
| 626 | 626 | 
|  | 627 #if defined(OS_ANDROID) | 
|  | 628   base::android::ScopedJavaLocalRef<jobject> GetJavaRenderFrameHost(); | 
|  | 629 #endif | 
|  | 630 | 
| 627  protected: | 631  protected: | 
| 628   friend class RenderFrameHostFactory; | 632   friend class RenderFrameHostFactory; | 
| 629 | 633 | 
| 630   // |flags| is a combination of CreateRenderFrameFlags. | 634   // |flags| is a combination of CreateRenderFrameFlags. | 
| 631   // TODO(nasko): Remove dependency on RenderViewHost here. RenderProcessHost | 635   // TODO(nasko): Remove dependency on RenderViewHost here. RenderProcessHost | 
| 632   // should be the abstraction needed here, but we need RenderViewHost to pass | 636   // should be the abstraction needed here, but we need RenderViewHost to pass | 
| 633   // into WebContentsObserver::FrameDetached for now. | 637   // into WebContentsObserver::FrameDetached for now. | 
| 634   RenderFrameHostImpl(SiteInstance* site_instance, | 638   RenderFrameHostImpl(SiteInstance* site_instance, | 
| 635                       RenderViewHostImpl* render_view_host, | 639                       RenderViewHostImpl* render_view_host, | 
| 636                       RenderFrameHostDelegate* delegate, | 640                       RenderFrameHostDelegate* delegate, | 
| (...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1168 | 1172 | 
| 1169   // NOTE: This must be the last member. | 1173   // NOTE: This must be the last member. | 
| 1170   base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 1174   base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 
| 1171 | 1175 | 
| 1172   DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 1176   DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 
| 1173 }; | 1177 }; | 
| 1174 | 1178 | 
| 1175 }  // namespace content | 1179 }  // namespace content | 
| 1176 | 1180 | 
| 1177 #endif  // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 1181 #endif  // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 
| OLD | NEW | 
|---|