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

Unified Diff: extensions/browser/app_window/app_delegate.h

Issue 486153002: Move AppWindow related classes to extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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 | « extensions/browser/BUILD.gn ('k') | extensions/browser/app_window/app_web_contents_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/app_window/app_delegate.h
diff --git a/apps/app_delegate.h b/extensions/browser/app_window/app_delegate.h
similarity index 90%
rename from apps/app_delegate.h
rename to extensions/browser/app_window/app_delegate.h
index bb7f2a4067f77dccf1579111a33e54782e35cef4..de78627c29f23d022b1ee67a7571f1c0510bc687 100644
--- a/apps/app_delegate.h
+++ b/extensions/browser/app_window/app_delegate.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef APPS_APP_DELEGATE_H_
-#define APPS_APP_DELEGATE_H_
+#ifndef EXTENSIONS_BROWSER_APP_WINDOW_APP_DELEGATE_H_
+#define EXTENSIONS_BROWSER_APP_WINDOW_APP_DELEGATE_H_
#include "content/public/common/media_stream_request.h"
#include "third_party/skia/include/core/SkColor.h"
@@ -18,15 +18,13 @@ struct OpenURLParams;
class WebContents;
}
-namespace extensions {
-class Extension;
-}
-
namespace gfx {
class Rect;
}
-namespace apps {
+namespace extensions {
+
+class Extension;
// Interface to give packaged apps access to services in the browser, for things
// like handling links and showing UI prompts to the user.
@@ -59,7 +57,7 @@ class AppDelegate {
content::WebContents* web_contents,
const content::MediaStreamRequest& request,
const content::MediaResponseCallback& callback,
- const extensions::Extension* extension) = 0;
+ const Extension* extension) = 0;
virtual int PreferredIconSize() = 0;
virtual gfx::ImageSkia GetAppDefaultIcon() = 0;
@@ -69,6 +67,6 @@ class AppDelegate {
virtual bool IsWebContentsVisible(content::WebContents* web_contents) = 0;
};
-} // namespace apps
+} // namespace extensions
-#endif // APPS_APP_DELEGATE_H_
+#endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_DELEGATE_H_
« no previous file with comments | « extensions/browser/BUILD.gn ('k') | extensions/browser/app_window/app_web_contents_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698