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

Unified Diff: components/sad_tab/cocoa/sad_tab_controller.h

Issue 543663002: Componentize sad_tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix url_constants.cc Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/sad_tab/cocoa/DEPS ('k') | components/sad_tab/cocoa/sad_tab_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sad_tab/cocoa/sad_tab_controller.h
diff --git a/chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.h b/components/sad_tab/cocoa/sad_tab_controller.h
similarity index 82%
rename from chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.h
rename to components/sad_tab/cocoa/sad_tab_controller.h
index 91fc745c5d191d2def1a684216948cb8fdec96dd..0c8ff42341dafb7a453ae24dec7b694d4fa87a1c 100644
--- a/chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.h
+++ b/components/sad_tab/cocoa/sad_tab_controller.h
@@ -2,19 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_SAD_TAB_CONTROLLER_H_
-#define CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_SAD_TAB_CONTROLLER_H_
+#ifndef COMPONENTS_SAD_TAB_COCOA_SAD_TAB_CONTROLLER_H_
+#define COMPONENTS_SAD_TAB_COCOA_SAD_TAB_CONTROLLER_H_
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/mac/scoped_nsobject.h"
-#include "chrome/browser/ui/sad_tab.h"
+#include "components/sad_tab/sad_tab.h"
#import <Cocoa/Cocoa.h>
@class SadTabController;
-namespace chrome {
+namespace sad_tab {
class SadTabCocoa : public SadTab {
public:
@@ -34,7 +34,7 @@ class SadTabCocoa : public SadTab {
DISALLOW_COPY_AND_ASSIGN(SadTabCocoa);
};
-} // namespace chrome
+} // namespace sad_tab
// A controller class that manages the SadTabView (aka "Aw Snap" or crash page).
@interface SadTabController : NSViewController {
@@ -55,4 +55,4 @@ class SadTabCocoa : public SadTab {
@end
-#endif // CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_SAD_TAB_CONTROLLER_H_
+#endif // COMPONENTS_SAD_TAB_COCOA_SAD_TAB_CONTROLLER_H_
« no previous file with comments | « components/sad_tab/cocoa/DEPS ('k') | components/sad_tab/cocoa/sad_tab_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698