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

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

Issue 302653006: Remove use of ResourceRequestInfo::GetRequestID from cert enrollment. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase again. Created 6 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 | 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_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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 virtual WebContents* OpenURLFromTab(WebContents* source, 82 virtual WebContents* OpenURLFromTab(WebContents* source,
83 const OpenURLParams& params); 83 const OpenURLParams& params);
84 84
85 // Called to inform the delegate that the WebContents's navigation state 85 // Called to inform the delegate that the WebContents's navigation state
86 // changed. The |changed_flags| indicates the parts of the navigation state 86 // changed. The |changed_flags| indicates the parts of the navigation state
87 // that have been updated, and is any combination of the 87 // that have been updated, and is any combination of the
88 // |WebContents::InvalidateTypes| bits. 88 // |WebContents::InvalidateTypes| bits.
89 virtual void NavigationStateChanged(const WebContents* source, 89 virtual void NavigationStateChanged(const WebContents* source,
90 unsigned changed_flags) {} 90 unsigned changed_flags) {}
91 91
92 // Called to inform the delegate that the WebContent's visible SSL state (as
93 // defined by SSLStatus) changed.
94 virtual void VisibleSSLStateChanged(const WebContents* source) {}
95
92 // Creates a new tab with the already-created WebContents 'new_contents'. 96 // Creates a new tab with the already-created WebContents 'new_contents'.
93 // The window for the added contents should be reparented correctly when this 97 // The window for the added contents should be reparented correctly when this
94 // method returns. If |disposition| is NEW_POPUP, |initial_pos| should hold 98 // method returns. If |disposition| is NEW_POPUP, |initial_pos| should hold
95 // the initial position. If |was_blocked| is non-NULL, then |*was_blocked| 99 // the initial position. If |was_blocked| is non-NULL, then |*was_blocked|
96 // will be set to true if the popup gets blocked, and left unchanged 100 // will be set to true if the popup gets blocked, and left unchanged
97 // otherwise. 101 // otherwise.
98 virtual void AddNewContents(WebContents* source, 102 virtual void AddNewContents(WebContents* source,
99 WebContents* new_contents, 103 WebContents* new_contents,
100 WindowOpenDisposition disposition, 104 WindowOpenDisposition disposition,
101 const gfx::Rect& initial_pos, 105 const gfx::Rect& initial_pos,
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 // Called when |this| is no longer the WebContentsDelegate for |source|. 483 // Called when |this| is no longer the WebContentsDelegate for |source|.
480 void Detach(WebContents* source); 484 void Detach(WebContents* source);
481 485
482 // The WebContents that this is currently a delegate for. 486 // The WebContents that this is currently a delegate for.
483 std::set<WebContents*> attached_contents_; 487 std::set<WebContents*> attached_contents_;
484 }; 488 };
485 489
486 } // namespace content 490 } // namespace content
487 491
488 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ 492 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/browser/web_contents_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698