| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium 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 #include "chrome/browser/extensions/extension_tab_util.h" | 5 #include "chrome/browser/extensions/extension_tab_util.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "googleurl/src/gurl.h" | 8 #include "googleurl/src/gurl.h" |
| 9 | 9 |
| 10 using base::DictionaryValue; | 10 using base::DictionaryValue; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 int ExtensionTabUtil::GetTabId(const WebContents* web_contents) { | 25 int ExtensionTabUtil::GetTabId(const WebContents* web_contents) { |
| 26 NOTIMPLEMENTED(); | 26 NOTIMPLEMENTED(); |
| 27 return -1; | 27 return -1; |
| 28 } | 28 } |
| 29 | 29 |
| 30 int ExtensionTabUtil::GetWindowIdOfTab(const WebContents* web_contents) { | 30 int ExtensionTabUtil::GetWindowIdOfTab(const WebContents* web_contents) { |
| 31 NOTIMPLEMENTED(); | 31 NOTIMPLEMENTED(); |
| 32 return -1; | 32 return -1; |
| 33 } | 33 } |
| 34 | 34 |
| 35 DictionaryValue* ExtensionTabUtil::CreateTabValue(const WebContents* contents) { | 35 DictionaryValue* ExtensionTabUtil::CreateTabValue( |
| 36 const WebContents* contents, |
| 37 const extensions::Extension* extension) { |
| 36 NOTIMPLEMENTED(); | 38 NOTIMPLEMENTED(); |
| 37 return NULL; | 39 return NULL; |
| 38 } | 40 } |
| 39 | 41 |
| 40 ListValue* ExtensionTabUtil::CreateTabList(const Browser* browser) { | 42 ListValue* ExtensionTabUtil::CreateTabList( |
| 43 const Browser* browser, |
| 44 const extensions::Extension* extension) { |
| 41 NOTIMPLEMENTED(); | 45 NOTIMPLEMENTED(); |
| 42 return NULL; | 46 return NULL; |
| 43 } | 47 } |
| 44 | 48 |
| 45 DictionaryValue* ExtensionTabUtil::CreateTabValue(const WebContents* contents, | 49 DictionaryValue* ExtensionTabUtil::CreateTabValue( |
| 46 TabStripModel* tab_strip, | 50 const WebContents* contents, |
| 47 int tab_index) { | 51 TabStripModel* tab_strip, |
| 52 int tab_index, |
| 53 const extensions::Extension* extension) { |
| 48 NOTIMPLEMENTED(); | 54 NOTIMPLEMENTED(); |
| 49 return NULL; | 55 return NULL; |
| 50 } | 56 } |
| 51 | 57 |
| 52 DictionaryValue* ExtensionTabUtil::CreateTabValueActive( | 58 DictionaryValue* ExtensionTabUtil::CreateTabValueActive( |
| 53 const WebContents* contents, | 59 const WebContents* contents, |
| 54 bool active) { | 60 bool active, |
| 61 const extensions::Extension* extension) { |
| 55 NOTIMPLEMENTED(); | 62 NOTIMPLEMENTED(); |
| 56 return NULL; | 63 return NULL; |
| 57 } | 64 } |
| 58 | 65 |
| 59 bool ExtensionTabUtil::GetTabStripModel(const WebContents* web_contents, | 66 bool ExtensionTabUtil::GetTabStripModel(const WebContents* web_contents, |
| 60 TabStripModel** tab_strip_model, | 67 TabStripModel** tab_strip_model, |
| 61 int* tab_index) { | 68 int* tab_index) { |
| 62 NOTIMPLEMENTED(); | 69 NOTIMPLEMENTED(); |
| 63 return false; | 70 return false; |
| 64 } | 71 } |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 const base::Callback<void(WebContents*)>& callback) { | 112 const base::Callback<void(WebContents*)>& callback) { |
| 106 NOTIMPLEMENTED(); | 113 NOTIMPLEMENTED(); |
| 107 } | 114 } |
| 108 | 115 |
| 109 // static | 116 // static |
| 110 extensions::WindowController* ExtensionTabUtil::GetWindowControllerOfTab( | 117 extensions::WindowController* ExtensionTabUtil::GetWindowControllerOfTab( |
| 111 const WebContents* web_contents) { | 118 const WebContents* web_contents) { |
| 112 NOTIMPLEMENTED(); | 119 NOTIMPLEMENTED(); |
| 113 return NULL; | 120 return NULL; |
| 114 } | 121 } |
| OLD | NEW |