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

Side by Side Diff: chrome/browser/ui/views/content_setting_bubble_contents.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/content_setting_bubble_contents.h" 5 #include "chrome/browser/ui/views/content_setting_bubble_contents.h"
6 6
7 #if defined(OS_LINUX) 7 #if defined(OS_LINUX)
8 #include <gdk/gdk.h> 8 #include <gdk/gdk.h>
9 #endif 9 #endif
10 10
(...skipping 13 matching lines...) Expand all
24 #include "views/controls/button/native_button.h" 24 #include "views/controls/button/native_button.h"
25 #include "views/controls/button/radio_button.h" 25 #include "views/controls/button/radio_button.h"
26 #include "views/controls/image_view.h" 26 #include "views/controls/image_view.h"
27 #include "views/controls/label.h" 27 #include "views/controls/label.h"
28 #include "views/controls/separator.h" 28 #include "views/controls/separator.h"
29 #include "views/layout/grid_layout.h" 29 #include "views/layout/grid_layout.h"
30 #include "views/layout/layout_constants.h" 30 #include "views/layout/layout_constants.h"
31 #include "webkit/glue/plugins/plugin_list.h" 31 #include "webkit/glue/plugins/plugin_list.h"
32 32
33 #if defined(OS_LINUX) 33 #if defined(OS_LINUX)
34 #include "gfx/gtk_util.h" 34 #include "ui/gfx/gtk_util.h"
35 #endif 35 #endif
36 36
37 // If we don't clamp the maximum width, then very long URLs and titles can make 37 // If we don't clamp the maximum width, then very long URLs and titles can make
38 // the bubble arbitrarily wide. 38 // the bubble arbitrarily wide.
39 const int kMaxContentsWidth = 500; 39 const int kMaxContentsWidth = 500;
40 40
41 // When we have multiline labels, we should set a minimum width lest we get very 41 // When we have multiline labels, we should set a minimum width lest we get very
42 // narrow bubbles with lots of line-wrapping. 42 // narrow bubbles with lots of line-wrapping.
43 const int kMinMultiLineContentsWidth = 250; 43 const int kMinMultiLineContentsWidth = 250;
44 44
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 layout->StartRow(0, double_column_set_id); 333 layout->StartRow(0, double_column_set_id);
334 manage_link_ = new views::Link(UTF8ToWide(bubble_content.manage_link)); 334 manage_link_ = new views::Link(UTF8ToWide(bubble_content.manage_link));
335 manage_link_->SetController(this); 335 manage_link_->SetController(this);
336 layout->AddView(manage_link_); 336 layout->AddView(manage_link_);
337 337
338 close_button_ = 338 close_button_ =
339 new views::NativeButton(this, 339 new views::NativeButton(this,
340 UTF16ToWide(l10n_util::GetStringUTF16(IDS_DONE))); 340 UTF16ToWide(l10n_util::GetStringUTF16(IDS_DONE)));
341 layout->AddView(close_button_); 341 layout->AddView(close_button_);
342 } 342 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/constrained_window_win.cc ('k') | chrome/browser/ui/views/cookie_info_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698