michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef nsColorPickerProxy_h michael@0: #define nsColorPickerProxy_h michael@0: michael@0: #include "nsIColorPicker.h" michael@0: michael@0: #include "mozilla/dom/PColorPickerChild.h" michael@0: michael@0: class nsColorPickerProxy MOZ_FINAL : public nsIColorPicker, michael@0: public mozilla::dom::PColorPickerChild michael@0: { michael@0: public: michael@0: NS_DECL_ISUPPORTS michael@0: NS_DECL_NSICOLORPICKER michael@0: michael@0: nsColorPickerProxy() {} michael@0: ~nsColorPickerProxy() {} michael@0: michael@0: virtual bool RecvUpdate(const nsString& aColor) MOZ_OVERRIDE; michael@0: virtual bool Recv__delete__(const nsString& aColor) MOZ_OVERRIDE; michael@0: michael@0: private: michael@0: nsCOMPtr mCallback; michael@0: nsString mTitle; michael@0: nsString mInitialColor; michael@0: }; michael@0: michael@0: #endif // nsColorPickerProxy_h