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

Side by Side Diff: ios/chrome/browser/ui/browser_view_controller_testing.mm

Issue 2588713002: Upstream Chrome on iOS source code [4/11]. (Closed)
Patch Set: Created 4 years 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #import "ios/chrome/browser/ui/browser_view_controller_testing.h"
6
7 #import "ios/chrome/browser/ui/toolbar/web_toolbar_controller.h"
8 #import "ios/chrome/browser/ui/toolbar/web_toolbar_controller_private.h"
9
10 @interface BrowserViewController (Private)
11
12 - (WebToolbarController*)toolbarController;
13
14 @end
15
16 @implementation BrowserViewController (TestingAdditions)
17
18 - (BOOL)testing_isLoading {
19 return [[self toolbarController] isLoading];
20 }
21
22 - (void)testing_focusOmnibox {
23 [[self toolbarController] focusOmnibox];
24 }
25
26 - (CGRect)testing_shareButtonAnchorRect {
27 return [[self toolbarController] shareButtonAnchorRect];
28 }
29
30 @end
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/browser_view_controller_testing.h ('k') | ios/chrome/browser/ui/browser_view_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698