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

Unified Diff: chrome/browser/extensions/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
Index: chrome/browser/extensions/api/app_window/app_window_api.h
diff --git a/chrome/browser/extensions/api/app_window/app_window_api.h b/chrome/browser/extensions/api/app_window/app_window_api.h
deleted file mode 100644
index 164818256d10814b80765b00513b7d6b55de956d..0000000000000000000000000000000000000000
--- a/chrome/browser/extensions/api/app_window/app_window_api.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// 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_
-
-#include "extensions/browser/app_window/app_window.h"
-#include "extensions/browser/extension_function.h"
-
-namespace extensions {
-
-namespace api {
-namespace app_window {
-struct CreateWindowOptions;
-}
-}
-
-class AppWindowCreateFunction : public AsyncExtensionFunction {
- public:
- AppWindowCreateFunction();
- DECLARE_EXTENSION_FUNCTION("app.window.create", APP_WINDOW_CREATE)
-
- protected:
- virtual ~AppWindowCreateFunction() {}
- virtual bool RunAsync() OVERRIDE;
-
- private:
- bool GetBoundsSpec(
- const extensions::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,
- AppWindow::CreateParams* create_params);
- void UpdateFrameOptionsForChannel(AppWindow::CreateParams* create_params);
-
- bool inject_html_titlebar_;
-};
-
-} // namespace extensions
-
-#endif // CHROME_BROWSER_EXTENSIONS_API_APP_WINDOW_APP_WINDOW_API_H_
« no previous file with comments | « chrome/browser/extensions/api/app_window/OWNERS ('k') | chrome/browser/extensions/api/app_window/app_window_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698