| 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_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 void DidGetRedirectForResourceRequest( | 158 void DidGetRedirectForResourceRequest( |
| 159 RenderViewHost* render_view_host, | 159 RenderViewHost* render_view_host, |
| 160 const ResourceRedirectDetails& details); | 160 const ResourceRedirectDetails& details); |
| 161 | 161 |
| 162 WebContentsView* GetView() const; | 162 WebContentsView* GetView() const; |
| 163 | 163 |
| 164 GeolocationDispatcherHost* geolocation_dispatcher_host() { | 164 GeolocationDispatcherHost* geolocation_dispatcher_host() { |
| 165 return geolocation_dispatcher_host_.get(); | 165 return geolocation_dispatcher_host_.get(); |
| 166 } | 166 } |
| 167 | 167 |
| 168 bool should_normally_be_visible() { return should_normally_be_visible_; } |
| 169 |
| 168 // WebContents ------------------------------------------------------ | 170 // WebContents ------------------------------------------------------ |
| 169 virtual WebContentsDelegate* GetDelegate() OVERRIDE; | 171 virtual WebContentsDelegate* GetDelegate() OVERRIDE; |
| 170 virtual void SetDelegate(WebContentsDelegate* delegate) OVERRIDE; | 172 virtual void SetDelegate(WebContentsDelegate* delegate) OVERRIDE; |
| 171 virtual NavigationControllerImpl& GetController() OVERRIDE; | 173 virtual NavigationControllerImpl& GetController() OVERRIDE; |
| 172 virtual const NavigationControllerImpl& GetController() const OVERRIDE; | 174 virtual const NavigationControllerImpl& GetController() const OVERRIDE; |
| 173 virtual BrowserContext* GetBrowserContext() const OVERRIDE; | 175 virtual BrowserContext* GetBrowserContext() const OVERRIDE; |
| 174 virtual const GURL& GetURL() const OVERRIDE; | 176 virtual const GURL& GetURL() const OVERRIDE; |
| 175 virtual const GURL& GetVisibleURL() const OVERRIDE; | 177 virtual const GURL& GetVisibleURL() const OVERRIDE; |
| 176 virtual const GURL& GetLastCommittedURL() const OVERRIDE; | 178 virtual const GURL& GetLastCommittedURL() const OVERRIDE; |
| 177 virtual RenderProcessHost* GetRenderProcessHost() const OVERRIDE; | 179 virtual RenderProcessHost* GetRenderProcessHost() const OVERRIDE; |
| (...skipping 920 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1098 bool last_dialog_suppressed_; | 1100 bool last_dialog_suppressed_; |
| 1099 | 1101 |
| 1100 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; | 1102 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; |
| 1101 | 1103 |
| 1102 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1104 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 1103 }; | 1105 }; |
| 1104 | 1106 |
| 1105 } // namespace content | 1107 } // namespace content |
| 1106 | 1108 |
| 1107 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1109 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |