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

Side by Side Diff: ash/wm/overview/transparent_activate_window_button.h

Issue 844763006: Change overview mode to so that docked panel windows are not grouped together. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed stale pointer in ScopedTransformOverviewWindow. 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_WM_OVERVIEW_TRANSPARENT_ACTIVATE_WINDOW_BUTTON_H_ 5 #ifndef ASH_WM_OVERVIEW_TRANSPARENT_ACTIVATE_WINDOW_BUTTON_H_
6 #define ASH_WM_OVERVIEW_TRANSPARENT_ACTIVATE_WINDOW_BUTTON_H_ 6 #define ASH_WM_OVERVIEW_TRANSPARENT_ACTIVATE_WINDOW_BUTTON_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 24 matching lines...) Expand all
35 // Sets the accessibility name. 35 // Sets the accessibility name.
36 void SetAccessibleName(const base::string16& name); 36 void SetAccessibleName(const base::string16& name);
37 37
38 // Sets the bounds of the transparent window. 38 // Sets the bounds of the transparent window.
39 void SetBounds(const gfx::Rect& bounds); 39 void SetBounds(const gfx::Rect& bounds);
40 40
41 // Sends an accessibility focus alert so that if chromevox is enabled, the 41 // Sends an accessibility focus alert so that if chromevox is enabled, the
42 // window title is read. 42 // window title is read.
43 void SendFocusAlert() const; 43 void SendFocusAlert() const;
44 44
45 // Stacks |this| above |activate_button| in the window z-ordering.
46 void StackAbove(TransparentActivateWindowButton* activate_button);
47
48 private: 45 private:
49 // The transparent window event handler widget itself. 46 // The transparent window event handler widget itself.
50 scoped_ptr<views::Widget> event_handler_widget_; 47 scoped_ptr<views::Widget> event_handler_widget_;
51 48
52 // The transparent button view that handles user input. Not owned. 49 // The transparent button view that handles user input. Not owned.
53 views::Button* transparent_button_; 50 views::Button* transparent_button_;
54 51
55 DISALLOW_COPY_AND_ASSIGN(TransparentActivateWindowButton); 52 DISALLOW_COPY_AND_ASSIGN(TransparentActivateWindowButton);
56 }; 53 };
57 54
58 } // namespace ash 55 } // namespace ash
59 56
60 #endif // ASH_WM_OVERVIEW_TRANSPARENT_ACTIVATE_WINDOW_BUTTON_H_ 57 #endif // ASH_WM_OVERVIEW_TRANSPARENT_ACTIVATE_WINDOW_BUTTON_H_
OLDNEW
« no previous file with comments | « ash/wm/overview/scoped_window_copy.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