| 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 "chrome/browser/sessions/session_id.h" | 8 #include "chrome/browser/sessions/session_id.h" |
| 9 #include "googleurl/src/gurl.h" | 9 #include "googleurl/src/gurl.h" |
| 10 | 10 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 } | 58 } |
| 59 | 59 |
| 60 bool ExtensionTabUtil::GetTabStripModel(const WebContents* web_contents, | 60 bool ExtensionTabUtil::GetTabStripModel(const WebContents* web_contents, |
| 61 TabStripModel** tab_strip_model, | 61 TabStripModel** tab_strip_model, |
| 62 int* tab_index) { | 62 int* tab_index) { |
| 63 NOTIMPLEMENTED(); | 63 NOTIMPLEMENTED(); |
| 64 return false; | 64 return false; |
| 65 } | 65 } |
| 66 | 66 |
| 67 bool ExtensionTabUtil::GetDefaultTab(Browser* browser, | 67 bool ExtensionTabUtil::GetDefaultTab(Browser* browser, |
| 68 TabContents** contents, | 68 content::WebContents** contents, |
| 69 int* tab_id) { | 69 int* tab_id) { |
| 70 NOTIMPLEMENTED(); | 70 NOTIMPLEMENTED(); |
| 71 return false; | 71 return false; |
| 72 } | 72 } |
| 73 | 73 |
| 74 bool ExtensionTabUtil::GetTabById(int tab_id, | 74 bool ExtensionTabUtil::GetTabById(int tab_id, |
| 75 Profile* profile, | 75 Profile* profile, |
| 76 bool include_incognito, | 76 bool include_incognito, |
| 77 Browser** browser, | 77 Browser** browser, |
| 78 TabStripModel** tab_strip, | 78 TabStripModel** tab_strip, |
| 79 TabContents** contents, | 79 content::WebContents** contents, |
| 80 int* tab_index) { | 80 int* tab_index) { |
| 81 NOTIMPLEMENTED(); | 81 NOTIMPLEMENTED(); |
| 82 return false; | 82 return false; |
| 83 } | 83 } |
| 84 | 84 |
| 85 GURL ExtensionTabUtil::ResolvePossiblyRelativeURL(const std::string& url_string, | 85 GURL ExtensionTabUtil::ResolvePossiblyRelativeURL(const std::string& url_string, |
| 86 const extensions::Extension* extension) { | 86 const extensions::Extension* extension) { |
| 87 NOTIMPLEMENTED(); | 87 NOTIMPLEMENTED(); |
| 88 return GURL(); | 88 return GURL(); |
| 89 } | 89 } |
| (...skipping 16 matching lines...) Expand all Loading... |
| 106 const base::Callback<void(WebContents*)>& callback) { | 106 const base::Callback<void(WebContents*)>& callback) { |
| 107 NOTIMPLEMENTED(); | 107 NOTIMPLEMENTED(); |
| 108 } | 108 } |
| 109 | 109 |
| 110 // static | 110 // static |
| 111 extensions::WindowController* ExtensionTabUtil::GetWindowControllerOfTab( | 111 extensions::WindowController* ExtensionTabUtil::GetWindowControllerOfTab( |
| 112 const WebContents* web_contents) { | 112 const WebContents* web_contents) { |
| 113 NOTIMPLEMENTED(); | 113 NOTIMPLEMENTED(); |
| 114 return NULL; | 114 return NULL; |
| 115 } | 115 } |
| OLD | NEW |