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

Side by Side Diff: chrome/browser/ui/webui/chrome_web_contents_handler.h

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (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_UI_WEBUI_CHROME_WEB_CONTENTS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROME_WEB_CONTENTS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROME_WEB_CONTENTS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROME_WEB_CONTENTS_HANDLER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "ui/web_dialogs/web_dialog_web_contents_delegate.h" 9 #include "ui/web_dialogs/web_dialog_web_contents_delegate.h"
10 10
11 class ChromeWebContentsHandler 11 class ChromeWebContentsHandler
12 : public ui::WebDialogWebContentsDelegate::WebContentsHandler { 12 : public ui::WebDialogWebContentsDelegate::WebContentsHandler {
13 public: 13 public:
14 ChromeWebContentsHandler(); 14 ChromeWebContentsHandler();
15 virtual ~ChromeWebContentsHandler(); 15 ~ChromeWebContentsHandler() override;
16 16
17 // Overridden from WebDialogWebContentsDelegate::WebContentsHandler: 17 // Overridden from WebDialogWebContentsDelegate::WebContentsHandler:
18 virtual content::WebContents* OpenURLFromTab( 18 content::WebContents* OpenURLFromTab(
19 content::BrowserContext* context, 19 content::BrowserContext* context,
20 content::WebContents* source, 20 content::WebContents* source,
21 const content::OpenURLParams& params) override; 21 const content::OpenURLParams& params) override;
22 virtual void AddNewContents(content::BrowserContext* context, 22 void AddNewContents(content::BrowserContext* context,
23 content::WebContents* source, 23 content::WebContents* source,
24 content::WebContents* new_contents, 24 content::WebContents* new_contents,
25 WindowOpenDisposition disposition, 25 WindowOpenDisposition disposition,
26 const gfx::Rect& initial_pos, 26 const gfx::Rect& initial_pos,
27 bool user_gesture) override; 27 bool user_gesture) override;
28 28
29 private: 29 private:
30 DISALLOW_COPY_AND_ASSIGN(ChromeWebContentsHandler); 30 DISALLOW_COPY_AND_ASSIGN(ChromeWebContentsHandler);
31 }; 31 };
32 32
33 #endif // CHROME_BROWSER_UI_WEBUI_CHROME_WEB_CONTENTS_HANDLER_H_ 33 #endif // CHROME_BROWSER_UI_WEBUI_CHROME_WEB_CONTENTS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698