| 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 // guest. | 170 // guest. |
| 171 BrowserPluginGuest* GetBrowserPluginGuest() const; | 171 BrowserPluginGuest* GetBrowserPluginGuest() const; |
| 172 // Returns embedder browser plugin object, or NULL if this WebContents is not | 172 // Returns embedder browser plugin object, or NULL if this WebContents is not |
| 173 // an embedder. | 173 // an embedder. |
| 174 BrowserPluginEmbedder* GetBrowserPluginEmbedder() const; | 174 BrowserPluginEmbedder* GetBrowserPluginEmbedder() const; |
| 175 | 175 |
| 176 // Gets the current fullscreen render widget's routing ID. Returns | 176 // Gets the current fullscreen render widget's routing ID. Returns |
| 177 // MSG_ROUTING_NONE when there is no fullscreen render widget. | 177 // MSG_ROUTING_NONE when there is no fullscreen render widget. |
| 178 int GetFullscreenWidgetRoutingID() const; | 178 int GetFullscreenWidgetRoutingID() const; |
| 179 | 179 |
| 180 void DidBlock3DAPIs(const GURL& url, ThreeDAPIType requester); | |
| 181 | |
| 182 // Invoked when visible SSL state (as defined by SSLStatus) changes. | 180 // Invoked when visible SSL state (as defined by SSLStatus) changes. |
| 183 void DidChangeVisibleSSLState(); | 181 void DidChangeVisibleSSLState(); |
| 184 | 182 |
| 185 // WebContents ------------------------------------------------------ | 183 // WebContents ------------------------------------------------------ |
| 186 virtual WebContentsDelegate* GetDelegate() OVERRIDE; | 184 virtual WebContentsDelegate* GetDelegate() OVERRIDE; |
| 187 virtual void SetDelegate(WebContentsDelegate* delegate) OVERRIDE; | 185 virtual void SetDelegate(WebContentsDelegate* delegate) OVERRIDE; |
| 188 virtual NavigationControllerImpl& GetController() OVERRIDE; | 186 virtual NavigationControllerImpl& GetController() OVERRIDE; |
| 189 virtual const NavigationControllerImpl& GetController() const OVERRIDE; | 187 virtual const NavigationControllerImpl& GetController() const OVERRIDE; |
| 190 virtual BrowserContext* GetBrowserContext() const OVERRIDE; | 188 virtual BrowserContext* GetBrowserContext() const OVERRIDE; |
| 191 virtual RenderProcessHost* GetRenderProcessHost() const OVERRIDE; | 189 virtual RenderProcessHost* GetRenderProcessHost() const OVERRIDE; |
| (...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 888 // Maps the ids of pending favicon downloads to their callbacks | 886 // Maps the ids of pending favicon downloads to their callbacks |
| 889 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; | 887 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; |
| 890 FaviconDownloadMap favicon_download_map_; | 888 FaviconDownloadMap favicon_download_map_; |
| 891 | 889 |
| 892 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 890 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 893 }; | 891 }; |
| 894 | 892 |
| 895 } // namespace content | 893 } // namespace content |
| 896 | 894 |
| 897 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 895 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |