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

Unified Diff: extensions/browser/api/app_window/app_window_api.h

Issue 534163002: Move app.window API implementation to extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix OWNERS 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 | « extensions/browser/api/app_window/OWNERS ('k') | extensions/browser/api/app_window/app_window_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/app_window/app_window_api.h
diff --git a/chrome/browser/extensions/api/app_window/app_window_api.h b/extensions/browser/api/app_window/app_window_api.h
similarity index 73%
rename from chrome/browser/extensions/api/app_window/app_window_api.h
rename to extensions/browser/api/app_window/app_window_api.h
index 164818256d10814b80765b00513b7d6b55de956d..f735a6cd606020c9abc3dee8448f58a5a616f4fc 100644
--- a/chrome/browser/extensions/api/app_window/app_window_api.h
+++ b/extensions/browser/api/app_window/app_window_api.h
@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_EXTENSIONS_API_APP_WINDOW_APP_WINDOW_API_H_
-#define CHROME_BROWSER_EXTENSIONS_API_APP_WINDOW_APP_WINDOW_API_H_
+#ifndef EXTENSIONS_BROWSER_API_APP_WINDOW_APP_WINDOW_API_H_
+#define EXTENSIONS_BROWSER_API_APP_WINDOW_APP_WINDOW_API_H_
#include "extensions/browser/app_window/app_window.h"
#include "extensions/browser/extension_function.h"
namespace extensions {
-namespace api {
+namespace core_api {
namespace app_window {
struct CreateWindowOptions;
}
@@ -27,13 +27,13 @@ class AppWindowCreateFunction : public AsyncExtensionFunction {
private:
bool GetBoundsSpec(
- const extensions::api::app_window::CreateWindowOptions& options,
+ const extensions::core_api::app_window::CreateWindowOptions& options,
AppWindow::CreateParams* params,
std::string* error);
AppWindow::Frame GetFrameFromString(const std::string& frame_string);
bool GetFrameOptions(
- const extensions::api::app_window::CreateWindowOptions& options,
+ const extensions::core_api::app_window::CreateWindowOptions& options,
AppWindow::CreateParams* create_params);
void UpdateFrameOptionsForChannel(AppWindow::CreateParams* create_params);
@@ -42,4 +42,4 @@ class AppWindowCreateFunction : public AsyncExtensionFunction {
} // namespace extensions
-#endif // CHROME_BROWSER_EXTENSIONS_API_APP_WINDOW_APP_WINDOW_API_H_
+#endif // EXTENSIONS_BROWSER_API_APP_WINDOW_APP_WINDOW_API_H_
« no previous file with comments | « extensions/browser/api/app_window/OWNERS ('k') | extensions/browser/api/app_window/app_window_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698