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

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

Issue 10696158: Rename WasRestored to WasShown across all uses. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Bring to ToT to commit Created 8 years, 4 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/public/browser/web_contents.h ('k') | content/public/test/test_renderer_host.h » ('j') | 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 WindowOpenDisposition disposition, 96 WindowOpenDisposition disposition,
97 PageTransition transition) {} 97 PageTransition transition) {}
98 98
99 virtual void DidOpenRequestedURL(WebContents* new_contents, 99 virtual void DidOpenRequestedURL(WebContents* new_contents,
100 const GURL& url, 100 const GURL& url,
101 const Referrer& referrer, 101 const Referrer& referrer,
102 WindowOpenDisposition disposition, 102 WindowOpenDisposition disposition,
103 PageTransition transition, 103 PageTransition transition,
104 int64 source_frame_id) {} 104 int64 source_frame_id) {}
105 105
106 virtual void WasRestored() {} 106 virtual void WasShown() {}
107 107
108 virtual void AppCacheAccessed(const GURL& manifest_url, 108 virtual void AppCacheAccessed(const GURL& manifest_url,
109 bool blocked_by_policy) {} 109 bool blocked_by_policy) {}
110 110
111 // Notification that a plugin has crashed. 111 // Notification that a plugin has crashed.
112 virtual void PluginCrashed(const FilePath& plugin_path) {} 112 virtual void PluginCrashed(const FilePath& plugin_path) {}
113 113
114 // Notication that the given plugin has hung or become unhung. This 114 // Notication that the given plugin has hung or become unhung. This
115 // notification is only for Pepper plugins. 115 // notification is only for Pepper plugins.
116 // 116 //
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 void WebContentsImplDestroyed(); 158 void WebContentsImplDestroyed();
159 159
160 WebContentsImpl* web_contents_; 160 WebContentsImpl* web_contents_;
161 161
162 DISALLOW_COPY_AND_ASSIGN(WebContentsObserver); 162 DISALLOW_COPY_AND_ASSIGN(WebContentsObserver);
163 }; 163 };
164 164
165 } // namespace content 165 } // namespace content
166 166
167 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_ 167 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/public/browser/web_contents.h ('k') | content/public/test/test_renderer_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698