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

Side by Side Diff: chrome/browser/automation/testing_automation_provider_views.cc

Issue 4758001: Part 2 of reapplying r64637. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Window recompile after rebase? Created 10 years, 1 month 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "chrome/browser/automation/testing_automation_provider.h" 5 #include "chrome/browser/automation/testing_automation_provider.h"
6 6
7 #include "chrome/browser/automation/automation_browser_tracker.h" 7 #include "chrome/browser/automation/automation_browser_tracker.h"
8 #include "chrome/browser/automation/automation_window_tracker.h" 8 #include "chrome/browser/automation/automation_window_tracker.h"
9 #include "chrome/browser/browser_window.h" 9 #include "chrome/browser/browser_window.h"
10 #include "chrome/browser/views/frame/browser_view.h" 10 #include "chrome/browser/views/frame/browser_view.h"
11 #include "chrome/browser/views/toolbar_view.h" 11 #include "chrome/browser/views/toolbar_view.h"
12 #include "chrome/test/automation/automation_messages.h" 12 #include "chrome/common/automation_messages.h"
13 #include "gfx/point.h" 13 #include "gfx/point.h"
14 #include "views/controls/menu/menu_wrapper.h" 14 #include "views/controls/menu/menu_wrapper.h"
15 #include "views/view.h" 15 #include "views/view.h"
16 #include "views/widget/root_view.h" 16 #include "views/widget/root_view.h"
17 #include "views/widget/widget.h" 17 #include "views/widget/widget.h"
18 18
19 namespace { 19 namespace {
20 20
21 // Helper class that waits until the focus has changed to a view other 21 // Helper class that waits until the focus has changed to a view other
22 // than the one with the provided view id. 22 // than the one with the provided view id.
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 reply_message, true); 187 reply_message, true);
188 Send(reply_message); 188 Send(reply_message);
189 return; 189 return;
190 } 190 }
191 191
192 // Otherwise, register this reply message with the waiter, 192 // Otherwise, register this reply message with the waiter,
193 // which will handle responding to this IPC when the popup 193 // which will handle responding to this IPC when the popup
194 // menu opens. 194 // menu opens.
195 popup_menu_waiter_->set_reply_message(reply_message); 195 popup_menu_waiter_->set_reply_message(reply_message);
196 } 196 }
OLDNEW
« no previous file with comments | « chrome/browser/automation/testing_automation_provider.cc ('k') | chrome/browser/automation/ui_controls_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698