Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Unified Diff: components/bubble/bubble_reference.h

Issue 1323133002: Pass a BubbleReference to BubbleUI::Show. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bubbleReference -> bubble_reference Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/bubble/bubble_manager_unittest.cc ('k') | components/bubble/bubble_ui.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/bubble/bubble_reference.h
diff --git a/components/bubble/bubble_reference.h b/components/bubble/bubble_reference.h
new file mode 100644
index 0000000000000000000000000000000000000000..1d6fb04561086193c812c444b53c3ea92c28f4a3
--- /dev/null
+++ b/components/bubble/bubble_reference.h
@@ -0,0 +1,13 @@
+// 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_REFERENCE_H_
+#define COMPONENTS_BUBBLE_BUBBLE_REFERENCE_H_
+
+#include "base/memory/weak_ptr.h"
+
+class BubbleController;
+typedef base::WeakPtr<BubbleController> BubbleReference;
+
+#endif // COMPONENTS_BUBBLE_BUBBLE_REFERENCE_H_
« no previous file with comments | « components/bubble/bubble_manager_unittest.cc ('k') | components/bubble/bubble_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698