ShelfButton 43 ash/shelf/shelf_button.cc return state & ash::ShelfButton::STATE_HOVERED || ShelfButton 44 ash/shelf/shelf_button.cc state & ash::ShelfButton::STATE_ACTIVE || ShelfButton 45 ash/shelf/shelf_button.cc state & ash::ShelfButton::STATE_FOCUSED; ShelfButton 126 ash/shelf/shelf_button.cc BarView(ShelfButton* host) ShelfButton 198 ash/shelf/shelf_button.cc ShelfButton* host_; ShelfButton 208 ash/shelf/shelf_button.cc ShelfButton::IconView::IconView() : icon_size_(kIconSize) { ShelfButton 211 ash/shelf/shelf_button.cc ShelfButton::IconView::~IconView() { ShelfButton 214 ash/shelf/shelf_button.cc bool ShelfButton::IconView::HitTestRect(const gfx::Rect& rect) const { ShelfButton 222 ash/shelf/shelf_button.cc ShelfButton* ShelfButton::Create(views::ButtonListener* listener, ShelfButton 225 ash/shelf/shelf_button.cc ShelfButton* button = new ShelfButton(listener, host, shelf_layout_manager); ShelfButton 230 ash/shelf/shelf_button.cc ShelfButton::ShelfButton(views::ButtonListener* listener, ShelfButton 252 ash/shelf/shelf_button.cc ShelfButton::~ShelfButton() { ShelfButton 257 ash/shelf/shelf_button.cc void ShelfButton::SetShadowedImage(const gfx::ImageSkia& image) { ShelfButton 262 ash/shelf/shelf_button.cc void ShelfButton::SetImage(const gfx::ImageSkia& image) { ShelfButton 294 ash/shelf/shelf_button.cc const gfx::ImageSkia& ShelfButton::GetImage() const { ShelfButton 298 ash/shelf/shelf_button.cc void ShelfButton::AddState(State state) { ShelfButton 314 ash/shelf/shelf_button.cc void ShelfButton::ClearState(State state) { ShelfButton 331 ash/shelf/shelf_button.cc gfx::Rect ShelfButton::GetIconBounds() const { ShelfButton 335 ash/shelf/shelf_button.cc void ShelfButton::ShowContextMenu(const gfx::Point& p, ShelfButton 354 ash/shelf/shelf_button.cc bool ShelfButton::OnMousePressed(const ui::MouseEvent& event) { ShelfButton 360 ash/shelf/shelf_button.cc void ShelfButton::OnMouseReleased(const ui::MouseEvent& event) { ShelfButton 365 ash/shelf/shelf_button.cc void ShelfButton::OnMouseCaptureLost() { ShelfButton 371 ash/shelf/shelf_button.cc bool ShelfButton::OnMouseDragged(const ui::MouseEvent& event) { ShelfButton 377 ash/shelf/shelf_button.cc void ShelfButton::OnMouseMoved(const ui::MouseEvent& event) { ShelfButton 382 ash/shelf/shelf_button.cc void ShelfButton::OnMouseEntered(const ui::MouseEvent& event) { ShelfButton 388 ash/shelf/shelf_button.cc void ShelfButton::OnMouseExited(const ui::MouseEvent& event) { ShelfButton 394 ash/shelf/shelf_button.cc void ShelfButton::GetAccessibleState(ui::AXViewState* state) { ShelfButton 399 ash/shelf/shelf_button.cc void ShelfButton::Layout() { ShelfButton 459 ash/shelf/shelf_button.cc void ShelfButton::ChildPreferredSizeChanged(views::View* child) { ShelfButton 463 ash/shelf/shelf_button.cc void ShelfButton::OnFocus() { ShelfButton 468 ash/shelf/shelf_button.cc void ShelfButton::OnBlur() { ShelfButton 473 ash/shelf/shelf_button.cc void ShelfButton::OnPaint(gfx::Canvas* canvas) { ShelfButton 482 ash/shelf/shelf_button.cc void ShelfButton::OnGestureEvent(ui::GestureEvent* event) { ShelfButton 508 ash/shelf/shelf_button.cc void ShelfButton::Init() { ShelfButton 520 ash/shelf/shelf_button.cc ShelfButton::IconView* ShelfButton::CreateIconView() { ShelfButton 524 ash/shelf/shelf_button.cc bool ShelfButton::IsShelfHorizontal() const { ShelfButton 528 ash/shelf/shelf_button.cc void ShelfButton::UpdateState() { ShelfButton 540 ash/shelf/shelf_button.cc void ShelfButton::UpdateBar() { ShelfButton 18 ash/shelf/shelf_button.h class ASH_EXPORT ShelfButton : public views::CustomButton { ShelfButton 38 ash/shelf/shelf_button.h virtual ~ShelfButton(); ShelfButton 41 ash/shelf/shelf_button.h static ShelfButton* Create(views::ButtonListener* listener, ShelfButton 70 ash/shelf/shelf_button.h ShelfButton(views::ButtonListener* listener, ShelfButton 152 ash/shelf/shelf_button.h DISALLOW_COPY_AND_ASSIGN(ShelfButton); ShelfButton 28 ash/shelf/shelf_unittest.cc using ash::ShelfButton; ShelfButton 102 ash/shelf/shelf_unittest.cc ShelfButton* button = test_api()->GetButton(index); ShelfButton 103 ash/shelf/shelf_unittest.cc EXPECT_EQ(ShelfButton::STATE_RUNNING, button->state()); ShelfButton 128 ash/shelf/shelf_unittest.cc ShelfButton* button = test_api()->GetButton(index); ShelfButton 129 ash/shelf/shelf_unittest.cc button->AddState(ShelfButton::STATE_HOVERED); ShelfButton 131 ash/shelf/shelf_unittest.cc EXPECT_FALSE(button->state() & ShelfButton::STATE_HOVERED); ShelfButton 296 ash/shelf/shelf_view.cc void ReflectItemStatus(const ShelfItem& item, ShelfButton* button) { ShelfButton 299 ash/shelf/shelf_view.cc button->ClearState(ShelfButton::STATE_ACTIVE); ShelfButton 300 ash/shelf/shelf_view.cc button->ClearState(ShelfButton::STATE_RUNNING); ShelfButton 301 ash/shelf/shelf_view.cc button->ClearState(ShelfButton::STATE_ATTENTION); ShelfButton 304 ash/shelf/shelf_view.cc button->ClearState(ShelfButton::STATE_ACTIVE); ShelfButton 305 ash/shelf/shelf_view.cc button->AddState(ShelfButton::STATE_RUNNING); ShelfButton 306 ash/shelf/shelf_view.cc button->ClearState(ShelfButton::STATE_ATTENTION); ShelfButton 309 ash/shelf/shelf_view.cc button->AddState(ShelfButton::STATE_ACTIVE); ShelfButton 310 ash/shelf/shelf_view.cc button->ClearState(ShelfButton::STATE_RUNNING); ShelfButton 311 ash/shelf/shelf_view.cc button->ClearState(ShelfButton::STATE_ATTENTION); ShelfButton 314 ash/shelf/shelf_view.cc button->ClearState(ShelfButton::STATE_ACTIVE); ShelfButton 315 ash/shelf/shelf_view.cc button->ClearState(ShelfButton::STATE_RUNNING); ShelfButton 316 ash/shelf/shelf_view.cc button->AddState(ShelfButton::STATE_ATTENTION); ShelfButton 488 ash/shelf/shelf_view.cc ShelfButton* button = static_cast<ShelfButton*>(view_model_->view_at(index)); ShelfButton 949 ash/shelf/shelf_view.cc ShelfButton* button = ShelfButton::Create(this, this, layout_manager_); ShelfButton 1164 ash/shelf/shelf_view.cc ShelfButton* button = static_cast<ShelfButton*>(drag_view_); ShelfButton 1248 ash/shelf/shelf_view.cc ShelfButton* button = static_cast<ShelfButton*>(drag_view_); ShelfButton 1249 ash/shelf/shelf_view.cc button->AddState(ShelfButton::STATE_HIDDEN); ShelfButton 1651 ash/shelf/shelf_view.cc ShelfButton* button = static_cast<ShelfButton*>(view); ShelfButton 1995 ash/shelf/shelf_view.cc ShelfButton* button = static_cast<ShelfButton*>(view); ShelfButton 1996 ash/shelf/shelf_view.cc button->ClearState(ShelfButton::STATE_HIDDEN); ShelfButton 38 ash/shelf/shelf_view.h class ShelfButton; ShelfButton 359 ash/shelf/shelf_view_unittest.cc ShelfButton* GetButtonByID(ShelfID id) { ShelfButton 435 ash/shelf/shelf_view_unittest.cc ShelfButton* button = test_api_->GetButton(i); ShelfButton 490 ash/shelf/shelf_view_unittest.cc ShelfButton* drag_button = test_api_for_overflow.GetButton(drag_item_index); ShelfButton 648 ash/shelf/shelf_view_unittest.cc ShelfButton* button = GetButtonByID(id); ShelfButton 945 ash/shelf/shelf_view_unittest.cc ShelfButton* button = test_api_->GetButton(i); ShelfButton 1152 ash/shelf/shelf_view_unittest.cc ShelfButton* button = GetButtonByID(last_added); ShelfButton 1153 ash/shelf/shelf_view_unittest.cc ASSERT_EQ(ShelfButton::STATE_RUNNING, button->state()); ShelfButton 1156 ash/shelf/shelf_view_unittest.cc ASSERT_EQ(ShelfButton::STATE_ACTIVE, button->state()); ShelfButton 1159 ash/shelf/shelf_view_unittest.cc ASSERT_EQ(ShelfButton::STATE_ATTENTION, button->state()); ShelfButton 1171 ash/shelf/shelf_view_unittest.cc ShelfButton* item1_button = GetButtonByID(item1_id); ShelfButton 1172 ash/shelf/shelf_view_unittest.cc ShelfButton* item2_button = GetButtonByID(item2_id); ShelfButton 1174 ash/shelf/shelf_view_unittest.cc ShelfButton::State state_mask = static_cast<ShelfButton::State>( ShelfButton 1175 ash/shelf/shelf_view_unittest.cc ShelfButton::STATE_NORMAL | ShelfButton::STATE_HOVERED | ShelfButton 1176 ash/shelf/shelf_view_unittest.cc ShelfButton::STATE_RUNNING | ShelfButton::STATE_ACTIVE | ShelfButton 1177 ash/shelf/shelf_view_unittest.cc ShelfButton::STATE_ATTENTION | ShelfButton::STATE_FOCUSED); ShelfButton 1186 ash/shelf/shelf_view_unittest.cc item1_button->AddState(ShelfButton::STATE_HOVERED); ShelfButton 1189 ash/shelf/shelf_view_unittest.cc item1_button->ClearState(ShelfButton::STATE_HOVERED); ShelfButton 1203 ash/shelf/shelf_view_unittest.cc ShelfButton* button = GetButtonByID(last_added); ShelfButton 1204 ash/shelf/shelf_view_unittest.cc ASSERT_EQ(ShelfButton::STATE_RUNNING, button->state()); ShelfButton 1207 ash/shelf/shelf_view_unittest.cc ASSERT_EQ(ShelfButton::STATE_ACTIVE, button->state()); ShelfButton 1210 ash/shelf/shelf_view_unittest.cc ASSERT_EQ(ShelfButton::STATE_ATTENTION, button->state()); ShelfButton 1234 ash/shelf/shelf_view_unittest.cc ShelfButton* app_button = GetButtonByID(app_button_id); ShelfButton 1235 ash/shelf/shelf_view_unittest.cc ShelfButton* platform_button = GetButtonByID(platform_button_id); ShelfButton 1279 ash/shelf/shelf_view_unittest.cc ShelfButton* app_button = GetButtonByID(app_button_id); ShelfButton 1303 ash/shelf/shelf_view_unittest.cc ShelfButton* app_button = GetButtonByID(app_button_id); ShelfButton 1322 ash/shelf/shelf_view_unittest.cc ShelfButton* button = test_api_->GetButton(i); ShelfButton 1347 ash/shelf/shelf_view_unittest.cc ShelfButton* button = test_api_->GetButton(i); ShelfButton 1373 ash/shelf/shelf_view_unittest.cc ShelfButton* button = test_api_->GetButton(i); ShelfButton 1487 ash/shelf/shelf_view_unittest.cc ShelfButton* button = test_for_overflow_view.GetButton(ripped_index); ShelfButton 1564 ash/shelf/shelf_view_unittest.cc ShelfButton* first_button = test_for_overflow_view.GetButton(first_index); ShelfButton 1565 ash/shelf/shelf_view_unittest.cc ShelfButton* last_button = test_for_overflow_view.GetButton(last_index); ShelfButton 1613 ash/shelf/shelf_view_unittest.cc ShelfButton* button = test_api_for_overflow_view.GetButton( ShelfButton 1634 ash/shelf/shelf_view_unittest.cc ShelfButton* button_in_secondary = ShelfButton 1678 ash/shelf/shelf_view_unittest.cc ShelfButton* button = ShelfButton 1715 ash/shelf/shelf_view_unittest.cc if (ShelfButton* button = test_api_->GetButton(i)) ShelfButton 49 ash/test/shelf_view_test_api.cc ShelfButton* ShelfViewTestAPI::GetButton(int index) { ShelfButton 54 ash/test/shelf_view_test_api.cc return static_cast<ShelfButton*>(shelf_view_->view_model_->view_at(index)); ShelfButton 18 ash/test/shelf_view_test_api.h class ShelfButton; ShelfButton 34 ash/test/shelf_view_test_api.h ShelfButton* GetButton(int index); ShelfButton 275 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ash::ShelfButton* button = test->GetButton(index); ShelfButton 1777 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ash::ShelfButton* button = test.GetButton(browser_index); ShelfButton 1778 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_FALSE(button->state() & ash::ShelfButton::STATE_HIDDEN);