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

Side by Side Diff: chrome/browser/resources/extensions_ui.html

Issue 3210007: Add support for a "split" incognito behavior for extensions. (Closed)
Patch Set: latest Created 10 years, 3 months 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
« no previous file with comments | « chrome/browser/profile_impl.cc ('k') | chrome/browser/task_manager_resource_providers.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html i18n-values="dir:textdirection;"> 2 <html i18n-values="dir:textdirection;">
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <title i18n-content="title"></title> 5 <title i18n-content="title"></title>
6 <style> 6 <style>
7 body { 7 body {
8 margin: 10px; 8 margin: 10px;
9 min-width: 47em; 9 min-width: 47em;
10 } 10 }
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 } 371 }
372 ], 372 ],
373 // TODO(aa): It would be nice to also render what type of view each one 373 // TODO(aa): It would be nice to also render what type of view each one
374 // is, like 'toolstrip', 'background', etc. Eventually, if we can also 374 // is, like 'toolstrip', 'background', etc. Eventually, if we can also
375 // debug and inspect content scripts, maybe we don't need to list the 375 // debug and inspect content scripts, maybe we don't need to list the
376 // components, just the views. 376 // components, just the views.
377 'views': [ 377 'views': [
378 { 378 {
379 'path': 'toolstrip.html', 379 'path': 'toolstrip.html',
380 'renderViewId': 1, 380 'renderViewId': 1,
381 'renderProcessId': 1 381 'renderProcessId': 1,
382 'incognito': false
382 }, 383 },
383 { 384 {
384 'path': 'background.html', 385 'path': 'background.html',
385 'renderViewId': 2, 386 'renderViewId': 2,
386 'renderProcessId': 1 387 'renderProcessId': 1,
388 'incognito': false
387 } 389 }
388 ] 390 ]
389 }, 391 },
390 { 392 {
391 'id': '0000000000000000000000000000000000000001', 393 'id': '0000000000000000000000000000000000000001',
392 'name': 'RSS Subscriber', 394 'name': 'RSS Subscriber',
393 'description': 'Extension long format description', 395 'description': 'Extension long format description',
394 'version': '1.0.231', 396 'version': '1.0.231',
395 'enabled': 'true', 397 'enabled': 'true',
396 'enabledIncognito': 'false', 398 'enabledIncognito': 'false',
(...skipping 11 matching lines...) Expand all
408 { 410 {
409 'js': ['script2_file1.js', 'script2_file2.js'], 411 'js': ['script2_file1.js', 'script2_file2.js'],
410 'css': ['script2_file1.css', 'script2_file2.css'], 412 'css': ['script2_file1.css', 'script2_file2.css'],
411 'matches': ['http://*/*', 'http://other.com/*'] 413 'matches': ['http://*/*', 'http://other.com/*']
412 } 414 }
413 ], 415 ],
414 'views': [ 416 'views': [
415 { 417 {
416 'path': 'foo/bar/toolstrip.html', 418 'path': 'foo/bar/toolstrip.html',
417 'renderViewId': 3, 419 'renderViewId': 3,
418 'renderProcessId': 1 420 'renderProcessId': 1,
421 'incognito': false
419 } 422 }
420 ], 423 ],
421 "hasPopupAction": false 424 "hasPopupAction": false
422 } 425 }
423 ] 426 ]
424 }; 427 };
425 428
426 // Keeps track of whether the developer mode subsection has been made visible 429 // Keeps track of whether the developer mode subsection has been made visible
427 // (expanded) or not. 430 // (expanded) or not.
428 var devModeExpanded = false; 431 var devModeExpanded = false;
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
849 <div class="extension-details"> 852 <div class="extension-details">
850 <span i18n-content="extensionId">ID_LABEL: </span> 853 <span i18n-content="extensionId">ID_LABEL: </span>
851 <span jscontent="id"></span> 854 <span jscontent="id"></span>
852 </div> 855 </div>
853 <div class="extension-details"> 856 <div class="extension-details">
854 <span jsdisplay="views.length > 0 || hasPopupAction" i18n-conten t="inspectViews"> 857 <span jsdisplay="views.length > 0 || hasPopupAction" i18n-conten t="inspectViews">
855 INSPECT ACTIVE VIEWS: 858 INSPECT ACTIVE VIEWS:
856 </span> 859 </span>
857 <ul class="extension-views"> 860 <ul class="extension-views">
858 <li jsselect="views"> 861 <li jsselect="views">
859 <a jsvalues=".extensionView:$this" href="#" 862 <span jsvalues=".extensionView:$this">
860 onclick="sendInspectMessage(this.extensionView); return f alse;"> 863 <a jsvalues=".extensionView:$this" href="#"
861 <span jscontent="path"></span> 864 onclick="sendInspectMessage(this.extensionView); return false;">
862 </a> 865 <span jscontent="path"></span></a>
866 <span jsdisplay="incognito"
867 i18n-content="viewIncognito">(INCOGNITO)</span>
868 </span>
863 </li> 869 </li>
864 <li i18n-content="inspectPopupsInstructions" 870 <li i18n-content="inspectPopupsInstructions"
865 class="inspectPopupNote" jsdisplay="hasPopupAction"> 871 class="inspectPopupNote" jsdisplay="hasPopupAction">
866 INSPECT POPUP INSRUCTIONS 872 INSPECT POPUP INSRUCTIONS
867 </li> 873 </li>
868 </ul> 874 </ul>
869 </div> 875 </div>
870 </div> 876 </div>
871 <div class="extension-actions-div"> 877 <div class="extension-actions-div">
872 <span class="extension-actions"> 878 <span class="extension-actions">
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
933 </div> 939 </div>
934 </div> 940 </div>
935 941
936 <div id="get-moar-extensions" jsdisplay="extensions.length > 0" 942 <div id="get-moar-extensions" jsdisplay="extensions.length > 0"
937 i18n-content="getMoreExtensions"></div> 943 i18n-content="getMoreExtensions"></div>
938 </div> 944 </div>
939 </div> 945 </div>
940 </div> 946 </div>
941 </body> 947 </body>
942 </html> 948 </html>
OLDNEW
« no previous file with comments | « chrome/browser/profile_impl.cc ('k') | chrome/browser/task_manager_resource_providers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698