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

Unified Diff: chrome/browser/ui/panels/panel_and_desktop_notification_browsertest.cc

Issue 10828289: Revert 151353 - Panels refactor: Support browserless panels on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 | « chrome/browser/ui/panels/panel.cc ('k') | chrome/browser/ui/panels/panel_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/panel_and_desktop_notification_browsertest.cc
===================================================================
--- chrome/browser/ui/panels/panel_and_desktop_notification_browsertest.cc (revision 151357)
+++ chrome/browser/ui/panels/panel_and_desktop_notification_browsertest.cc (working copy)
@@ -18,6 +18,10 @@
#include "content/public/common/show_desktop_notification_params.h"
#include "ui/gfx/screen.h"
+
+// Refactor has only been done for Win and Mac panels so far.
+#if defined(OS_WIN) || defined(OS_MACOSX)
+
// Desktop notification code subscribes to various panel change notifications
// so that it knows when to adjusts balloon positions. In order to give
// desktop notification code a chance to process the change notifications,
@@ -399,3 +403,5 @@
MessageLoopForUI::current()->RunAllPending();
EXPECT_EQ(original_balloon_bottom, GetBalloonBottomPosition(balloon));
}
+
+#endif // OS_WIN || OS_MACOSX
Property changes on: chrome/browser/ui/panels/panel_and_desktop_notification_browsertest.cc
___________________________________________________________________
Added: svn:mergeinfo
« no previous file with comments | « chrome/browser/ui/panels/panel.cc ('k') | chrome/browser/ui/panels/panel_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698