Side by Side Diff
Use n/p to move between diff chunks; N/P to move between comments.
Draft comments are only viewable by you.
Keyboard Shortcuts
File
u
:
up to issue
j
/
k
:
jump to file after / before current file
J
/
K
:
jump to next file with a comment after / before current file
Side-by-side diff
i
:
toggle intra-line diffs
e
:
expand all comments
c
:
collapse all comments
s
:
toggle showing all comments
n
/
p
:
next / previous diff chunk or comment
N
/
P
:
next / previous comment
<Up>
/
<Down>
:
next / previous line
Issue
u
:
up to list of issues
j
/
k
:
jump to patch after / before current patch
o
/
<Enter>
:
open current patch in side-by-side view
i
:
open current patch in unified diff view
Issue List
j
/
k
:
jump to issue after / before current issue
o
/
<Enter>
:
open current issue
Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr)
|
Please choose your nickname with
Settings
|
Help
|
Chromium Project
|
Gerrit Changes
|
Sign out
(719)
Issues
Search
My Issues
|
Starred
Open
|
Closed
|
All
Side by Side Diff: ios/web_view/internal/cwv_user_script.mm
Issue
2764773002
:
Add CWVUserContentController which enables injecting JavaScripts. (Closed)
Patch Set: Rebase.
Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Draft comments are only viewable by you.
Context:
3 lines
10 lines
25 lines
50 lines
75 lines
100 lines
Whole file
Column Width:
Tab Spaces:
Jump to:
ios/web/public/web_client.h
ios/web_view/BUILD.gn
ios/web_view/internal/BUILD.gn
ios/web_view/internal/cwv_user_content_controller.mm
ios/web_view/internal/cwv_user_content_controller_internal.h
ios/web_view/internal/cwv_user_script.mm
ios/web_view/internal/cwv_web_view.mm
ios/web_view/internal/cwv_web_view_configuration.mm
ios/web_view/internal/web_view_early_page_script_provider.h
ios/web_view/internal/web_view_early_page_script_provider.mm
ios/web_view/internal/web_view_web_client.h
ios/web_view/internal/web_view_web_client.mm
ios/web_view/public/BUILD.gn
ios/web_view/public/cwv_user_content_controller.h
ios/web_view/public/cwv_user_script.h
ios/web_view/public/cwv_web_view.h
ios/web_view/public/cwv_web_view_configuration.h
View unified diff
|
Download patch
« no previous file with comments
|
« ios/web_view/internal/cwv_user_content_controller_internal.h
('k') |
ios/web_view/internal/cwv_web_view.mm »
('j') |
no next file with comments »
Toggle Intra-line Diffs
('i') |
Expand Comments
('e') |
Collapse Comments
('c') |
Show Comments
Hide Comments
('s')
OLD
NEW
(Empty)
1
// Copyright 2017 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/web_view/public/cwv_user_script.h"
6
7
#if !defined(__has_feature) || !__has_feature(objc_arc)
8
#error "This file requires ARC support."
9
#endif
10
11
@implementation CWVUserScript
12
13
@synthesize source = _source;
14
15
- (nonnull instancetype)initWithSource:(nonnull NSString*)source {
16
self = [super init];
17
if (self) {
18
_source = [source copy];
19
}
20
return self;
21
}
22
23
@end
OLD
NEW
« no previous file with comments
|
« ios/web_view/internal/cwv_user_content_controller_internal.h
('k') |
ios/web_view/internal/cwv_web_view.mm »
('j') |
no next file with comments »
Issue 2764773002: Add CWVUserContentController which enables injecting JavaScripts. (Closed)
Created 3 years, 9 months ago by Hiroshi Ichikawa
Modified 3 years, 9 months ago
Reviewers: michaeldo, Eugene But (OOO till 7-30)
Base URL:
Comments: 95
This is Rietveld
408576698