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

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

Issue 11464034: Remove unused DidOpenURL api from WebContentObserver. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years 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/web_contents/web_contents_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_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_util.h" 8 #include "base/process_util.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "content/public/browser/navigation_controller.h" 10 #include "content/public/browser/navigation_controller.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 int error_code, 88 int error_code,
89 const string16& error_description, 89 const string16& error_description,
90 RenderViewHost* render_view_host) {} 90 RenderViewHost* render_view_host) {}
91 virtual void DidStartLoading(RenderViewHost* render_view_host) {} 91 virtual void DidStartLoading(RenderViewHost* render_view_host) {}
92 virtual void DidStopLoading(RenderViewHost* render_view_host) {} 92 virtual void DidStopLoading(RenderViewHost* render_view_host) {}
93 93
94 virtual void DidGetUserGesture() {} 94 virtual void DidGetUserGesture() {}
95 virtual void DidGetIgnoredUIEvent() {} 95 virtual void DidGetIgnoredUIEvent() {}
96 virtual void StopNavigation() {} 96 virtual void StopNavigation() {}
97 97
98 virtual void DidOpenURL(const GURL& url,
99 const Referrer& referrer,
100 WindowOpenDisposition disposition,
101 PageTransition transition) {}
102
103 virtual void DidOpenRequestedURL(WebContents* new_contents, 98 virtual void DidOpenRequestedURL(WebContents* new_contents,
104 const GURL& url, 99 const GURL& url,
105 const Referrer& referrer, 100 const Referrer& referrer,
106 WindowOpenDisposition disposition, 101 WindowOpenDisposition disposition,
107 PageTransition transition, 102 PageTransition transition,
108 int64 source_frame_id) {} 103 int64 source_frame_id) {}
109 104
110 virtual void WasShown() {} 105 virtual void WasShown() {}
111 106
112 virtual void AppCacheAccessed(const GURL& manifest_url, 107 virtual void AppCacheAccessed(const GURL& manifest_url,
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 void WebContentsImplDestroyed(); 174 void WebContentsImplDestroyed();
180 175
181 WebContentsImpl* web_contents_; 176 WebContentsImpl* web_contents_;
182 177
183 DISALLOW_COPY_AND_ASSIGN(WebContentsObserver); 178 DISALLOW_COPY_AND_ASSIGN(WebContentsObserver);
184 }; 179 };
185 180
186 } // namespace content 181 } // namespace content
187 182
188 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_ 183 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698