|
Change ui::Clipboard to use virtual methods for testing purposes.
Platform-specific implementations now have their own derived classes.
This allows some cleanup of platform-specific hackery in clipboard.h,
and paves the way for adding a fake clipboard implementation in the
future for testing.
BUG= 319285
Committed: https://crrev.com/24f3d91568c470b69a62e6dab5998a295f2eb46b
Cr-Commit-Position: refs/heads/master@{#300063}
Total comments: 1
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+776 lines, -431 lines) |
Patch |
 |
M |
ui/base/BUILD.gn
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/base/android/ui_base_jni_registrar.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/base/clipboard/clipboard.h
|
View
|
1
2
3
4
5
6
|
6 chunks |
+51 lines, -90 lines |
0 comments
|
Download
|
 |
M |
ui/base/clipboard/clipboard.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
ui/base/clipboard/clipboard_android.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+67 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/base/clipboard/clipboard_android.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
9 chunks |
+57 lines, -46 lines |
0 comments
|
Download
|
 |
D |
ui/base/clipboard/clipboard_android_initialization.h
|
View
|
|
1 chunk |
+0 lines, -22 lines |
0 comments
|
Download
|
 |
A |
ui/base/clipboard/clipboard_aura.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+63 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/base/clipboard/clipboard_aura.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+52 lines, -44 lines |
0 comments
|
Download
|
 |
A |
ui/base/clipboard/clipboard_aurax11.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+70 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/base/clipboard/clipboard_aurax11.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
27 chunks |
+89 lines, -73 lines |
0 comments
|
Download
|
 |
A |
ui/base/clipboard/clipboard_mac.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+63 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/base/clipboard/clipboard_mac.mm
|
View
|
1
2
3
4
5
6
7
8
9
|
16 chunks |
+57 lines, -51 lines |
0 comments
|
Download
|
 |
A |
ui/base/clipboard/clipboard_win.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+77 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/base/clipboard/clipboard_win.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
27 chunks |
+120 lines, -101 lines |
0 comments
|
Download
|
 |
M |
ui/base/ui_base.gyp
|
View
|
1
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
Total messages: 11 (2 generated)
|