| Index: components/bubble/bubble_builder.h
|
| diff --git a/components/bubble/bubble_builder.h b/components/bubble/bubble_builder.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5c7c04399df2ee31d10b93875cd953626ac0b656
|
| --- /dev/null
|
| +++ b/components/bubble/bubble_builder.h
|
| @@ -0,0 +1,26 @@
|
| +// 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 COMPONENTS_BUBBLE_BUBBLE_BUILDER_H__
|
| +#define COMPONENTS_BUBBLE_BUBBLE_BUILDER_H__
|
| +
|
| +#include "ui/gfx/native_widget_types.h"
|
| +
|
| +class BubbleBuilder {
|
| + public:
|
| + BubbleBuilder() {}
|
| + virtual ~BubbleBuilder() {}
|
| +
|
| + // TODO(hcarmona): Temporary until the builder can build UI.
|
| + void SetNativeWindow(gfx::NativeWindow* bubble) { bubble_ = bubble; }
|
| +
|
| + // Builds a native window to use as a bubble.
|
| + gfx::NativeWindow* GetNativeWindow() { return bubble_; }
|
| +
|
| + private:
|
| + // TODO(hcarmona): Temporary until the builder can build UI.
|
| + gfx::NativeWindow* bubble_;
|
| +};
|
| +
|
| +#endif // COMPONENTS_BUBBLE_BUBBLE_BUILDER_H__
|
|
|