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

Side by Side Diff: chrome/browser/autocomplete/autocomplete_popup_view_gtk_unittest.cc

Issue 6245006: Update references part 3: remaining files in chrome/...... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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) 2010 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/autocomplete/autocomplete_popup_view_gtk.h" 5 #include "chrome/browser/autocomplete/autocomplete_popup_view_gtk.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include "chrome/browser/autocomplete/autocomplete.h" 9 #include "chrome/browser/autocomplete/autocomplete.h"
10 #include "chrome/browser/autocomplete/autocomplete_match.h" 10 #include "chrome/browser/autocomplete/autocomplete_match.h"
11 #include "chrome/browser/gtk/gtk_util.h" 11 #include "chrome/browser/ui/gtk/gtk_util.h"
12 #include "testing/platform_test.h" 12 #include "testing/platform_test.h"
13 13
14 namespace { 14 namespace {
15 15
16 static const float kLargeWidth = 10000; 16 static const float kLargeWidth = 10000;
17 17
18 const GdkColor kContentTextColor = GDK_COLOR_RGB(0x00, 0x00, 0x00); 18 const GdkColor kContentTextColor = GDK_COLOR_RGB(0x00, 0x00, 0x00);
19 const GdkColor kDimContentTextColor = GDK_COLOR_RGB(0x80, 0x80, 0x80); 19 const GdkColor kDimContentTextColor = GDK_COLOR_RGB(0x80, 0x80, 0x80);
20 const GdkColor kURLTextColor = GDK_COLOR_RGB(0x00, 0x88, 0x00); 20 const GdkColor kURLTextColor = GDK_COLOR_RGB(0x00, 0x88, 0x00);
21 21
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 // One color for the entire string, and it's not the one we passed 409 // One color for the entire string, and it's not the one we passed
410 // in. 410 // in.
411 EXPECT_EQ(kContents.size(), 411 EXPECT_EQ(kContents.size(),
412 RunLengthForAttrType(0U, 412 RunLengthForAttrType(0U,
413 kContents.size(), 413 kContents.size(),
414 PANGO_ATTR_FOREGROUND)); 414 PANGO_ATTR_FOREGROUND));
415 EXPECT_TRUE(RunHasColor(0U, 415 EXPECT_TRUE(RunHasColor(0U,
416 kContents.size(), 416 kContents.size(),
417 kURLTextColor)); 417 kURLTextColor));
418 } 418 }
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc ('k') | chrome/browser/autofill/autofill_dialog_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698