|
Adds paste function to searchbox api and handles paste event on fakebox
Pasting into fakebox via context-menu didn't work before.
This change adds a paste function to the searchbox api, that gets the text
from the clipboard into the omnibox using SetUserText ( opening the
suggestions panel.)
BUG= 164784
TEST=Right click on fakebox and paste. The pasted value should appear on the omnibox and the suggestions panel should be open.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=216842
Total comments: 6
Total comments: 4
Total comments: 28
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+260 lines, -98 lines) |
Patch |
 |
M |
chrome/browser/resources/local_ntp/local_ntp.css
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/local_ntp/local_ntp.js
|
View
|
1
2
3
4
5
6
|
7 chunks |
+35 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/browser_instant_controller.h
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/browser_instant_controller.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+57 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/omnibox/omnibox_view.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/omnibox/omnibox_view.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+21 lines, -20 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/omnibox/omnibox_view_unittest.cc
|
View
|
1
2
3
4
|
2 chunks |
+20 lines, -28 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search/instant_controller.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search/instant_controller.cc
|
View
|
1
2
3
4
|
2 chunks |
+11 lines, -21 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search/instant_ntp_prerenderer.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search/instant_ntp_prerenderer.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+19 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search/instant_page.h
|
View
|
1
2
3
4
|
3 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search/instant_page.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search/instant_page_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search/instant_tab.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search/instant_tab.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/render_messages.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/resources/extensions/searchbox_api.js
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/searchbox/searchbox.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/searchbox/searchbox.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/searchbox/searchbox_extension.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+19 lines, -0 lines |
0 comments
|
Download
|
Total messages: 19 (0 generated)
|