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

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

Issue 2724433002: Remove the retargeting notification (Closed)
Patch Set: Remove comments in safe browsing tests Created 3 years, 9 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 #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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 // This method is invoked when a new WebContents was created in response to 268 // This method is invoked when a new WebContents was created in response to
269 // an action in the observed WebContents, e.g. a link with target=_blank was 269 // an action in the observed WebContents, e.g. a link with target=_blank was
270 // clicked. The |source_render_frame_host| is the frame in which the action 270 // clicked. The |source_render_frame_host| is the frame in which the action
271 // took place. 271 // took place.
272 virtual void DidOpenRequestedURL(WebContents* new_contents, 272 virtual void DidOpenRequestedURL(WebContents* new_contents,
273 RenderFrameHost* source_render_frame_host, 273 RenderFrameHost* source_render_frame_host,
274 const GURL& url, 274 const GURL& url,
275 const Referrer& referrer, 275 const Referrer& referrer,
276 WindowOpenDisposition disposition, 276 WindowOpenDisposition disposition,
277 ui::PageTransition transition, 277 ui::PageTransition transition,
278 bool started_from_context_menu) {} 278 bool started_from_context_menu,
279 bool renderer_initiated) {}
279 280
280 // This method is invoked when the renderer process has completed its first 281 // This method is invoked when the renderer process has completed its first
281 // paint after a non-empty layout. 282 // paint after a non-empty layout.
282 virtual void DidFirstVisuallyNonEmptyPaint() {} 283 virtual void DidFirstVisuallyNonEmptyPaint() {}
283 284
284 // This method is invoked when the main frame in the renderer process performs 285 // This method is invoked when the main frame in the renderer process performs
285 // the first paint after a navigation. 286 // the first paint after a navigation.
286 virtual void DidFirstPaintAfterLoad(RenderWidgetHost* render_widget_host) {} 287 virtual void DidFirstPaintAfterLoad(RenderWidgetHost* render_widget_host) {}
287 288
288 // When WebContents::Stop() is called, the WebContents stops loading and then 289 // When WebContents::Stop() is called, the WebContents stops loading and then
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 void ResetWebContents(); 457 void ResetWebContents();
457 458
458 WebContentsImpl* web_contents_; 459 WebContentsImpl* web_contents_;
459 460
460 DISALLOW_COPY_AND_ASSIGN(WebContentsObserver); 461 DISALLOW_COPY_AND_ASSIGN(WebContentsObserver);
461 }; 462 };
462 463
463 } // namespace content 464 } // namespace content
464 465
465 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_ 466 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/test/web_contents_observer_sanity_checker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698