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

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

Issue 6951008: Have AppCache code go through the content embedder API for content settings checks. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
OLDNEW
1 // Copyright (c) 2011 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/ui/gtk/collected_cookies_gtk.h" 5 #include "chrome/browser/ui/gtk/collected_cookies_gtk.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "chrome/browser/content_settings/host_content_settings_map.h"
9 #include "chrome/browser/cookies_tree_model.h" 10 #include "chrome/browser/cookies_tree_model.h"
10 #include "chrome/browser/profiles/profile.h" 11 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/ui/collected_cookies_infobar_delegate.h" 12 #include "chrome/browser/ui/collected_cookies_infobar_delegate.h"
12 #include "chrome/browser/ui/gtk/gtk_chrome_cookie_view.h" 13 #include "chrome/browser/ui/gtk/gtk_chrome_cookie_view.h"
13 #include "chrome/browser/ui/gtk/gtk_util.h" 14 #include "chrome/browser/ui/gtk/gtk_util.h"
14 #include "content/browser/tab_contents/tab_contents.h" 15 #include "content/browser/tab_contents/tab_contents.h"
15 #include "content/common/notification_source.h" 16 #include "content/common/notification_source.h"
16 #include "grit/generated_resources.h" 17 #include "grit/generated_resources.h"
17 #include "ui/base/l10n/l10n_util.h" 18 #include "ui/base/l10n/l10n_util.h"
18 19
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 tree_view, reinterpret_cast<gpointer>(OnTreeViewRowExpandedThunk), this); 503 tree_view, reinterpret_cast<gpointer>(OnTreeViewRowExpandedThunk), this);
503 gtk_tree_view_expand_row(GTK_TREE_VIEW(tree_view), path, TRUE); 504 gtk_tree_view_expand_row(GTK_TREE_VIEW(tree_view), path, TRUE);
504 g_signal_handlers_unblock_by_func( 505 g_signal_handlers_unblock_by_func(
505 tree_view, reinterpret_cast<gpointer>(OnTreeViewRowExpandedThunk), this); 506 tree_view, reinterpret_cast<gpointer>(OnTreeViewRowExpandedThunk), this);
506 } 507 }
507 508
508 void CollectedCookiesGtk::OnTreeViewSelectionChange(GtkWidget* selection) { 509 void CollectedCookiesGtk::OnTreeViewSelectionChange(GtkWidget* selection) {
509 EnableControls(); 510 EnableControls();
510 ShowCookieInfo(gtk_notebook_get_current_page(GTK_NOTEBOOK(notebook_))); 511 ShowCookieInfo(gtk_notebook_get_current_page(GTK_NOTEBOOK(notebook_)));
511 } 512 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm ('k') | chrome/browser/ui/views/collected_cookies_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698