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

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

Issue 12249003: content: convert SSL notifications to observer usage (take 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
181 // WebContents ------------------------------------------------------ 184 // WebContents ------------------------------------------------------
182 virtual WebContentsDelegate* GetDelegate() OVERRIDE; 185 virtual WebContentsDelegate* GetDelegate() OVERRIDE;
183 virtual void SetDelegate(WebContentsDelegate* delegate) OVERRIDE; 186 virtual void SetDelegate(WebContentsDelegate* delegate) OVERRIDE;
184 virtual NavigationControllerImpl& GetController() OVERRIDE; 187 virtual NavigationControllerImpl& GetController() OVERRIDE;
185 virtual const NavigationControllerImpl& GetController() const OVERRIDE; 188 virtual const NavigationControllerImpl& GetController() const OVERRIDE;
186 virtual BrowserContext* GetBrowserContext() const OVERRIDE; 189 virtual BrowserContext* GetBrowserContext() const OVERRIDE;
187 virtual RenderProcessHost* GetRenderProcessHost() const OVERRIDE; 190 virtual RenderProcessHost* GetRenderProcessHost() const OVERRIDE;
188 virtual RenderViewHost* GetRenderViewHost() const OVERRIDE; 191 virtual RenderViewHost* GetRenderViewHost() const OVERRIDE;
189 virtual void GetRenderViewHostAtPosition( 192 virtual void GetRenderViewHostAtPosition(
190 int x, 193 int x,
(...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after
887 // Maps the ids of pending favicon downloads to their callbacks 890 // Maps the ids of pending favicon downloads to their callbacks
888 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; 891 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap;
889 FaviconDownloadMap favicon_download_map_; 892 FaviconDownloadMap favicon_download_map_;
890 893
891 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 894 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
892 }; 895 };
893 896
894 } // namespace content 897 } // namespace content
895 898
896 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 899 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/ssl/ssl_policy_backend.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698