| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/gtk/options/content_page_gtk.h" | 5 #include "chrome/browser/gtk/options/content_page_gtk.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| 11 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
| (...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 611 if (response == GTK_RESPONSE_ACCEPT) { | 611 if (response == GTK_RESPONSE_ACCEPT) { |
| 612 sync_service_->DisableForUser(); | 612 sync_service_->DisableForUser(); |
| 613 ProfileSyncService::SyncEvent(ProfileSyncService::STOP_FROM_OPTIONS); | 613 ProfileSyncService::SyncEvent(ProfileSyncService::STOP_FROM_OPTIONS); |
| 614 } | 614 } |
| 615 gtk_widget_destroy(widget); | 615 gtk_widget_destroy(widget); |
| 616 } | 616 } |
| 617 | 617 |
| 618 void ContentPageGtk::OnPrivacyDashboardLinkClicked(GtkWidget* widget) { | 618 void ContentPageGtk::OnPrivacyDashboardLinkClicked(GtkWidget* widget) { |
| 619 BrowserList::GetLastActive()->OpenPrivacyDashboardTabAndActivate(); | 619 BrowserList::GetLastActive()->OpenPrivacyDashboardTabAndActivate(); |
| 620 } | 620 } |
| OLD | NEW |