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

Side by Side Diff: chrome/browser/ui/views/options/simple_content_exceptions_view.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/views/options/simple_content_exceptions_view.h" 5 #include "chrome/browser/ui/views/options/simple_content_exceptions_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "grit/generated_resources.h" 11 #include "grit/generated_resources.h"
12 #include "grit/locale_settings.h" 12 #include "grit/locale_settings.h"
13 #include "gfx/rect.h"
14 #include "ui/base/l10n/l10n_util.h" 13 #include "ui/base/l10n/l10n_util.h"
14 #include "ui/gfx/rect.h"
15 #include "views/controls/button/native_button.h" 15 #include "views/controls/button/native_button.h"
16 #include "views/controls/table/table_view.h" 16 #include "views/controls/table/table_view.h"
17 #include "views/layout/grid_layout.h" 17 #include "views/layout/grid_layout.h"
18 #include "views/layout/layout_constants.h" 18 #include "views/layout/layout_constants.h"
19 #include "views/window/window.h" 19 #include "views/window/window.h"
20 20
21 static const int kExceptionsViewInsetSize = 5; 21 static const int kExceptionsViewInsetSize = 5;
22 static SimpleContentExceptionsView* instance = NULL; 22 static SimpleContentExceptionsView* instance = NULL;
23 23
24 // static 24 // static
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 181
182 void SimpleContentExceptionsView::Remove() { 182 void SimpleContentExceptionsView::Remove() {
183 model_->RemoveRows(GetSelectedRows()); 183 model_->RemoveRows(GetSelectedRows());
184 UpdateButtonState(); 184 UpdateButtonState();
185 } 185 }
186 186
187 void SimpleContentExceptionsView::RemoveAll() { 187 void SimpleContentExceptionsView::RemoveAll() {
188 model_->RemoveAll(); 188 model_->RemoveAll();
189 UpdateButtonState(); 189 UpdateButtonState();
190 } 190 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/options/options_group_view.cc ('k') | chrome/browser/ui/views/repost_form_warning_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698