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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 // Returns embedder browser plugin object, or NULL if this WebContents is not | 176 // Returns embedder browser plugin object, or NULL if this WebContents is not |
177 // an embedder. | 177 // an embedder. |
178 BrowserPluginEmbedder* GetBrowserPluginEmbedder() const; | 178 BrowserPluginEmbedder* GetBrowserPluginEmbedder() const; |
179 | 179 |
180 // Gets the current fullscreen render widget's routing ID. Returns | 180 // Gets the current fullscreen render widget's routing ID. Returns |
181 // MSG_ROUTING_NONE when there is no fullscreen render widget. | 181 // MSG_ROUTING_NONE when there is no fullscreen render widget. |
182 int GetFullscreenWidgetRoutingID() const; | 182 int GetFullscreenWidgetRoutingID() const; |
183 | 183 |
184 void DidBlock3DAPIs(const GURL& url, ThreeDAPIType requester); | 184 void DidBlock3DAPIs(const GURL& url, ThreeDAPIType requester); |
185 | 185 |
| 186 // Invoked when visible SSL state (as defined by SSLStatus) changes. |
| 187 void DidChangeVisibleSSLState(); |
| 188 |
186 // WebContents ------------------------------------------------------ | 189 // WebContents ------------------------------------------------------ |
187 virtual WebContentsDelegate* GetDelegate() OVERRIDE; | 190 virtual WebContentsDelegate* GetDelegate() OVERRIDE; |
188 virtual void SetDelegate(WebContentsDelegate* delegate) OVERRIDE; | 191 virtual void SetDelegate(WebContentsDelegate* delegate) OVERRIDE; |
189 virtual NavigationControllerImpl& GetController() OVERRIDE; | 192 virtual NavigationControllerImpl& GetController() OVERRIDE; |
190 virtual const NavigationControllerImpl& GetController() const OVERRIDE; | 193 virtual const NavigationControllerImpl& GetController() const OVERRIDE; |
191 virtual BrowserContext* GetBrowserContext() const OVERRIDE; | 194 virtual BrowserContext* GetBrowserContext() const OVERRIDE; |
192 virtual RenderProcessHost* GetRenderProcessHost() const OVERRIDE; | 195 virtual RenderProcessHost* GetRenderProcessHost() const OVERRIDE; |
193 virtual RenderViewHost* GetRenderViewHost() const OVERRIDE; | 196 virtual RenderViewHost* GetRenderViewHost() const OVERRIDE; |
194 virtual void GetRenderViewHostAtPosition( | 197 virtual void GetRenderViewHostAtPosition( |
195 int x, | 198 int x, |
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
896 // Maps the ids of pending favicon downloads to their callbacks | 899 // Maps the ids of pending favicon downloads to their callbacks |
897 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; | 900 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; |
898 FaviconDownloadMap favicon_download_map_; | 901 FaviconDownloadMap favicon_download_map_; |
899 | 902 |
900 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 903 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
901 }; | 904 }; |
902 | 905 |
903 } // namespace content | 906 } // namespace content |
904 | 907 |
905 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 908 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |