Chromium Code Reviews| Index: Source/modules/app_banner/AppBannerController.h |
| diff --git a/Source/modules/app_banner/AppBannerController.h b/Source/modules/app_banner/AppBannerController.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d97ab5dd176ebca907744dee8e24fe0d77ef3f81 |
| --- /dev/null |
| +++ b/Source/modules/app_banner/AppBannerController.h |
| @@ -0,0 +1,24 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef AppBannerController_h |
| +#define AppBannerController_h |
| + |
| +namespace blink { |
| + |
| +class LocalFrame; |
| +class WebString; |
| + |
| +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
|
| +public: |
| + static void willShowInstallBannerPrompt(LocalFrame*, const WebString& platform, 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.
|
| + |
| +private: |
| + AppBannerController() = delete; |
| + ~AppBannerController() = delete; |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // AppBannerController_h |