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

Side by Side Diff: chrome/browser/extensions/tab_helper.h

Issue 624153002: replace OVERRIDE and FINAL with override and final in chrome/browser/extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_
6 #define CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 135
136 explicit TabHelper(content::WebContents* web_contents); 136 explicit TabHelper(content::WebContents* web_contents);
137 friend class content::WebContentsUserData<TabHelper>; 137 friend class content::WebContentsUserData<TabHelper>;
138 138
139 // Displays UI for completion of creating a bookmark hosted app. 139 // Displays UI for completion of creating a bookmark hosted app.
140 void FinishCreateBookmarkApp(const extensions::Extension* extension, 140 void FinishCreateBookmarkApp(const extensions::Extension* extension,
141 const WebApplicationInfo& web_app_info); 141 const WebApplicationInfo& web_app_info);
142 142
143 // content::WebContentsObserver overrides. 143 // content::WebContentsObserver overrides.
144 virtual void RenderViewCreated( 144 virtual void RenderViewCreated(
145 content::RenderViewHost* render_view_host) OVERRIDE; 145 content::RenderViewHost* render_view_host) override;
146 virtual void DidNavigateMainFrame( 146 virtual void DidNavigateMainFrame(
147 const content::LoadCommittedDetails& details, 147 const content::LoadCommittedDetails& details,
148 const content::FrameNavigateParams& params) OVERRIDE; 148 const content::FrameNavigateParams& params) override;
149 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 149 virtual bool OnMessageReceived(const IPC::Message& message) override;
150 virtual bool OnMessageReceived( 150 virtual bool OnMessageReceived(
151 const IPC::Message& message, 151 const IPC::Message& message,
152 content::RenderFrameHost* render_frame_host) OVERRIDE; 152 content::RenderFrameHost* render_frame_host) override;
153 virtual void DidCloneToNewWebContents( 153 virtual void DidCloneToNewWebContents(
154 content::WebContents* old_web_contents, 154 content::WebContents* old_web_contents,
155 content::WebContents* new_web_contents) OVERRIDE; 155 content::WebContents* new_web_contents) override;
156 156
157 // extensions::ExtensionFunctionDispatcher::Delegate overrides. 157 // extensions::ExtensionFunctionDispatcher::Delegate overrides.
158 virtual extensions::WindowController* GetExtensionWindowController() 158 virtual extensions::WindowController* GetExtensionWindowController()
159 const OVERRIDE; 159 const override;
160 virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE; 160 virtual content::WebContents* GetAssociatedWebContents() const override;
161 161
162 // Message handlers. 162 // Message handlers.
163 void OnDidGetWebApplicationInfo(const WebApplicationInfo& info); 163 void OnDidGetWebApplicationInfo(const WebApplicationInfo& info);
164 void OnInlineWebstoreInstall(int install_id, 164 void OnInlineWebstoreInstall(int install_id,
165 int return_route_id, 165 int return_route_id,
166 const std::string& webstore_item_id, 166 const std::string& webstore_item_id,
167 const GURL& requestor_url, 167 const GURL& requestor_url,
168 int listeners_mask); 168 int listeners_mask);
169 void OnGetAppInstallState(const GURL& requestor_url, 169 void OnGetAppInstallState(const GURL& requestor_url,
170 int return_route_id, 170 int return_route_id,
(...skipping 21 matching lines...) Expand all
192 // WebstoreStandaloneInstaller::Callback. 192 // WebstoreStandaloneInstaller::Callback.
193 virtual void OnInlineInstallComplete(int install_id, 193 virtual void OnInlineInstallComplete(int install_id,
194 int return_route_id, 194 int return_route_id,
195 bool success, 195 bool success,
196 const std::string& error, 196 const std::string& error,
197 webstore_install::Result result); 197 webstore_install::Result result);
198 198
199 // content::NotificationObserver. 199 // content::NotificationObserver.
200 virtual void Observe(int type, 200 virtual void Observe(int type,
201 const content::NotificationSource& source, 201 const content::NotificationSource& source,
202 const content::NotificationDetails& details) OVERRIDE; 202 const content::NotificationDetails& details) override;
203 203
204 // Requests application info for the specified page. This is an asynchronous 204 // Requests application info for the specified page. This is an asynchronous
205 // request. The delegate is notified by way of OnDidGetApplicationInfo when 205 // request. The delegate is notified by way of OnDidGetApplicationInfo when
206 // the data is available. 206 // the data is available.
207 void GetApplicationInfo(WebAppAction action); 207 void GetApplicationInfo(WebAppAction action);
208 208
209 // Sends our tab ID to |render_view_host|. 209 // Sends our tab ID to |render_view_host|.
210 void SetTabId(content::RenderViewHost* render_view_host); 210 void SetTabId(content::RenderViewHost* render_view_host);
211 211
212 // Data for app extensions --------------------------------------------------- 212 // Data for app extensions ---------------------------------------------------
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 259
260 // Vend weak pointers that can be invalidated to stop in-progress loads. 260 // Vend weak pointers that can be invalidated to stop in-progress loads.
261 base::WeakPtrFactory<TabHelper> image_loader_ptr_factory_; 261 base::WeakPtrFactory<TabHelper> image_loader_ptr_factory_;
262 262
263 DISALLOW_COPY_AND_ASSIGN(TabHelper); 263 DISALLOW_COPY_AND_ASSIGN(TabHelper);
264 }; 264 };
265 265
266 } // namespace extensions 266 } // namespace extensions
267 267
268 #endif // CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ 268 #endif // CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/suspicious_extension_bubble_controller.cc ('k') | chrome/browser/extensions/test_blacklist.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698