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 3 // found in the LICENSE file. 4 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_ERROR_UI_ANDROID_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_ERROR_UI_ANDROID_H_ 7 8 #include "base/compiler_specific.h" 9 #include "chrome/browser/extensions/extension_error_ui.h" 10 11 namespace extensions { 12 13 class ExtensionErrorUIAndroid : public ExtensionErrorUI { 14 public: 15 explicit ExtensionErrorUIAndroid(ExtensionErrorUI::Delegate* delegate); 16 virtual ~ExtensionErrorUIAndroid(); 17 18 // ExtensionErrorUI implementation: 19 virtual bool ShowErrorInBubbleView() OVERRIDE; 20 virtual void ShowExtensions() OVERRIDE; 21 virtual void Close() OVERRIDE; 22 23 private: 24 DISALLOW_COPY_AND_ASSIGN(ExtensionErrorUIAndroid); 25 }; 26 27 } // namespace extensions 28 29 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ERROR_UI_ANDROID_H_ 30