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

Side by Side Diff: chrome/browser/views/about_network_dialog.cc

Issue 113143: Move color_utils, text_elider, drag_utils, accessibility_types, standard_layo... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/views/about_ipc_dialog.cc ('k') | chrome/browser/views/bookmark_bar_view.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) 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" 7 #include "base/string_util.h"
8 #include "base/thread.h" 8 #include "base/thread.h"
9 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
10 #include "chrome/browser/views/standard_layout.h"
11 #include "net/url_request/url_request.h" 10 #include "net/url_request/url_request.h"
12 #include "net/url_request/url_request_job.h" 11 #include "net/url_request/url_request_job.h"
13 #include "net/url_request/url_request_job_tracker.h" 12 #include "net/url_request/url_request_job_tracker.h"
14 #include "views/grid_layout.h" 13 #include "views/grid_layout.h"
15 #include "views/controls/button/text_button.h" 14 #include "views/controls/button/text_button.h"
16 #include "views/controls/text_field.h" 15 #include "views/controls/text_field.h"
16 #include "views/standard_layout.h"
17 #include "views/window/window.h" 17 #include "views/window/window.h"
18 18
19 namespace { 19 namespace {
20 20
21 // We don't localize this UI since this is a developer-only feature. 21 // We don't localize this UI since this is a developer-only feature.
22 const wchar_t kStartTrackingLabel[] = L"Start tracking"; 22 const wchar_t kStartTrackingLabel[] = L"Start tracking";
23 const wchar_t kStopTrackingLabel[] = L"Stop tracking"; 23 const wchar_t kStopTrackingLabel[] = L"Stop tracking";
24 const wchar_t kShowCurrentLabel[] = L"Show Current"; 24 const wchar_t kShowCurrentLabel[] = L"Show Current";
25 const wchar_t kClearLabel[] = L"Clear"; 25 const wchar_t kClearLabel[] = L"Clear";
26 26
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 tracking_ = true; 367 tracking_ = true;
368 tracker->StartTracking(); 368 tracker->StartTracking();
369 } 369 }
370 track_toggle_->SchedulePaint(); 370 track_toggle_->SchedulePaint();
371 } else if (button == show_button_) { 371 } else if (button == show_button_) {
372 tracker->ReportStatus(); 372 tracker->ReportStatus();
373 } else if (button == clear_button_) { 373 } else if (button == clear_button_) {
374 text_field_->SetText(std::wstring()); 374 text_field_->SetText(std::wstring());
375 } 375 }
376 } 376 }
OLDNEW
« no previous file with comments | « chrome/browser/views/about_ipc_dialog.cc ('k') | chrome/browser/views/bookmark_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698