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

Unified Diff: athena/extensions/athena_app_window_client_base.cc

Issue 616253002: Extract NativeAppWindow from src/extensions Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: might fix athena. similarity=33 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 | « athena/extensions/athena_app_window_client_base.h ('k') | chrome/browser/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/extensions/athena_app_window_client_base.cc
diff --git a/athena/extensions/athena_app_window_client_base.cc b/athena/extensions/athena_app_window_client_base.cc
index 5b6fab569ada0bc5bf0237490f4bbd19c6440c40..d53ced7b025ae7eecc52e37253514a35f99e02e7 100644
--- a/athena/extensions/athena_app_window_client_base.cc
+++ b/athena/extensions/athena_app_window_client_base.cc
@@ -7,6 +7,7 @@
#include "athena/activity/public/activity_factory.h"
#include "athena/activity/public/activity_manager.h"
#include "athena/extensions/athena_native_app_window_views.h"
+#include "extensions/browser/app_window/app_window.h"
#include "extensions/common/extension.h"
namespace athena {
@@ -17,9 +18,10 @@ AthenaAppWindowClientBase::AthenaAppWindowClientBase() {
AthenaAppWindowClientBase::~AthenaAppWindowClientBase() {
}
-extensions::NativeAppWindow* AthenaAppWindowClientBase::CreateNativeAppWindow(
+native_app_window::NativeAppWindow*
+AthenaAppWindowClientBase::CreateNativeAppWindow(
extensions::AppWindow* app_window,
- const extensions::AppWindow::CreateParams& params) {
+ const native_app_window::AppWindowCreateParams& params) {
AthenaNativeAppWindowViews* native_window = new AthenaNativeAppWindowViews;
native_window->Init(app_window, params);
ActivityFactory::Get()->CreateAppActivity(app_window,
« no previous file with comments | « athena/extensions/athena_app_window_client_base.h ('k') | chrome/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698