also format missing .cc files
This commit is contained in:
parent
53bdf22c85
commit
c6f4bbd143
181 changed files with 4102 additions and 4254 deletions
|
@ -21,11 +21,9 @@ int indicators_count;
|
|||
|
||||
} // namespace
|
||||
|
||||
TrayIconGtk::TrayIconGtk() {
|
||||
}
|
||||
TrayIconGtk::TrayIconGtk() {}
|
||||
|
||||
TrayIconGtk::~TrayIconGtk() {
|
||||
}
|
||||
TrayIconGtk::~TrayIconGtk() {}
|
||||
|
||||
void TrayIconGtk::SetImage(const gfx::Image& image) {
|
||||
if (icon_) {
|
||||
|
@ -38,10 +36,9 @@ void TrayIconGtk::SetImage(const gfx::Image& image) {
|
|||
if (libgtkui::AppIndicatorIcon::CouldOpen()) {
|
||||
++indicators_count;
|
||||
icon_.reset(new libgtkui::AppIndicatorIcon(
|
||||
base::StringPrintf(
|
||||
"%s%d", Browser::Get()->GetName().c_str(), indicators_count),
|
||||
image.AsImageSkia(),
|
||||
toolTip));
|
||||
base::StringPrintf("%s%d", Browser::Get()->GetName().c_str(),
|
||||
indicators_count),
|
||||
image.AsImageSkia(), toolTip));
|
||||
} else {
|
||||
icon_.reset(new libgtkui::Gtk2StatusIcon(image.AsImageSkia(), toolTip));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue