Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 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 AppBannerController_h | |
| 6 #define AppBannerController_h | |
| 7 | |
| 8 namespace blink { | |
| 9 | |
| 10 class LocalFrame; | |
| 11 class WebString; | |
| 12 | |
| 13 class AppBannerController final { | |
|
Mike West
2015/03/06 14:30:29
Wrapping this in a class doesn't really win you mu
mlamouri (slow - plz ping)
2015/03/06 18:50:47
It's in a class because AppBannerController will b
| |
| 14 public: | |
| 15 static void willShowInstallBannerPrompt(LocalFrame*, const WebString& platfo rm, bool* cancel); | |
|
Mike West
2015/03/06 14:30:29
I have a vague suspicion that replacing that bool
mlamouri (slow - plz ping)
2015/03/06 18:50:47
Done.
| |
| 16 | |
| 17 private: | |
| 18 AppBannerController() = delete; | |
| 19 ~AppBannerController() = delete; | |
| 20 }; | |
| 21 | |
| 22 } // namespace blink | |
| 23 | |
| 24 #endif // AppBannerController_h | |
| OLD | NEW |