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

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

Issue 1162663004: Introduce browser-side plumbing for sending the lock icon status to DevTools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased onto latest master. Created 5 years, 6 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 "content/public/browser/render_view_host.h" 10 #include "content/public/browser/render_view_host.h"
11 #include "content/public/browser/web_contents.h" 11 #include "content/public/browser/web_contents.h"
12 #include "content/public/common/bindings_policy.h" 12 #include "content/public/common/bindings_policy.h"
13 #include "content/public/common/security_style.h"
13 #include "content/public/common/url_constants.h" 14 #include "content/public/common/url_constants.h"
14 #include "ui/gfx/geometry/rect.h" 15 #include "ui/gfx/geometry/rect.h"
15 16
16 namespace content { 17 namespace content {
17 18
18 WebContentsDelegate::WebContentsDelegate() { 19 WebContentsDelegate::WebContentsDelegate() {
19 } 20 }
20 21
21 WebContents* WebContentsDelegate::OpenURLFromTab(WebContents* source, 22 WebContents* WebContentsDelegate::OpenURLFromTab(WebContents* source,
22 const OpenURLParams& params) { 23 const OpenURLParams& params) {
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 } 219 }
219 220
220 bool WebContentsDelegate::IsNeverVisible(WebContents* web_contents) { 221 bool WebContentsDelegate::IsNeverVisible(WebContents* web_contents) {
221 return false; 222 return false;
222 } 223 }
223 224
224 bool WebContentsDelegate::SaveFrame(const GURL& url, const Referrer& referrer) { 225 bool WebContentsDelegate::SaveFrame(const GURL& url, const Referrer& referrer) {
225 return false; 226 return false;
226 } 227 }
227 228
229 SecurityStyle WebContentsDelegate::GetSecurityStyle(
230 const WebContents* web_contents) {
231 return content::SECURITY_STYLE_UNKNOWN;
232 }
233
228 } // namespace content 234 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698