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

Side by Side Diff: chrome/renderer/resources/extension_process_bindings.js

Issue 126137: Part 1 of merging Extensions and DOMUI (Closed)
Patch Set: add test and rebase Created 11 years, 5 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
OLDNEW
1 // Copyright (c) 2009 The chrome Authors. All rights reserved. 1 // Copyright (c) 2009 The chrome Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // ----------------------------------------------------------------------------- 5 // -----------------------------------------------------------------------------
6 // NOTE: If you change this file you need to touch renderer_resources.grd to 6 // NOTE: If you change this file you need to touch renderer_resources.grd to
7 // have your change take effect. 7 // have your change take effect.
8 // ----------------------------------------------------------------------------- 8 // -----------------------------------------------------------------------------
9 9
10 var chrome; 10 var chrome = chrome || {};
11 (function() { 11 (function() {
12 native function GetViews(); 12 native function GetViews();
13 native function GetWindow(); 13 native function GetWindow();
14 native function GetCurrentWindow(); 14 native function GetCurrentWindow();
15 native function GetLastFocusedWindow(); 15 native function GetLastFocusedWindow();
16 native function CreateWindow(); 16 native function CreateWindow();
17 native function UpdateWindow(); 17 native function UpdateWindow();
18 native function RemoveWindow(); 18 native function RemoveWindow();
19 native function GetAllWindows(); 19 native function GetAllWindows();
20 native function GetTab(); 20 native function GetTab();
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 //---------------------------------------------------------------------------- 487 //----------------------------------------------------------------------------
488 488
489 // Self. 489 // Self.
490 chrome.self = chrome.self || {}; 490 chrome.self = chrome.self || {};
491 chrome.self.onConnect = new chrome.Event("channel-connect"); 491 chrome.self.onConnect = new chrome.Event("channel-connect");
492 492
493 chrome.self.getViews = function() { 493 chrome.self.getViews = function() {
494 return GetViews(); 494 return GetViews();
495 } 495 }
496 })(); 496 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698