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

Unified Diff: ash/wm/overview/transparent_activate_window_button.h

Issue 810033010: Remove TransparentActivateWindowButton from Overview Mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed nits Created 5 years, 11 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
Index: ash/wm/overview/transparent_activate_window_button.h
diff --git a/ash/wm/overview/transparent_activate_window_button.h b/ash/wm/overview/transparent_activate_window_button.h
deleted file mode 100644
index 9dac693c5b3782ca425175442ecab764d4bc9ccb..0000000000000000000000000000000000000000
--- a/ash/wm/overview/transparent_activate_window_button.h
+++ /dev/null
@@ -1,57 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ASH_WM_OVERVIEW_TRANSPARENT_ACTIVATE_WINDOW_BUTTON_H_
-#define ASH_WM_OVERVIEW_TRANSPARENT_ACTIVATE_WINDOW_BUTTON_H_
-
-#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
-#include "base/strings/string16.h"
-#include "ui/gfx/geometry/rect.h"
-
-namespace aura {
-class Window;
-} // namespace aura
-
-namespace views {
-class Button;
-class Widget;
-} // namespace views
-
-namespace ash {
-
-class TransparentActivateWindowButtonDelegate;
-
-// Transparent window that covers window selector items and handles mouse and
-// gestures on overview mode for them.
-class TransparentActivateWindowButton {
- public:
- TransparentActivateWindowButton(
- aura::Window* root_window,
- TransparentActivateWindowButtonDelegate* delegate);
- ~TransparentActivateWindowButton();
-
- // Sets the accessibility name.
- void SetAccessibleName(const base::string16& name);
-
- // Sets the bounds of the transparent window.
- void SetBounds(const gfx::Rect& bounds);
-
- // Sends an accessibility focus alert so that if chromevox is enabled, the
- // window title is read.
- void SendFocusAlert() const;
-
- private:
- // The transparent window event handler widget itself.
- scoped_ptr<views::Widget> event_handler_widget_;
-
- // The transparent button view that handles user input. Not owned.
- views::Button* transparent_button_;
-
- DISALLOW_COPY_AND_ASSIGN(TransparentActivateWindowButton);
-};
-
-} // namespace ash
-
-#endif // ASH_WM_OVERVIEW_TRANSPARENT_ACTIVATE_WINDOW_BUTTON_H_
« no previous file with comments | « ash/wm/overview/scoped_transform_overview_window.cc ('k') | ash/wm/overview/transparent_activate_window_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698