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

Unified Diff: components/bubble/bubble_delegate.cc

Issue 1251633002: Add BubbleManager to manage bubbles and ChromeBubbleManager for events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn nit Created 5 years, 4 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_delegate.h ('k') | components/bubble/bubble_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/bubble/bubble_delegate.cc
diff --git a/ui/base/touch/touch_device_ios.cc b/components/bubble/bubble_delegate.cc
similarity index 50%
copy from ui/base/touch/touch_device_ios.cc
copy to components/bubble/bubble_delegate.cc
index 9f4c712e42b7e71cd2b24e1a51e9cd5447b0e2c8..110d93f281cf506a2cb1aba0c8e20bc269fe0492 100644
--- a/ui/base/touch/touch_device_ios.cc
+++ b/components/bubble/bubble_delegate.cc
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/base/touch/touch_device.h"
+#include "components/bubble/bubble_delegate.h"
-namespace ui {
+BubbleDelegate::BubbleDelegate() {}
-bool IsTouchDevicePresent() {
+BubbleDelegate::~BubbleDelegate() {}
+
+bool BubbleDelegate::ShouldClose(BubbleCloseReason reason) {
return true;
}
-
-} // namespace ui
« no previous file with comments | « components/bubble/bubble_delegate.h ('k') | components/bubble/bubble_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698