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