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

Side by Side Diff: content/public/browser/web_contents_delegate.cc

Issue 2400673003: Remove SSLStatus::security_style member and content::SecurityStyle (Closed)
Patch Set: more curly braces Created 4 years, 2 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
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 #include "content/public/browser/web_contents_delegate.h" 5 #include "content/public/browser/web_contents_delegate.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/singleton.h" 9 #include "base/memory/singleton.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
11 #include "content/public/browser/render_view_host.h" 11 #include "content/public/browser/render_view_host.h"
12 #include "content/public/browser/security_style_explanations.h" 12 #include "content/public/browser/security_style_explanations.h"
13 #include "content/public/browser/web_contents.h" 13 #include "content/public/browser/web_contents.h"
14 #include "content/public/common/bindings_policy.h" 14 #include "content/public/common/bindings_policy.h"
15 #include "content/public/common/security_style.h"
16 #include "content/public/common/url_constants.h" 15 #include "content/public/common/url_constants.h"
17 #include "net/cert/x509_certificate.h" 16 #include "net/cert/x509_certificate.h"
18 #include "ui/gfx/geometry/rect.h" 17 #include "ui/gfx/geometry/rect.h"
19 18
20 namespace content { 19 namespace content {
21 20
22 WebContentsDelegate::WebContentsDelegate() { 21 WebContentsDelegate::WebContentsDelegate() {
23 } 22 }
24 23
25 WebContents* WebContentsDelegate::OpenURLFromTab(WebContents* source, 24 WebContents* WebContentsDelegate::OpenURLFromTab(WebContents* source,
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 } 247 }
249 248
250 bool WebContentsDelegate::IsNeverVisible(WebContents* web_contents) { 249 bool WebContentsDelegate::IsNeverVisible(WebContents* web_contents) {
251 return false; 250 return false;
252 } 251 }
253 252
254 bool WebContentsDelegate::SaveFrame(const GURL& url, const Referrer& referrer) { 253 bool WebContentsDelegate::SaveFrame(const GURL& url, const Referrer& referrer) {
255 return false; 254 return false;
256 } 255 }
257 256
258 SecurityStyle WebContentsDelegate::GetSecurityStyle( 257 blink::WebSecurityStyle WebContentsDelegate::GetSecurityStyle(
259 WebContents* web_contents, 258 WebContents* web_contents,
260 SecurityStyleExplanations* security_style_explanations) { 259 SecurityStyleExplanations* security_style_explanations) {
261 return content::SECURITY_STYLE_UNKNOWN; 260 return blink::WebSecurityStyleUnknown;
262 } 261 }
263 262
264 void WebContentsDelegate::ShowCertificateViewerInDevTools( 263 void WebContentsDelegate::ShowCertificateViewerInDevTools(
265 WebContents* web_contents, 264 WebContents* web_contents,
266 scoped_refptr<net::X509Certificate> certificate) { 265 scoped_refptr<net::X509Certificate> certificate) {
267 } 266 }
268 267
269 void WebContentsDelegate::RequestAppBannerFromDevTools( 268 void WebContentsDelegate::RequestAppBannerFromDevTools(
270 content::WebContents* web_contents) { 269 content::WebContents* web_contents) {
271 } 270 }
272 271
273 } // namespace content 272 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/web_contents_delegate.h ('k') | content/public/browser/web_contents_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698