| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/cocoa/browser_window_cocoa.h" | 5 #include "chrome/browser/ui/cocoa/browser_window_cocoa.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #import "base/mac/sdk_forward_declarations.h" | 10 #import "base/mac/sdk_forward_declarations.h" |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 #include "chrome/browser/ui/exclusive_access/fullscreen_controller.h" | 47 #include "chrome/browser/ui/exclusive_access/fullscreen_controller.h" |
| 48 #include "chrome/browser/ui/search/search_model.h" | 48 #include "chrome/browser/ui/search/search_model.h" |
| 49 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 49 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 50 #include "chrome/browser/web_applications/web_app.h" | 50 #include "chrome/browser/web_applications/web_app.h" |
| 51 #include "chrome/common/chrome_switches.h" | 51 #include "chrome/common/chrome_switches.h" |
| 52 #include "chrome/common/pref_names.h" | 52 #include "chrome/common/pref_names.h" |
| 53 #include "chrome/grit/generated_resources.h" | 53 #include "chrome/grit/generated_resources.h" |
| 54 #include "components/translate/core/browser/language_state.h" | 54 #include "components/translate/core/browser/language_state.h" |
| 55 #include "content/public/browser/native_web_keyboard_event.h" | 55 #include "content/public/browser/native_web_keyboard_event.h" |
| 56 #include "content/public/browser/notification_details.h" | 56 #include "content/public/browser/notification_details.h" |
| 57 #include "content/public/browser/notification_service.h" |
| 57 #include "content/public/browser/notification_source.h" | 58 #include "content/public/browser/notification_source.h" |
| 58 #include "content/public/browser/notification_service.h" | |
| 59 #include "content/public/browser/web_contents.h" | 59 #include "content/public/browser/web_contents.h" |
| 60 #include "extensions/browser/extension_registry.h" | 60 #include "extensions/browser/extension_registry.h" |
| 61 #include "extensions/browser/extension_system.h" | 61 #include "extensions/browser/extension_system.h" |
| 62 #include "extensions/common/constants.h" | 62 #include "extensions/common/constants.h" |
| 63 #include "ui/base/l10n/l10n_util_mac.h" | 63 #include "ui/base/l10n/l10n_util_mac.h" |
| 64 #include "ui/gfx/geometry/rect.h" | 64 #include "ui/gfx/geometry/rect.h" |
| 65 | 65 |
| 66 #if defined(ENABLE_ONE_CLICK_SIGNIN) | 66 #if defined(ENABLE_ONE_CLICK_SIGNIN) |
| 67 #import "chrome/browser/ui/cocoa/one_click_signin_bubble_controller.h" | 67 #import "chrome/browser/ui/cocoa/one_click_signin_bubble_controller.h" |
| 68 #import "chrome/browser/ui/cocoa/one_click_signin_dialog_controller.h" | 68 #import "chrome/browser/ui/cocoa/one_click_signin_dialog_controller.h" |
| (...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 833 void BrowserWindowCocoa::UnhideDownloadShelf() { | 833 void BrowserWindowCocoa::UnhideDownloadShelf() { |
| 834 GetDownloadShelf()->Unhide(); | 834 GetDownloadShelf()->Unhide(); |
| 835 } | 835 } |
| 836 | 836 |
| 837 void BrowserWindowCocoa::HideDownloadShelf() { | 837 void BrowserWindowCocoa::HideDownloadShelf() { |
| 838 GetDownloadShelf()->Hide(); | 838 GetDownloadShelf()->Hide(); |
| 839 StatusBubble* statusBubble = GetStatusBubble(); | 839 StatusBubble* statusBubble = GetStatusBubble(); |
| 840 if (statusBubble) | 840 if (statusBubble) |
| 841 statusBubble->Hide(); | 841 statusBubble->Hide(); |
| 842 } | 842 } |
| OLD | NEW |