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

Side by Side Diff: chrome/browser/ui/gtk/content_setting_bubble_gtk.cc

Issue 10821059: Add done-clicked notification to content settings bubble model. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/gtk/content_setting_bubble_gtk.h" 5 #include "chrome/browser/ui/gtk/content_setting_bubble_gtk.h"
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 if (widget == *i) { 297 if (widget == *i) {
298 content_setting_bubble_model_->OnRadioClicked( 298 content_setting_bubble_model_->OnRadioClicked(
299 i - radio_group_gtk_.begin()); 299 i - radio_group_gtk_.begin());
300 return; 300 return;
301 } 301 }
302 } 302 }
303 NOTREACHED() << "unknown radio toggled"; 303 NOTREACHED() << "unknown radio toggled";
304 } 304 }
305 305
306 void ContentSettingBubbleGtk::OnCloseButtonClicked(GtkWidget *button) { 306 void ContentSettingBubbleGtk::OnCloseButtonClicked(GtkWidget *button) {
307 content_setting_bubble_model_->OnDoneClicked();
307 Close(); 308 Close();
308 } 309 }
309 310
310 void ContentSettingBubbleGtk::OnCustomLinkClicked(GtkWidget* button) { 311 void ContentSettingBubbleGtk::OnCustomLinkClicked(GtkWidget* button) {
311 content_setting_bubble_model_->OnCustomLinkClicked(); 312 content_setting_bubble_model_->OnCustomLinkClicked();
312 Close(); 313 Close();
313 } 314 }
314 315
315 void ContentSettingBubbleGtk::OnManageLinkClicked(GtkWidget* button) { 316 void ContentSettingBubbleGtk::OnManageLinkClicked(GtkWidget* button) {
316 content_setting_bubble_model_->OnManageLinkClicked(); 317 content_setting_bubble_model_->OnManageLinkClicked();
317 Close(); 318 Close();
318 } 319 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698