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/basictypes.h" | |
9 #include "base/callback.h" | 8 #include "base/callback.h" |
10 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
11 #include "base/location.h" | 10 #include "base/location.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" | 13 #include "ui/accessibility/ax_enums.h" |
14 #include "ui/views/views_delegate.h" | 14 #include "ui/views/views_delegate.h" |
15 | 15 |
16 class ChromeViewsDelegate : public views::ViewsDelegate { | 16 class ChromeViewsDelegate : public views::ViewsDelegate { |
17 public: | 17 public: |
18 ChromeViewsDelegate(); | 18 ChromeViewsDelegate(); |
19 ~ChromeViewsDelegate() override; | 19 ~ChromeViewsDelegate() override; |
20 | 20 |
21 // views::ViewsDelegate: | 21 // views::ViewsDelegate: |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 // GetAutohideEdges().start a new query. | 83 // GetAutohideEdges().start a new query. |
84 bool in_autohide_edges_callback_; | 84 bool in_autohide_edges_callback_; |
85 | 85 |
86 base::WeakPtrFactory<ChromeViewsDelegate> weak_factory_; | 86 base::WeakPtrFactory<ChromeViewsDelegate> weak_factory_; |
87 #endif | 87 #endif |
88 | 88 |
89 DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate); | 89 DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate); |
90 }; | 90 }; |
91 | 91 |
92 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ | 92 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ |
OLD | NEW |