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

Side by Side Diff: ios/chrome/browser/ui/toolbar/toolbar_controller.h

Issue 2894513002: Adding tools menu responsiveness metric. (Closed)
Patch Set: Created 3 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 IOS_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_CONTROLLER_H_ 5 #ifndef IOS_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_CONTROLLER_H_
6 #define IOS_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_CONTROLLER_H_ 6 #define IOS_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_CONTROLLER_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 #include <stdint.h> 10 #include <stdint.h>
11 11
12 #include <map> 12 #include <map>
13 13
14 #include "base/ios/weak_nsobject.h" 14 #include "base/ios/weak_nsobject.h"
15 #import "base/mac/scoped_nsobject.h" 15 #import "base/mac/scoped_nsobject.h"
16 #include "ios/chrome/browser/ui/rtl_geometry.h" 16 #include "ios/chrome/browser/ui/rtl_geometry.h"
17 #import "ios/chrome/browser/ui/tools_menu/tools_popup_controller.h" 17 #import "ios/chrome/browser/ui/tools_menu/tools_popup_controller.h"
18 #include "ios/chrome/browser/ui/ui_util.h" 18 #include "ios/chrome/browser/ui/ui_util.h"
19 #import "ios/chrome/browser/ui/util/relaxed_bounds_constraints_hittest.h" 19 #import "ios/chrome/browser/ui/util/relaxed_bounds_constraints_hittest.h"
20 20
21 class ReadingListModel; 21 class ReadingListModel;
22 @class ToolsMenuConfiguration; 22 @class ToolsMenuConfiguration;
23 23
24 // The time delay before non-initial button images are loaded. 24 // The time delay before non-initial button images are loaded.
25 extern const int64_t kNonInitialImageAdditionDelayNanosec; 25 extern const int64_t kNonInitialImageAdditionDelayNanosec;
26 // Notification when the tools menu is opened. 26 // Notification that the tools menu has been requested to be shown.
27 extern NSString* const kMenuWillShowNotification; 27 extern NSString* const kMenuWillShowNotification;
28 // Notification when the tools menu is closed. 28 // Notification that the tools menu has completed its animation on screen.
29 extern NSString* const kMenuDidShowNotification;
30 // Notification that the tools menu is closed.
29 extern NSString* const kMenuWillHideNotification; 31 extern NSString* const kMenuWillHideNotification;
30 // Accessibility identifier of the toolbar view (for use by integration tests). 32 // Accessibility identifier of the toolbar view (for use by integration tests).
31 extern NSString* const kToolbarIdentifier; 33 extern NSString* const kToolbarIdentifier;
32 // Accessibility identifier of the incognito toolbar view (for use by 34 // Accessibility identifier of the incognito toolbar view (for use by
33 // integration tests). 35 // integration tests).
34 extern NSString* const kIncognitoToolbarIdentifier; 36 extern NSString* const kIncognitoToolbarIdentifier;
35 // Accessibility identifier of the tools menu button (for use by integration 37 // Accessibility identifier of the tools menu button (for use by integration
36 // tests). 38 // tests).
37 extern NSString* const kToolbarToolsMenuButtonIdentifier; 39 extern NSString* const kToolbarToolsMenuButtonIdentifier;
38 // Accessibility identifier of the stack button (for use by integration 40 // Accessibility identifier of the stack button (for use by integration
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 282
281 // Called when transition animations can be removed. 283 // Called when transition animations can be removed.
282 - (void)cleanUpTransitionAnimations; 284 - (void)cleanUpTransitionAnimations;
283 285
284 // Shows/hides iPhone toolbar views for when the new tab page is displayed. 286 // Shows/hides iPhone toolbar views for when the new tab page is displayed.
285 - (void)hideViewsForNewTabPage:(BOOL)hide; 287 - (void)hideViewsForNewTabPage:(BOOL)hide;
286 288
287 @end 289 @end
288 290
289 #endif // IOS_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_CONTROLLER_H_ 291 #endif // IOS_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698