| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/views/about_network_dialog.h" | 5 #include "chrome/browser/views/about_network_dialog.h" |
| 6 | 6 |
| 7 #include "base/string_util.h" | |
| 8 #include "base/thread.h" | 7 #include "base/thread.h" |
| 8 #include "base/utf_string_conversions.h" |
| 9 #include "chrome/browser/chrome_thread.h" | 9 #include "chrome/browser/chrome_thread.h" |
| 10 #include "net/url_request/url_request.h" | 10 #include "net/url_request/url_request.h" |
| 11 #include "net/url_request/url_request_job.h" | 11 #include "net/url_request/url_request_job.h" |
| 12 #include "net/url_request/url_request_job_tracker.h" | 12 #include "net/url_request/url_request_job_tracker.h" |
| 13 #include "views/grid_layout.h" | 13 #include "views/grid_layout.h" |
| 14 #include "views/controls/button/text_button.h" | 14 #include "views/controls/button/text_button.h" |
| 15 #include "views/controls/textfield/textfield.h" | 15 #include "views/controls/textfield/textfield.h" |
| 16 #include "views/standard_layout.h" | 16 #include "views/standard_layout.h" |
| 17 #include "views/window/window.h" | 17 #include "views/window/window.h" |
| 18 | 18 |
| (...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 tracking_ = true; | 369 tracking_ = true; |
| 370 tracker->StartTracking(); | 370 tracker->StartTracking(); |
| 371 } | 371 } |
| 372 track_toggle_->SchedulePaint(); | 372 track_toggle_->SchedulePaint(); |
| 373 } else if (button == show_button_) { | 373 } else if (button == show_button_) { |
| 374 tracker->ReportStatus(); | 374 tracker->ReportStatus(); |
| 375 } else if (button == clear_button_) { | 375 } else if (button == clear_button_) { |
| 376 text_field_->SetText(std::wstring()); | 376 text_field_->SetText(std::wstring()); |
| 377 } | 377 } |
| 378 } | 378 } |
| OLD | NEW |