Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(561)

Side by Side Diff: chrome/browser/ui/ash/chrome_shell_delegate.h

Issue 1124153007: Added the Ash.Tab.TimeBetweenSwitchToExistingTabUserActions histogram to track time between tab swit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the branch that the diff was based on. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #ifndef CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_
6 #define CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ash/shelf/shelf_item_types.h" 10 #include "ash/shelf/shelf_item_types.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 ash::SystemTrayDelegate* CreateSystemTrayDelegate() override; 68 ash::SystemTrayDelegate* CreateSystemTrayDelegate() override;
69 ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() override; 69 ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() override;
70 ash::SessionStateDelegate* CreateSessionStateDelegate() override; 70 ash::SessionStateDelegate* CreateSessionStateDelegate() override;
71 ash::AccessibilityDelegate* CreateAccessibilityDelegate() override; 71 ash::AccessibilityDelegate* CreateAccessibilityDelegate() override;
72 ash::NewWindowDelegate* CreateNewWindowDelegate() override; 72 ash::NewWindowDelegate* CreateNewWindowDelegate() override;
73 ash::MediaDelegate* CreateMediaDelegate() override; 73 ash::MediaDelegate* CreateMediaDelegate() override;
74 ui::MenuModel* CreateContextMenu(aura::Window* root, 74 ui::MenuModel* CreateContextMenu(aura::Window* root,
75 ash::ShelfItemDelegate* item_delegate, 75 ash::ShelfItemDelegate* item_delegate,
76 ash::ShelfItem* item) override; 76 ash::ShelfItem* item) override;
77 ash::GPUSupport* CreateGPUSupport() override; 77 ash::GPUSupport* CreateGPUSupport() override;
78 ash::UserMetricsRecorderProxy* CreateUserMetricsRecorderProxy() override;
78 base::string16 GetProductName() const override; 79 base::string16 GetProductName() const override;
79 80
80 // content::NotificationObserver override: 81 // content::NotificationObserver override:
81 void Observe(int type, 82 void Observe(int type,
82 const content::NotificationSource& source, 83 const content::NotificationSource& source,
83 const content::NotificationDetails& details) override; 84 const content::NotificationDetails& details) override;
84 85
85 private: 86 private:
86 void PlatformInit(); 87 void PlatformInit();
87 88
88 static ChromeShellDelegate* instance_; 89 static ChromeShellDelegate* instance_;
89 90
90 content::NotificationRegistrar registrar_; 91 content::NotificationRegistrar registrar_;
91 92
92 ChromeLauncherController* shelf_delegate_; 93 ChromeLauncherController* shelf_delegate_;
93 94
94 ObserverList<ash::VirtualKeyboardStateObserver> keyboard_state_observer_list_; 95 ObserverList<ash::VirtualKeyboardStateObserver> keyboard_state_observer_list_;
95 96
96 #if defined(OS_CHROMEOS) 97 #if defined(OS_CHROMEOS)
97 scoped_ptr<chromeos::DisplayConfigurationObserver> 98 scoped_ptr<chromeos::DisplayConfigurationObserver>
98 display_configuration_observer_; 99 display_configuration_observer_;
99 #endif 100 #endif
100 101
101 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); 102 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate);
102 }; 103 };
103 104
104 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ 105 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698