Index: athena/main/athena_launcher.cc |
diff --git a/athena/main/athena_launcher.cc b/athena/main/athena_launcher.cc |
index 4efd3196b33be76e0cf430038932d430e68471c8..f4bba58bf91514bb0c8911dbfc0278e792f15ece 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(); |