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

Side by Side Diff: chrome/browser/ui/gtk/options/simple_content_exceptions_window.cc

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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/options/simple_content_exceptions_window.h" 5 #include "chrome/browser/ui/gtk/options/simple_content_exceptions_window.h"
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "chrome/browser/ui/gtk/gtk_util.h" 9 #include "chrome/browser/ui/gtk/gtk_util.h"
10 #include "gfx/gtk_util.h"
11 #include "grit/generated_resources.h" 10 #include "grit/generated_resources.h"
12 #include "grit/locale_settings.h" 11 #include "grit/locale_settings.h"
13 #include "ui/base/l10n/l10n_util.h" 12 #include "ui/base/l10n/l10n_util.h"
13 #include "ui/gfx/gtk_util.h"
14 14
15 namespace { 15 namespace {
16 16
17 // Singleton for exception window. 17 // Singleton for exception window.
18 SimpleContentExceptionsWindow* instance = NULL; 18 SimpleContentExceptionsWindow* instance = NULL;
19 19
20 enum { 20 enum {
21 COL_ACTION = gtk_tree::TableAdapter::COL_LAST_ID, 21 COL_ACTION = gtk_tree::TableAdapter::COL_LAST_ID,
22 COL_COUNT 22 COL_COUNT
23 }; 23 };
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 void SimpleContentExceptionsWindow::OnWindowDestroy(GtkWidget* widget) { 203 void SimpleContentExceptionsWindow::OnWindowDestroy(GtkWidget* widget) {
204 instance = NULL; 204 instance = NULL;
205 MessageLoop::current()->DeleteSoon(FROM_HERE, this); 205 MessageLoop::current()->DeleteSoon(FROM_HERE, this);
206 } 206 }
207 207
208 void SimpleContentExceptionsWindow::OnTreeSelectionChanged( 208 void SimpleContentExceptionsWindow::OnTreeSelectionChanged(
209 GtkWidget* selection) { 209 GtkWidget* selection) {
210 if (!ignore_selection_changes_) 210 if (!ignore_selection_changes_)
211 UpdateButtonState(); 211 UpdateButtonState();
212 } 212 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/options/passwords_page_gtk.cc ('k') | chrome/browser/ui/gtk/options/url_picker_dialog_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698