|
|
Implement History as HTML and add/change a bunch of stuff to make it easier to add HTML UIs in future.
This CL does the following:
* Adds the DOMUIContents TabContentsType.
* Adds a DOMUI base class for HTML UIs.
* Adds HistoryUI and its HTML/JS.
* Changes 'chrome-resource://' to 'chrome://' globally (this is the bulk of the edited files) so we don't the situation where the display URL differs from the actual URL. This may have security implications that I'm not aware of, and someone should double-verify that there are no unpleasant side-effects of this change.
Future work:
* Remove the New Tab and Debugger TabContentTypes and make those classes use DOMUI instead.
* Add history deletion (better than day-range deletion).
* Once we're happy with the HTML UI, remove HistoryView/Model/TabUI and change all the history access points to point to chrome://history/
* Merge DOMUIContents with WebContents.
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1847 lines, -225 lines) |
Patch |
 |
M |
chrome/app/generated_resources.grd
|
View
|
2
3
4
5
6
|
1 chunk |
+46 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/browser.vcproj
|
View
|
1
2
3
4
5
6
|
2 chunks |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/browser_about_handler.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/browser_main.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/browser_resources.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/browser_resources.rc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/browser_url_handler.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/browsing_instance.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/debugger/debugger_contents.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/debugger/debugger_view.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/dom_ui/chrome_url_data_manager.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/dom_ui/chrome_url_data_manager.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/dom_ui/dom_ui.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+86 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/dom_ui/dom_ui.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+124 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/dom_ui/dom_ui_contents.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+123 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/dom_ui/dom_ui_contents.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+207 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/dom_ui/history_ui.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+83 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/dom_ui/history_ui.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+303 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/dom_ui/new_tab_ui.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+3 lines, -68 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/dom_ui/new_tab_ui.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+2 lines, -102 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/history/history.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/native_ui_contents.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/render_view_context_menu_controller.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_security_policy.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_security_policy_unittest.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/browser_resources.vcproj
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/resources/history.html
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
1 chunk |
+790 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/new_tab.html
|
View
|
1
2
3
4
5
6
|
7 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/site_instance.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/tab_contents_factory.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/tab_contents_type.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/render_view.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/renderer_glue.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/port/bindings/v8/v8_proxy.cpp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|