1 // Copyright 2019 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_UI_QRCODE_GENERATOR_QRCODE_GENERATOR_BUBBLE_VIEW_H_ 6 #define CHROME_BROWSER_UI_QRCODE_GENERATOR_QRCODE_GENERATOR_BUBBLE_VIEW_H_ 7 8 namespace qrcode_generator { 9 10 // Interface to display a QR Code Generator bubble. 11 // This object is responsible for its own lifetime. 12 class QRCodeGeneratorBubbleView { 13 public: 14 virtual ~QRCodeGeneratorBubbleView() = default; 15 16 // Closes the bubble and prevents future calls into the controller. 17 virtual void Hide() = 0; 18 }; 19 20 } // namespace qrcode_generator 21 22 #endif // CHROME_BROWSER_UI_QRCODE_GENERATOR_QRCODE_GENERATOR_BUBBLE_VIEW_H_ 23