| 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 16 matching lines...) Expand all Loading... |
| 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( | 35 DictionaryValue* ExtensionTabUtil::CreateTabValue( |
| 36 const WebContents* contents, | 36 const WebContents* contents, |
| 37 TabStripModel* tab_strip, |
| 38 int tab_index, |
| 37 const extensions::Extension* extension) { | 39 const extensions::Extension* extension) { |
| 38 NOTIMPLEMENTED(); | 40 NOTIMPLEMENTED(); |
| 39 return NULL; | 41 return NULL; |
| 40 } | 42 } |
| 41 | 43 |
| 42 ListValue* ExtensionTabUtil::CreateTabList( | 44 ListValue* ExtensionTabUtil::CreateTabList( |
| 43 const Browser* browser, | 45 const Browser* browser, |
| 44 const extensions::Extension* extension) { | 46 const extensions::Extension* extension) { |
| 45 NOTIMPLEMENTED(); | 47 NOTIMPLEMENTED(); |
| 46 return NULL; | 48 return NULL; |
| 47 } | 49 } |
| 48 | 50 |
| 49 DictionaryValue* ExtensionTabUtil::CreateTabValue( | 51 DictionaryValue* ExtensionTabUtil::CreateTabValue( |
| 50 const WebContents* contents, | 52 const WebContents* contents, |
| 51 TabStripModel* tab_strip, | 53 TabStripModel* tab_strip, |
| 52 int tab_index, | 54 int tab_index, |
| 53 const extensions::Extension* extension) { | 55 IncludePrivacySensitiveFields include_privacy_sensitive_fields) { |
| 54 NOTIMPLEMENTED(); | 56 NOTIMPLEMENTED(); |
| 55 return NULL; | 57 return NULL; |
| 56 } | 58 } |
| 57 | |
| 58 DictionaryValue* ExtensionTabUtil::CreateTabValueActive( | |
| 59 const WebContents* contents, | |
| 60 bool active, | |
| 61 const extensions::Extension* extension) { | |
| 62 NOTIMPLEMENTED(); | |
| 63 return NULL; | |
| 64 } | |
| 65 | 59 |
| 66 bool ExtensionTabUtil::GetTabStripModel(const WebContents* web_contents, | 60 bool ExtensionTabUtil::GetTabStripModel(const WebContents* web_contents, |
| 67 TabStripModel** tab_strip_model, | 61 TabStripModel** tab_strip_model, |
| 68 int* tab_index) { | 62 int* tab_index) { |
| 69 NOTIMPLEMENTED(); | 63 NOTIMPLEMENTED(); |
| 70 return false; | 64 return false; |
| 71 } | 65 } |
| 72 | 66 |
| 73 bool ExtensionTabUtil::GetDefaultTab(Browser* browser, | 67 bool ExtensionTabUtil::GetDefaultTab(Browser* browser, |
| 74 TabContents** contents, | 68 TabContents** contents, |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 const base::Callback<void(WebContents*)>& callback) { | 106 const base::Callback<void(WebContents*)>& callback) { |
| 113 NOTIMPLEMENTED(); | 107 NOTIMPLEMENTED(); |
| 114 } | 108 } |
| 115 | 109 |
| 116 // static | 110 // static |
| 117 extensions::WindowController* ExtensionTabUtil::GetWindowControllerOfTab( | 111 extensions::WindowController* ExtensionTabUtil::GetWindowControllerOfTab( |
| 118 const WebContents* web_contents) { | 112 const WebContents* web_contents) { |
| 119 NOTIMPLEMENTED(); | 113 NOTIMPLEMENTED(); |
| 120 return NULL; | 114 return NULL; |
| 121 } | 115 } |
| OLD | NEW |