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

Unified Diff: ash/launcher/launcher.h

Issue 11594004: Revert 173417 - Broke on win_aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years 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 | « ash/ash.gyp ('k') | ash/launcher/launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/launcher/launcher.h
===================================================================
--- ash/launcher/launcher.h (revision 173420)
+++ ash/launcher/launcher.h (working copy)
@@ -12,7 +12,6 @@
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "ui/gfx/size.h"
-#include "ui/views/widget/widget_observer.h"
namespace aura {
class Window;
@@ -39,7 +38,7 @@
class LauncherDelegate;
class LauncherModel;
-class ASH_EXPORT Launcher: public views::WidgetObserver {
+class ASH_EXPORT Launcher {
public:
Launcher(LauncherModel* launcher_model,
LauncherDelegate* launcher_delegate,
@@ -125,13 +124,6 @@
aura::Window* window_container() { return window_container_; }
- // Called by the activation delegate, before the launcher is activated
- // when no other windows are visible.
- void WillActivateAsFallback() { activating_as_fallback_ = true; }
-
- // Overridden from views::WidgetObserver:
- void OnWidgetActivationChanged(views::Widget* widget, bool active) OVERRIDE;
-
private:
class DelegateView;
@@ -157,9 +149,6 @@
// Used to animate the background.
internal::BackgroundAnimator background_animator_;
- // Used then activation is forced from the activation delegate.
- bool activating_as_fallback_;
-
DISALLOW_COPY_AND_ASSIGN(Launcher);
};
« no previous file with comments | « ash/ash.gyp ('k') | ash/launcher/launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698