OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/location.h" | 10 #include "base/location.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
13 #include "ui/accessibility/ax_enums.h" | |
14 #include "ui/views/views_delegate.h" | 13 #include "ui/views/views_delegate.h" |
15 | 14 |
16 class ScopedKeepAlive; | 15 class ScopedKeepAlive; |
17 | 16 |
18 class ChromeViewsDelegate : public views::ViewsDelegate { | 17 class ChromeViewsDelegate : public views::ViewsDelegate { |
19 public: | 18 public: |
20 ChromeViewsDelegate(); | 19 ChromeViewsDelegate(); |
21 ~ChromeViewsDelegate() override; | 20 ~ChromeViewsDelegate() override; |
22 | 21 |
23 // views::ViewsDelegate: | 22 // views::ViewsDelegate: |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 // GetAutohideEdges().start a new query. | 90 // GetAutohideEdges().start a new query. |
92 bool in_autohide_edges_callback_; | 91 bool in_autohide_edges_callback_; |
93 | 92 |
94 base::WeakPtrFactory<ChromeViewsDelegate> weak_factory_; | 93 base::WeakPtrFactory<ChromeViewsDelegate> weak_factory_; |
95 #endif | 94 #endif |
96 | 95 |
97 DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate); | 96 DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate); |
98 }; | 97 }; |
99 | 98 |
100 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ | 99 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ |
OLD | NEW |