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

Unified Diff: ios/chrome/browser/ui/overscroll_actions/overscroll_actions_view.h

Issue 2611673002: Moves overscroll code out of the ios_internal namespace. (Closed)
Patch Set: Created 3 years, 12 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 side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/ui/overscroll_actions/overscroll_actions_view.h
diff --git a/ios/chrome/browser/ui/overscroll_actions/overscroll_actions_view.h b/ios/chrome/browser/ui/overscroll_actions/overscroll_actions_view.h
index c82cab09e763d50168a7e7ac6d6007780b94fd0f..a8f2e6fa62e21ede244c7342a0fd7bd2aca4151a 100644
--- a/ios/chrome/browser/ui/overscroll_actions/overscroll_actions_view.h
+++ b/ios/chrome/browser/ui/overscroll_actions/overscroll_actions_view.h
@@ -7,7 +7,6 @@
#import <UIKit/UIKit.h>
-namespace ios_internal {
// Describes the current Index of an action in the OverScrollActionsView.
enum class OverscrollAction {
NONE, // No action
@@ -24,8 +23,6 @@ enum class OverscrollStyle {
REGULAR_PAGE_INCOGNITO // UI to fit regular pages in incognito.
};
-} // namespace ios_internal
-
@class OverscrollActionsView;
@protocol OverscrollActionsViewDelegate
@@ -40,8 +37,7 @@ enum class OverscrollStyle {
@interface OverscrollActionsView : UIView
// The currently selected action.
-@property(nonatomic, assign, readonly)
- ios_internal::OverscrollAction selectedAction;
+@property(nonatomic, assign, readonly) OverscrollAction selectedAction;
// The view displayed has the background of the overscroll actions view.
@property(nonatomic, retain, readonly) UIView* backgroundView;
// Whether cropping is set on the selection circle (true by default).
@@ -71,7 +67,7 @@ enum class OverscrollStyle {
- (void)displayActionAnimation;
// Sets the style of the overscroll action UI.
-- (void)setStyle:(ios_internal::OverscrollStyle)style;
+- (void)setStyle:(OverscrollStyle)style;
@end

Powered by Google App Engine
This is Rietveld 408576698