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

Unified Diff: extensions/browser/app_window/app_web_contents_helper.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
Index: extensions/browser/app_window/app_web_contents_helper.h
diff --git a/apps/app_web_contents_helper.h b/extensions/browser/app_window/app_web_contents_helper.h
similarity index 88%
rename from apps/app_web_contents_helper.h
rename to extensions/browser/app_window/app_web_contents_helper.h
index 01f349b4f31fb6d400f8c8dca9416a092dd19e33..3d17851b451319f935e4775345a7b15381ee248f 100644
--- a/apps/app_web_contents_helper.h
+++ b/extensions/browser/app_window/app_web_contents_helper.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_WEB_CONTENTS_HELPER_H_
-#define APPS_APP_WEB_CONTENTS_HELPER_H_
+#ifndef EXTENSIONS_BROWSER_APP_WINDOW_APP_WEB_CONTENTS_HELPER_H_
+#define EXTENSIONS_BROWSER_APP_WINDOW_APP_WEB_CONTENTS_HELPER_H_
#include "content/public/common/console_message_level.h"
#include "content/public/common/media_stream_request.h"
@@ -19,12 +19,9 @@ class WebContents;
}
namespace extensions {
-class Extension;
-}
-
-namespace apps {
class AppDelegate;
+class Extension;
// Provides common functionality for apps and launcher pages to respond to
// messages from a WebContents.
@@ -52,7 +49,7 @@ class AppWebContentsHelper {
const content::MediaResponseCallback& callback) const;
private:
- const extensions::Extension* GetExtension() const;
+ const Extension* GetExtension() const;
// Helper method to add a message to the renderer's DevTools console.
void AddMessageToDevToolsConsole(content::ConsoleMessageLevel level,
@@ -71,6 +68,6 @@ class AppWebContentsHelper {
DISALLOW_COPY_AND_ASSIGN(AppWebContentsHelper);
};
-} // namespace apps
+} // namespace extensions
-#endif // APPS_APP_WEB_CONTENTS_HELPER_H_
+#endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WEB_CONTENTS_HELPER_H_
« no previous file with comments | « extensions/browser/app_window/app_delegate.h ('k') | extensions/browser/app_window/app_web_contents_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698