Home | History | Annotate | Download | only in status_icons

Lines Matching refs:icon

28   // Create an icon, set the images, tooltip, and context menu, then shut it
31 StatusIcon* icon = tray.CreateStatusIcon();
34 icon->SetImage(*bitmap);
35 icon->SetPressedImage(*bitmap);
36 icon->SetToolTip(ASCIIToUTF16("tool tip"));
39 icon->SetContextMenu(menu);
43 // Create an icon, send a fake click event, make sure observer is called.
45 StatusIconWin* icon = static_cast<StatusIconWin*>(tray.CreateStatusIcon());
47 icon->AddObserver(&observer);
50 tray.WndProc(NULL, icon->message_id(), icon->icon_id(), WM_LBUTTONDOWN);
52 tray.WndProc(NULL, icon->message_id(), icon->icon_id(), WM_RBUTTONDOWN);
53 icon->RemoveObserver(&observer);