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

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

Issue 12220100: Revert "content: convert SSL notifications to observer usage" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « content/public/browser/notification_types.h ('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_OBSERVER_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_
7 7
8 #include "base/process.h" 8 #include "base/process.h"
9 #include "base/process_util.h" 9 #include "base/process_util.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 242
243 // Invoked when new FaviconURL candidates are received from the renderer. 243 // Invoked when new FaviconURL candidates are received from the renderer.
244 virtual void DidUpdateFaviconURL(int32 page_id, 244 virtual void DidUpdateFaviconURL(int32 page_id,
245 const std::vector<FaviconURL>& candidates) {} 245 const std::vector<FaviconURL>& candidates) {}
246 246
247 // Invoked when a pepper plugin creates and shows or destroys a fullscreen 247 // Invoked when a pepper plugin creates and shows or destroys a fullscreen
248 // render widget. 248 // render widget.
249 virtual void DidShowFullscreenWidget(int routing_id) {} 249 virtual void DidShowFullscreenWidget(int routing_id) {}
250 virtual void DidDestroyFullscreenWidget(int routing_id) {} 250 virtual void DidDestroyFullscreenWidget(int routing_id) {}
251 251
252 // Invoked when visible SSL state (as defined by SSLStatus) changes.
253 virtual void DidChangeVisibleSSLState() {}
254
255 // IPC::Listener implementation. 252 // IPC::Listener implementation.
256 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 253 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
257 254
258 // IPC::Sender implementation. 255 // IPC::Sender implementation.
259 virtual bool Send(IPC::Message* message) OVERRIDE; 256 virtual bool Send(IPC::Message* message) OVERRIDE;
260 int routing_id() const; 257 int routing_id() const;
261 258
262 protected: 259 protected:
263 // Use this constructor when the object is tied to a single WebContents for 260 // Use this constructor when the object is tied to a single WebContents for
264 // its entire lifetime. 261 // its entire lifetime.
(...skipping 19 matching lines...) Expand all
284 void WebContentsImplDestroyed(); 281 void WebContentsImplDestroyed();
285 282
286 WebContentsImpl* web_contents_; 283 WebContentsImpl* web_contents_;
287 284
288 DISALLOW_COPY_AND_ASSIGN(WebContentsObserver); 285 DISALLOW_COPY_AND_ASSIGN(WebContentsObserver);
289 }; 286 };
290 287
291 } // namespace content 288 } // namespace content
292 289
293 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_ 290 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/public/browser/notification_types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698