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

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

Issue 666153002: Standardize usage of virtual/override/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_EXTENSION_WEB_UI_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_WEB_UI_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_WEB_UI_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_WEB_UI_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 19 matching lines...) Expand all
30 // This class implements WebUI for extensions and allows extensions to put UI in 30 // This class implements WebUI for extensions and allows extensions to put UI in
31 // the main tab contents area. For example, each extension can specify an 31 // the main tab contents area. For example, each extension can specify an
32 // "options_page", and that page is displayed in the tab contents area and is 32 // "options_page", and that page is displayed in the tab contents area and is
33 // hosted by this class. 33 // hosted by this class.
34 class ExtensionWebUI : public content::WebUIController { 34 class ExtensionWebUI : public content::WebUIController {
35 public: 35 public:
36 static const char kExtensionURLOverrides[]; 36 static const char kExtensionURLOverrides[];
37 37
38 ExtensionWebUI(content::WebUI* web_ui, const GURL& url); 38 ExtensionWebUI(content::WebUI* web_ui, const GURL& url);
39 39
40 virtual ~ExtensionWebUI(); 40 ~ExtensionWebUI() override;
41 41
42 virtual extensions::BookmarkManagerPrivateDragEventRouter* 42 virtual extensions::BookmarkManagerPrivateDragEventRouter*
43 bookmark_manager_private_drag_event_router(); 43 bookmark_manager_private_drag_event_router();
44 44
45 // BrowserURLHandler 45 // BrowserURLHandler
46 static bool HandleChromeURLOverride(GURL* url, 46 static bool HandleChromeURLOverride(GURL* url,
47 content::BrowserContext* browser_context); 47 content::BrowserContext* browser_context);
48 static bool HandleChromeURLOverrideReverse( 48 static bool HandleChromeURLOverrideReverse(
49 GURL* url, content::BrowserContext* browser_context); 49 GURL* url, content::BrowserContext* browser_context);
50 50
(...skipping 29 matching lines...) Expand all
80 // TODO(aa): This seems out of place. Why is it not with the event routers for 80 // TODO(aa): This seems out of place. Why is it not with the event routers for
81 // the other extension APIs? 81 // the other extension APIs?
82 scoped_ptr<extensions::BookmarkManagerPrivateDragEventRouter> 82 scoped_ptr<extensions::BookmarkManagerPrivateDragEventRouter>
83 bookmark_manager_private_drag_event_router_; 83 bookmark_manager_private_drag_event_router_;
84 84
85 // The URL this WebUI was created for. 85 // The URL this WebUI was created for.
86 GURL url_; 86 GURL url_;
87 }; 87 };
88 88
89 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEB_UI_H_ 89 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEB_UI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698