#include "chrome/browser/extensions/api/tabs/ash_panel_contents.h"
-#include "apps/ui/native_app_window.h"
#include "base/values.h"
#include "chrome/browser/chrome_notification_types.h"
#include "chrome/browser/extensions/api/tabs/tabs_constants.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/site_instance.h"
#include "content/public/browser/web_contents.h"
+#include "extensions/browser/app_window/native_app_window.h"
#include "extensions/common/extension.h"
#include "extensions/common/extension_messages.h"
#include "ui/gfx/image/image.h"
-using apps::AppWindow;
-using apps::NativeAppWindow;
+using extensions::AppWindow;
+using extensions::NativeAppWindow;
// AshPanelWindowController ----------------------------------------------------
base::DictionaryValue* tab_value = new base::DictionaryValue();
tab_value->SetInteger(extensions::tabs_constants::kIdKey,
- SessionID::IdForTab(web_contents));
+ SessionTabHelper::IdForTab(web_contents));
tab_value->SetInteger(extensions::tabs_constants::kIndexKey, 0);
const int window_id = GetWindowId();
tab_value->SetInteger(extensions::tabs_constants::kWindowIdKey, window_id);
host_, Profile::FromBrowserContext(host_->browser_context())));
web_contents_->GetController().LoadURL(
- url_, content::Referrer(), content::PAGE_TRANSITION_LINK,
+ url_, content::Referrer(), ui::PAGE_TRANSITION_LINK,
std::string());
}