diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-19 18:49:47 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-19 18:49:47 +0000 |
commit | 5de10b5d50637fcbca982d2f6222763f6378f477 (patch) | |
tree | 3f047bdc41e0ce072aaf506dc65af48617cc1664 /chrome/browser/certificate_viewer.h | |
parent | 83e4d4b0545fa07e4de5433ba6667ce2222fd807 (diff) | |
download | chromium_src-5de10b5d50637fcbca982d2f6222763f6378f477.zip chromium_src-5de10b5d50637fcbca982d2f6222763f6378f477.tar.gz chromium_src-5de10b5d50637fcbca982d2f6222763f6378f477.tar.bz2 |
Revert 101785 - Add --use-more-webui runtime flag to toggle WebUI replacements for native dialogs.
This adds the flag --use-more-webui to allow turning on WebUI replacements for native dialogs. This flag is automatically set when --use-pure-views is specified. Modifies replaced native dialogs to be toggled based on flag value. BookmarkEditor has also been refactored to use static constructors to EditDetails to describe what is being edited to make the code more readable.
BUG=96935
TEST=Tested that webui dialogs can be turned on or left off with --use-more-webui.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=101581
Review URL: http://codereview.chromium.org/7670041
TBR=flackr@chromium.org
Review URL: http://codereview.chromium.org/7957001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101789 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/certificate_viewer.h')
-rw-r--r-- | chrome/browser/certificate_viewer.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/chrome/browser/certificate_viewer.h b/chrome/browser/certificate_viewer.h index 2dc9bbc..89b0e04 100644 --- a/chrome/browser/certificate_viewer.h +++ b/chrome/browser/certificate_viewer.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -22,9 +22,4 @@ void ShowCertificateViewerByID(gfx::NativeWindow parent, int cert_id); void ShowCertificateViewer(gfx::NativeWindow parent, net::X509Certificate* cert); -// Opens a certificate viewer under |parent| to display |cert| using a native -// certificate viewer dialog. -void ShowNativeCertificateViewer(gfx::NativeWindow parent, - net::X509Certificate* cert); - #endif // CHROME_BROWSER_CERTIFICATE_VIEWER_H_ |