OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/ui/ash/launcher/extension_app_window_launcher_item_cont
roller.h" | 5 #include "chrome/browser/ui/ash/launcher/extension_app_window_launcher_item_cont
roller.h" |
6 | 6 |
7 #include "ash/wm/common/window_state.h" | 7 #include "ash/common/wm/window_state.h" |
8 #include "ash/wm/window_state_aura.h" | 8 #include "ash/wm/window_state_aura.h" |
9 #include "ash/wm/window_util.h" | 9 #include "ash/wm/window_util.h" |
10 #include "chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item.h" | 10 #include "chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item.h" |
11 #include "chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_v2app.h" | 11 #include "chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_v2app.h" |
12 #include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h" | 12 #include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h" |
13 #include "chrome/browser/ui/ash/launcher/launcher_application_menu_item_model.h" | 13 #include "chrome/browser/ui/ash/launcher/launcher_application_menu_item_model.h" |
14 #include "chrome/browser/ui/ash/launcher/launcher_context_menu.h" | 14 #include "chrome/browser/ui/ash/launcher/launcher_context_menu.h" |
15 #include "chrome/browser/ui/ash/launcher/launcher_item_controller.h" | 15 #include "chrome/browser/ui/ash/launcher/launcher_item_controller.h" |
16 #include "components/favicon/content/content_favicon_driver.h" | 16 #include "components/favicon/content/content_favicon_driver.h" |
17 #include "content/public/browser/web_contents.h" | 17 #include "content/public/browser/web_contents.h" |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 if (type() == TYPE_APP_PANEL) | 158 if (type() == TYPE_APP_PANEL) |
159 return true; | 159 return true; |
160 return AppWindowLauncherItemController::IsDraggable(); | 160 return AppWindowLauncherItemController::IsDraggable(); |
161 } | 161 } |
162 | 162 |
163 bool ExtensionAppWindowLauncherItemController::ShouldShowTooltip() { | 163 bool ExtensionAppWindowLauncherItemController::ShouldShowTooltip() { |
164 if (type() == TYPE_APP_PANEL && IsVisible()) | 164 if (type() == TYPE_APP_PANEL && IsVisible()) |
165 return false; | 165 return false; |
166 return AppWindowLauncherItemController::ShouldShowTooltip(); | 166 return AppWindowLauncherItemController::ShouldShowTooltip(); |
167 } | 167 } |
OLD | NEW |