Index: athena/main/athena_launcher.cc |
diff --git a/athena/main/athena_launcher.cc b/athena/main/athena_launcher.cc |
index 304b0f7966b4b50d81887b8f6a8639712b114a9d..c94d6715755dfdef1e5c56bc76aa37e00bed1a03 100644 |
--- a/athena/main/athena_launcher.cc |
+++ b/athena/main/athena_launcher.cc |
@@ -13,12 +13,12 @@ |
#include "athena/extensions/public/extensions_delegate.h" |
#include "athena/home/public/home_card.h" |
#include "athena/input/public/input_manager.h" |
+#include "athena/main/athena_views_delegate.h" |
#include "athena/main/placeholder.h" |
#include "athena/main/placeholder.h" |
#include "athena/main/url_search_provider.h" |
#include "athena/resource_manager/public/resource_manager.h" |
#include "athena/screen/public/screen_manager.h" |
-#include "athena/screen/public/screen_manager.h" |
#include "athena/system/public/system_ui.h" |
#include "athena/virtual_keyboard/public/virtual_keyboard_manager.h" |
#include "athena/wm/public/window_manager.h" |
@@ -30,7 +30,6 @@ |
#include "ui/keyboard/keyboard_controller.h" |
#include "ui/keyboard/keyboard_controller_observer.h" |
#include "ui/native_theme/native_theme_switches.h" |
-#include "ui/views/views_delegate.h" |
#include "ui/wm/core/visibility_controller.h" |
#if defined(USE_X11) |
@@ -78,22 +77,6 @@ class VirtualKeyboardObserver : public keyboard::KeyboardControllerObserver { |
DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardObserver); |
}; |
-class AthenaViewsDelegate : public views::ViewsDelegate { |
- public: |
- AthenaViewsDelegate() {} |
- virtual ~AthenaViewsDelegate() {} |
- |
- private: |
- // views::ViewsDelegate: |
- virtual void OnBeforeWidgetInit( |
- views::Widget::InitParams* params, |
- views::internal::NativeWidgetDelegate* delegate) OVERRIDE { |
- params->context = athena::ScreenManager::Get()->GetContext(); |
- } |
- |
- DISALLOW_COPY_AND_ASSIGN(AthenaViewsDelegate); |
-}; |
- |
void StartAthenaEnv(scoped_refptr<base::TaskRunner> file_runner) { |
athena::AthenaEnv::Create(); |