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

Side by Side Diff: chrome/browser/ui/toolbar/toolbar_model_unittest.cc

Issue 12463042: Shows chrome-extension urls and greys out the whole url. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed mac typos and fixed unit test Created 7 years, 8 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/toolbar/toolbar_model.h" 5 #include "chrome/browser/ui/toolbar/toolbar_model.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 { 52 {
53 GURL("view-source:chrome://newtab/"), 53 GURL("view-source:chrome://newtab/"),
54 ASCIIToUTF16("view-source:chrome://newtab"), 54 ASCIIToUTF16("view-source:chrome://newtab"),
55 ASCIIToUTF16("view-source:chrome://newtab"), 55 ASCIIToUTF16("view-source:chrome://newtab"),
56 ASCIIToUTF16("view-source:chrome://newtab"), 56 ASCIIToUTF16("view-source:chrome://newtab"),
57 false, 57 false,
58 true 58 true
59 }, 59 },
60 { 60 {
61 GURL("chrome-extension://monkey/balls.html"), 61 GURL("chrome-extension://monkey/balls.html"),
62 string16(), 62 ASCIIToUTF16("chrome-extension://monkey/balls.html"),
63 string16(), 63 ASCIIToUTF16("chrome-extension://monkey/balls.html"),
64 string16(), 64 ASCIIToUTF16("chrome-extension://monkey/balls.html"),
65 false, 65 false,
66 false 66 true
67 }, 67 },
68 { 68 {
69 GURL("chrome://newtab/"), 69 GURL("chrome://newtab/"),
70 string16(), 70 string16(),
71 string16(), 71 string16(),
72 string16(), 72 string16(),
73 false, 73 false,
74 false 74 false
75 }, 75 },
76 { 76 {
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 "9/11", 298 "9/11",
299 "<nomatch/>", 299 "<nomatch/>",
300 "ac/dc", 300 "ac/dc",
301 "ps/2", 301 "ps/2",
302 }; 302 };
303 303
304 NavigateAndCheckQueries( 304 NavigateAndCheckQueries(
305 std::vector<const char*>(&kQueries[0], 305 std::vector<const char*>(&kQueries[0],
306 &kQueries[arraysize(kQueries)]), true); 306 &kQueries[arraysize(kQueries)]), true);
307 } 307 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/toolbar/toolbar_model_impl.cc ('k') | chrome/browser/ui/views/omnibox/omnibox_view_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698