| Index: components/sad_tab/cocoa/sad_tab_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.mm b/components/sad_tab/cocoa/sad_tab_controller.mm
|
| similarity index 85%
|
| rename from chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.mm
|
| rename to components/sad_tab/cocoa/sad_tab_controller.mm
|
| index 70732b05f84bd06fac0299436f0552857e792739..2a123664536489859c2f645c2f979141368e6839 100644
|
| --- a/chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.mm
|
| +++ b/components/sad_tab/cocoa/sad_tab_controller.mm
|
| @@ -2,16 +2,18 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.h"
|
| +#include "components/sad_tab/cocoa/sad_tab_controller.h"
|
|
|
| #include "base/mac/bundle_locations.h"
|
| #include "base/mac/mac_util.h"
|
| -#import "chrome/browser/ui/cocoa/tab_contents/sad_tab_view.h"
|
| +#import "components/sad_tab/cocoa/sad_tab_view.h"
|
| #include "content/public/browser/web_contents.h"
|
|
|
| -namespace chrome {
|
| +namespace sad_tab {
|
|
|
| -SadTab* SadTab::Create(content::WebContents* web_contents, SadTabKind kind) {
|
| +SadTab* SadTab::Create(content::WebContents* web_contents,
|
| + SadTabKind kind,
|
| + SadTabClient* client) {
|
| return new SadTabCocoa(web_contents);
|
| }
|
|
|
| @@ -31,7 +33,7 @@ void SadTabCocoa::Close() {
|
| [[sad_tab_controller_ view] removeFromSuperview];
|
| }
|
|
|
| -} // namespace chrome
|
| +} // namespace sad_tab
|
|
|
| @implementation SadTabController
|
|
|
|
|