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

Side by Side Diff: ios/chrome/browser/ui/first_run/static_file_view_controller.mm

Issue 2603973002: Import Objective C Frameworks (Closed)
Patch Set: only ios Created 3 years, 11 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "ios/chrome/browser/ui/first_run/static_file_view_controller.h" 5 #include "ios/chrome/browser/ui/first_run/static_file_view_controller.h"
6 6
7 #include <WebKit/WebKit.h> 7 #import <WebKit/WebKit.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/mac/scoped_nsobject.h" 10 #include "base/mac/scoped_nsobject.h"
11 #include "ios/chrome/browser/browser_state/chrome_browser_state.h" 11 #include "ios/chrome/browser/browser_state/chrome_browser_state.h"
12 #import "ios/chrome/browser/ui/material_components/utils.h" 12 #import "ios/chrome/browser/ui/material_components/utils.h"
13 #include "ios/chrome/browser/ui/rtl_geometry.h" 13 #include "ios/chrome/browser/ui/rtl_geometry.h"
14 #import "ios/third_party/material_components_ios/src/components/AppBar/src/Mater ialAppBar.h" 14 #import "ios/third_party/material_components_ios/src/components/AppBar/src/Mater ialAppBar.h"
15 #import "ios/third_party/material_components_ios/src/components/FlexibleHeader/s rc/MaterialFlexibleHeader.h" 15 #import "ios/third_party/material_components_ios/src/components/FlexibleHeader/s rc/MaterialFlexibleHeader.h"
16 #import "ios/third_party/material_components_ios/src/components/Palettes/src/Mat erialPalettes.h" 16 #import "ios/third_party/material_components_ios/src/components/Palettes/src/Mat erialPalettes.h"
17 #import "ios/web/public/web_view_creation_util.h" 17 #import "ios/web/public/web_view_creation_util.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 ConfigureAppBarWithCardStyle(_appBar); 67 ConfigureAppBarWithCardStyle(_appBar);
68 [_appBar headerViewController].headerView.trackingScrollView = 68 [_appBar headerViewController].headerView.trackingScrollView =
69 [_webView scrollView]; 69 [_webView scrollView];
70 [_webView scrollView].delegate = [_appBar headerViewController]; 70 [_webView scrollView].delegate = [_appBar headerViewController];
71 71
72 // Add the app bar at the end. 72 // Add the app bar at the end.
73 [_appBar addSubviewsToParent]; 73 [_appBar addSubviewsToParent];
74 } 74 }
75 75
76 @end 76 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698