OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_AUTOMATION_UI_CONTROLS_H_ | 5 #ifndef CHROME_BROWSER_AUTOMATION_UI_CONTROLS_H_ |
6 #define CHROME_BROWSER_AUTOMATION_UI_CONTROLS_H_ | 6 #define CHROME_BROWSER_AUTOMATION_UI_CONTROLS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 | 10 |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 views::View* view, | 90 views::View* view, |
91 #elif defined(TOOLKIT_GTK) | 91 #elif defined(TOOLKIT_GTK) |
92 GtkWidget* widget, | 92 GtkWidget* widget, |
93 #elif defined(OS_MACOSX) | 93 #elif defined(OS_MACOSX) |
94 NSView* view, | 94 NSView* view, |
95 #endif | 95 #endif |
96 MouseButton button, | 96 MouseButton button, |
97 int state, | 97 int state, |
98 const base::Closure& task); | 98 const base::Closure& task); |
99 | 99 |
100 #if defined(TOOLKIT_VIEWS) | |
101 // Runs |closure| after processing all pending ui events. | |
102 void RunClosureAfterAllPendingUIEvents(const base::Closure& closure); | |
103 #endif | |
104 | |
105 } // ui_controls | 100 } // ui_controls |
106 | 101 |
107 #endif // CHROME_BROWSER_AUTOMATION_UI_CONTROLS_H_ | 102 #endif // CHROME_BROWSER_AUTOMATION_UI_CONTROLS_H_ |
OLD | NEW |