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

Unified Diff: ui/linux_ui/linux_ui.h

Issue 18334003: Linux status icon for Ubuntu Unity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: file restored Created 7 years, 5 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
Index: ui/linux_ui/linux_ui.h
diff --git a/ui/linux_ui/linux_ui.h b/ui/linux_ui/linux_ui.h
index 33e56234919b0010af5b5c661fdc3097ab434b90..119f97dbd2d4cf87cdf03a96542fe95c5d2afc39 100644
--- a/ui/linux_ui/linux_ui.h
+++ b/ui/linux_ui/linux_ui.h
@@ -7,6 +7,7 @@
#include "third_party/skia/include/core/SkColor.h"
#include "ui/linux_ui/linux_ui_export.h"
+#include "ui/linux_ui/status_icon_linux.h"
#include "ui/shell_dialogs/linux_shell_dialog.h"
// The main entrypoint into Linux toolkit specific code. GTK code should only
@@ -61,6 +62,12 @@ class LINUX_UI_EXPORT LinuxUI : public LinuxShellDialog {
// progress, if available.
virtual void SetDownloadCount(int count) const = 0;
virtual void SetProgressFraction(float percentage) const = 0;
+
+ // Checks for platform support for status icons.
+ virtual bool IsStatusIconSupported() const = 0;
+
+ // Create a native status icon.
+ virtual scoped_ptr<StatusIconLinux> CreateLinuxStatusIcon() const = 0;
};
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698