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

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

Issue 1314843007: Refactor connection_security into SecurityStateModel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: create SecurityStateModel for chromeos login webview Created 5 years, 3 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
« no previous file with comments | « content/browser/frame_host/interstitial_page_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 const OpenURLParams& params); 85 const OpenURLParams& params);
86 86
87 // Called to inform the delegate that the WebContents's navigation state 87 // Called to inform the delegate that the WebContents's navigation state
88 // changed. The |changed_flags| indicates the parts of the navigation state 88 // changed. The |changed_flags| indicates the parts of the navigation state
89 // that have been updated. 89 // that have been updated.
90 virtual void NavigationStateChanged(WebContents* source, 90 virtual void NavigationStateChanged(WebContents* source,
91 InvalidateTypes changed_flags) {} 91 InvalidateTypes changed_flags) {}
92 92
93 // Called to inform the delegate that the WebContent's visible SSL state (as 93 // Called to inform the delegate that the WebContent's visible SSL state (as
94 // defined by SSLStatus) changed. 94 // defined by SSLStatus) changed.
95 virtual void VisibleSSLStateChanged(const WebContents* source) {} 95 virtual void VisibleSSLStateChanged(WebContents* source) {}
96 96
97 // Creates a new tab with the already-created WebContents 'new_contents'. 97 // Creates a new tab with the already-created WebContents 'new_contents'.
98 // The window for the added contents should be reparented correctly when this 98 // The window for the added contents should be reparented correctly when this
99 // method returns. If |disposition| is NEW_POPUP, |initial_rect| should hold 99 // method returns. If |disposition| is NEW_POPUP, |initial_rect| should hold
100 // the initial position and size. If |was_blocked| is non-nullptr, then 100 // the initial position and size. If |was_blocked| is non-nullptr, then
101 // |*was_blocked| will be set to true if the popup gets blocked, and left 101 // |*was_blocked| will be set to true if the popup gets blocked, and left
102 // unchanged otherwise. 102 // unchanged otherwise.
103 virtual void AddNewContents(WebContents* source, 103 virtual void AddNewContents(WebContents* source,
104 WebContents* new_contents, 104 WebContents* new_contents,
105 WindowOpenDisposition disposition, 105 WindowOpenDisposition disposition,
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 // Called when |this| is no longer the WebContentsDelegate for |source|. 517 // Called when |this| is no longer the WebContentsDelegate for |source|.
518 void Detach(WebContents* source); 518 void Detach(WebContents* source);
519 519
520 // The WebContents that this is currently a delegate for. 520 // The WebContents that this is currently a delegate for.
521 std::set<WebContents*> attached_contents_; 521 std::set<WebContents*> attached_contents_;
522 }; 522 };
523 523
524 } // namespace content 524 } // namespace content
525 525
526 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ 526 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/interstitial_page_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698