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

Unified Diff: ui/views/linux_ui/status_icon_linux.h

Issue 23922007: Merge the LinuxUI interface from its own .so into libviews.so. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « ui/views/linux_ui/linux_ui.gyp ('k') | ui/views/linux_ui/status_icon_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/linux_ui/status_icon_linux.h
diff --git a/ui/linux_ui/status_icon_linux.h b/ui/views/linux_ui/status_icon_linux.h
similarity index 89%
rename from ui/linux_ui/status_icon_linux.h
rename to ui/views/linux_ui/status_icon_linux.h
index 2e3d3a9345aa8873529fe3957ebecd3193e0b94b..5ed8be21a7e2dabfb599a68e420fc21e11e35073 100644
--- a/ui/linux_ui/status_icon_linux.h
+++ b/ui/views/linux_ui/status_icon_linux.h
@@ -2,11 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_LINUX_UI_STATUS_ICON_LINUX_H_
-#define UI_LINUX_UI_STATUS_ICON_LINUX_H_
+#ifndef UI_VIEWS_LINUX_UI_STATUS_ICON_LINUX_H_
+#define UI_VIEWS_LINUX_UI_STATUS_ICON_LINUX_H_
#include "base/strings/string16.h"
-#include "ui/linux_ui/linux_ui_export.h"
+#include "ui/views/views_export.h"
namespace gfx {
class ImageSkia;
@@ -16,11 +16,13 @@ namespace ui {
class MenuModel;
} // namespace ui
+namespace views {
+
// Since liblinux_ui cannot have dependencies on any chrome browser components
// we cannot inherit from StatusIcon. So we implement the necessary methods
// and let a wrapper class implement the StatusIcon interface and defer the
// callbacks to a delegate. For the same reason, do not use StatusIconMenuModel.
-class LINUX_UI_EXPORT StatusIconLinux {
+class VIEWS_EXPORT StatusIconLinux {
public:
class Delegate {
public:
@@ -55,4 +57,6 @@ class LINUX_UI_EXPORT StatusIconLinux {
Delegate* delegate_;
};
+} // namespace views
+
#endif // UI_LINUX_UI_STATUS_ICON_LINUX_H_
« no previous file with comments | « ui/views/linux_ui/linux_ui.gyp ('k') | ui/views/linux_ui/status_icon_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698