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

Side by Side Diff: chrome/browser/views/bug_report_view.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/browser_views.vcproj ('k') | chrome/browser/views/clear_browsing_data.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/bug_report_view.h" 5 #include "chrome/browser/views/bug_report_view.h"
6 6
7 #include <iostream> 7 #include <iostream>
8 #include <fstream> 8 #include <fstream>
9 9
10 #include "app/l10n_util.h" 10 #include "app/l10n_util.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "chrome/browser/net/url_fetcher.h" 12 #include "chrome/browser/net/url_fetcher.h"
13 #include "chrome/browser/profile.h" 13 #include "chrome/browser/profile.h"
14 #include "chrome/browser/safe_browsing/safe_browsing_util.h" 14 #include "chrome/browser/safe_browsing/safe_browsing_util.h"
15 #include "chrome/browser/tab_contents/navigation_controller.h" 15 #include "chrome/browser/tab_contents/navigation_controller.h"
16 #include "chrome/browser/tab_contents/navigation_entry.h" 16 #include "chrome/browser/tab_contents/navigation_entry.h"
17 #include "chrome/browser/tab_contents/tab_contents.h" 17 #include "chrome/browser/tab_contents/tab_contents.h"
18 #include "chrome/browser/views/standard_layout.h"
19 #include "chrome/common/pref_names.h" 18 #include "chrome/common/pref_names.h"
20 #include "chrome/common/pref_service.h" 19 #include "chrome/common/pref_service.h"
21 #include "grit/chromium_strings.h" 20 #include "grit/chromium_strings.h"
22 #include "grit/generated_resources.h" 21 #include "grit/generated_resources.h"
23 #include "grit/locale_settings.h" 22 #include "grit/locale_settings.h"
24 #include "net/base/escape.h" 23 #include "net/base/escape.h"
25 #include "unicode/locid.h" 24 #include "unicode/locid.h"
26 #include "views/controls/button/checkbox.h" 25 #include "views/controls/button/checkbox.h"
27 #include "views/controls/label.h" 26 #include "views/controls/label.h"
28 #include "views/grid_layout.h" 27 #include "views/grid_layout.h"
28 #include "views/standard_layout.h"
29 #include "views/window/client_view.h" 29 #include "views/window/client_view.h"
30 #include "views/window/window.h" 30 #include "views/window/window.h"
31 31
32 using views::ColumnSet; 32 using views::ColumnSet;
33 using views::GridLayout; 33 using views::GridLayout;
34 34
35 // Report a bug data version 35 // Report a bug data version
36 static const int kBugReportVersion = 1; 36 static const int kBugReportVersion = 1;
37 37
38 // Number of lines description field can display at one time. 38 // Number of lines description field can display at one time.
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 fetcher->Start(); 482 fetcher->Start();
483 } 483 }
484 484
485 void BugReportView::ReportPhishing() { 485 void BugReportView::ReportPhishing() {
486 tab_->controller().LoadURL( 486 tab_->controller().LoadURL(
487 safe_browsing_util::GeneratePhishingReportUrl( 487 safe_browsing_util::GeneratePhishingReportUrl(
488 kReportPhishingUrl, WideToUTF8(page_url_text_->GetText())), 488 kReportPhishingUrl, WideToUTF8(page_url_text_->GetText())),
489 GURL(), 489 GURL(),
490 PageTransition::LINK); 490 PageTransition::LINK);
491 } 491 }
OLDNEW
« no previous file with comments | « chrome/browser/views/browser_views.vcproj ('k') | chrome/browser/views/clear_browsing_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698