Chromium Code Reviews| OLD | NEW |
|---|---|
| 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_FLASH_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_MD_SETTINGS_UI_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_FLASH_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_MD_SETTINGS_UI_H_ |
| 7 | 7 |
| 8 #include "content/public/browser/web_ui_controller.h" | 8 #include "content/public/browser/web_ui_controller.h" |
| 9 #include "ui/base/layout.h" | 9 #include "ui/base/layout.h" |
|
stevenjb
2015/02/04 02:19:16
not needed?
Oren Blasberg
2015/02/04 18:31:51
Done.
| |
| 10 | 10 |
| 11 namespace base { | 11 namespace base { |
| 12 class RefCountedMemory; | 12 class RefCountedMemory; |
|
stevenjb
2015/02/04 02:19:16
not needed?
Oren Blasberg
2015/02/04 18:31:51
Done.
| |
| 13 } | 13 } |
| 14 | 14 |
|
stevenjb
2015/02/04 02:19:16
All classes should have a comment, even trivial on
Oren Blasberg
2015/02/04 18:31:51
Done.
| |
| 15 // The Web UI handler for about:flash. | 15 class MdSettingsUI : public content::WebUIController { |
| 16 class FlashUI : public content::WebUIController { | |
| 17 public: | 16 public: |
| 18 explicit FlashUI(content::WebUI* web_ui); | 17 explicit MdSettingsUI(content::WebUI* web_ui); |
| 18 ~MdSettingsUI() override; | |
| 19 | 19 |
| 20 static base::RefCountedMemory* GetFaviconResourceBytes( | 20 static base::RefCountedMemory* GetFaviconResourceBytes( |
| 21 ui::ScaleFactor scale_factor); | 21 ui::ScaleFactor scale_factor); |
|
stevenjb
2015/02/04 02:19:16
elim
Oren Blasberg
2015/02/04 18:31:51
Done.
| |
| 22 | 22 |
| 23 private: | 23 private: |
| 24 DISALLOW_COPY_AND_ASSIGN(FlashUI); | 24 DISALLOW_COPY_AND_ASSIGN(MdSettingsUI); |
| 25 }; | 25 }; |
| 26 | 26 |
| 27 #endif // CHROME_BROWSER_UI_WEBUI_FLASH_UI_H_ | 27 #endif // CHROME_BROWSER_UI_WEBUI_MD_SETTINGS_UI_H_ |
| OLD | NEW |