Chromium Code Reviews| 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..4101b12745fd9b300404feb029ba15ff663b5ed3 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 StatusIconLinux* CreateLinuxStatusIcon() const = 0; |
|
sky
2013/07/15 20:41:10
scoped_ptr?
sidharthms
2013/07/16 01:12:05
Done.
|
| }; |
| } // namespace ui |