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

Side by Side Diff: chrome/browser/automation/ui_controls.h

Issue 8820010: Revert 113183 - Revert 113177 - process all ui events before posting closure because menu depends... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/automation/ui_controls_aurawin.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
100 } // ui_controls 105 } // ui_controls
101 106
102 #endif // CHROME_BROWSER_AUTOMATION_UI_CONTROLS_H_ 107 #endif // CHROME_BROWSER_AUTOMATION_UI_CONTROLS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/automation/ui_controls_aurawin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698