Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 12041059: content: convert SSL notifications to observer usage (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android build Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 // Returns embedder browser plugin object, or NULL if this WebContents is not 174 // Returns embedder browser plugin object, or NULL if this WebContents is not
175 // an embedder. 175 // an embedder.
176 BrowserPluginEmbedder* GetBrowserPluginEmbedder(); 176 BrowserPluginEmbedder* GetBrowserPluginEmbedder();
177 177
178 // Gets the current fullscreen render widget's routing ID. Returns 178 // Gets the current fullscreen render widget's routing ID. Returns
179 // MSG_ROUTING_NONE when there is no fullscreen render widget. 179 // MSG_ROUTING_NONE when there is no fullscreen render widget.
180 int GetFullscreenWidgetRoutingID() const; 180 int GetFullscreenWidgetRoutingID() const;
181 181
182 void DidBlock3DAPIs(const GURL& url, ThreeDAPIType requester); 182 void DidBlock3DAPIs(const GURL& url, ThreeDAPIType requester);
183 183
184 // Invoked when visible SSL state (as defined by SSLStatus) changes.
185 void DidChangeVisibleSSLState();
186
184 // WebContents ------------------------------------------------------ 187 // WebContents ------------------------------------------------------
185 virtual WebContentsDelegate* GetDelegate() OVERRIDE; 188 virtual WebContentsDelegate* GetDelegate() OVERRIDE;
186 virtual void SetDelegate(WebContentsDelegate* delegate) OVERRIDE; 189 virtual void SetDelegate(WebContentsDelegate* delegate) OVERRIDE;
187 virtual NavigationControllerImpl& GetController() OVERRIDE; 190 virtual NavigationControllerImpl& GetController() OVERRIDE;
188 virtual const NavigationControllerImpl& GetController() const OVERRIDE; 191 virtual const NavigationControllerImpl& GetController() const OVERRIDE;
189 virtual BrowserContext* GetBrowserContext() const OVERRIDE; 192 virtual BrowserContext* GetBrowserContext() const OVERRIDE;
190 virtual RenderProcessHost* GetRenderProcessHost() const OVERRIDE; 193 virtual RenderProcessHost* GetRenderProcessHost() const OVERRIDE;
191 virtual RenderViewHost* GetRenderViewHost() const OVERRIDE; 194 virtual RenderViewHost* GetRenderViewHost() const OVERRIDE;
192 virtual void GetRenderViewHostAtPosition( 195 virtual void GetRenderViewHostAtPosition(
193 int x, 196 int x,
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after
876 // Maps the ids of pending favicon downloads to their callbacks 879 // Maps the ids of pending favicon downloads to their callbacks
877 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; 880 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap;
878 FaviconDownloadMap favicon_download_map_; 881 FaviconDownloadMap favicon_download_map_;
879 882
880 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 883 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
881 }; 884 };
882 885
883 } // namespace content 886 } // namespace content
884 887
885 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 888 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698