Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_UNLOAD_CONTROLLER_WEB_CONTENTS_DELEGATE_H_ | |
| 6 #define CHROME_BROWSER_UI_UNLOAD_CONTROLLER_WEB_CONTENTS_DELEGATE_H_ | |
| 7 | |
| 8 #include "content/public/browser/web_contents_delegate.h" | |
| 9 | |
| 10 class UnloadControllerWebContentsDelegate | |
|
Charlie Reis
2017/02/27 21:47:51
Please include a class comment saying what the pur
zmin
2017/03/06 23:58:08
Done.
| |
| 11 : public content::WebContentsDelegate { | |
| 12 public: | |
| 13 UnloadControllerWebContentsDelegate(); | |
| 14 ~UnloadControllerWebContentsDelegate() override; | |
| 15 | |
| 16 // WebContentsDelegate implementation. | |
| 17 bool ShouldSuppressDialogs(content::WebContents* source) override; | |
| 18 void CloseContents(content::WebContents* source) override; | |
| 19 | |
| 20 private: | |
| 21 DISALLOW_COPY_AND_ASSIGN(UnloadControllerWebContentsDelegate); | |
| 22 }; | |
| 23 | |
| 24 #endif // CHROME_BROWSER_UI_UNLOAD_CONTROLLER_WEB_CONTENTS_DELEGATE_H_ | |
| OLD | NEW |