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

Unified Diff: chrome/browser/automation/testing_automation_provider_views.cc

Issue 7057014: Variety of tweaks to View API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/speech/speech_input_bubble_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/testing_automation_provider_views.cc
===================================================================
--- chrome/browser/automation/testing_automation_provider_views.cc (revision 86084)
+++ chrome/browser/automation/testing_automation_provider_views.cc (working copy)
@@ -57,9 +57,9 @@
private:
void FocusChanged(views::View* focused_before,
views::View* focused_now) {
- if (focused_now && focused_now->GetID() != previous_view_id_) {
+ if (focused_now && focused_now->id() != previous_view_id_) {
AutomationMsg_WaitForFocusedViewIDToChange::WriteReplyParams(
- reply_message_, true, focused_now->GetID());
+ reply_message_, true, focused_now->id());
automation_->Send(reply_message_);
delete this;
@@ -149,7 +149,7 @@
DCHECK(focus_manager);
views::View* focused_view = focus_manager->GetFocusedView();
if (focused_view)
- *view_id = focused_view->GetID();
+ *view_id = focused_view->id();
}
}
« no previous file with comments | « no previous file | chrome/browser/speech/speech_input_bubble_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698