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

Side by Side Diff: chrome/browser/ui/views/website_settings/website_settings_popup_view.cc

Issue 24469006: Fixing crash Report - Magic Signature: views::View::ConvertPointToScreen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed Created 7 years, 2 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/ui/views/website_settings/website_settings_popup_view.h " 5 #include "chrome/browser/ui/views/website_settings/website_settings_popup_view.h "
6 6
7 #include "base/strings/string_number_conversions.h" 7 #include "base/strings/string_number_conversions.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "chrome/browser/certificate_viewer.h" 9 #include "chrome/browser/certificate_viewer.h"
10 #include "chrome/browser/infobars/infobar_service.h" 10 #include "chrome/browser/infobars/infobar_service.h"
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 // destruction of the settings view and the base class window still 744 // destruction of the settings view and the base class window still
745 // needs to be alive to finish handling the mouse click. 745 // needs to be alive to finish handling the mouse click.
746 void WebsiteSettingsPopupView::HandleLinkClickedAsync(views::Link* source) { 746 void WebsiteSettingsPopupView::HandleLinkClickedAsync(views::Link* source) {
747 if (source == cookie_dialog_link_) { 747 if (source == cookie_dialog_link_) {
748 // Count how often the Collected Cookies dialog is opened. 748 // Count how often the Collected Cookies dialog is opened.
749 content::RecordAction( 749 content::RecordAction(
750 content::UserMetricsAction("WebsiteSettings_CookiesDialogOpened")); 750 content::UserMetricsAction("WebsiteSettings_CookiesDialogOpened"));
751 new CollectedCookiesViews(web_contents_); 751 new CollectedCookiesViews(web_contents_);
752 } else if (source == certificate_dialog_link_) { 752 } else if (source == certificate_dialog_link_) {
753 gfx::NativeWindow parent = 753 gfx::NativeWindow parent =
754 anchor_view() ? anchor_view()->GetWidget()->GetNativeWindow() : NULL; 754 GetAnchorView() ? GetAnchorView()->GetWidget()->GetNativeWindow() :
755 NULL;
755 ShowCertificateViewerByID(web_contents_, parent, cert_id_); 756 ShowCertificateViewerByID(web_contents_, parent, cert_id_);
756 } else if (source == help_center_link_) { 757 } else if (source == help_center_link_) {
757 browser_->OpenURL(content::OpenURLParams( 758 browser_->OpenURL(content::OpenURLParams(
758 GURL(chrome::kPageInfoHelpCenterURL), 759 GURL(chrome::kPageInfoHelpCenterURL),
759 content::Referrer(), 760 content::Referrer(),
760 NEW_FOREGROUND_TAB, 761 NEW_FOREGROUND_TAB,
761 content::PAGE_TRANSITION_LINK, 762 content::PAGE_TRANSITION_LINK,
762 false)); 763 false));
763 } 764 }
764 } 765 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/location_bar/zoom_bubble_view_browsertest.cc ('k') | ui/app_list/views/app_list_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698