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

Side by Side Diff: chrome/browser/ui/panels/base_panel_browser_test.cc

Issue 8276022: Move url_constants.h to content/public/common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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
« no previous file with comments | « chrome/browser/ui/omnibox/omnibox_view.h ('k') | chrome/browser/ui/panels/panel_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/panels/base_panel_browser_test.h" 5 #include "chrome/browser/ui/panels/base_panel_browser_test.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/mac/scoped_nsautorelease_pool.h" 8 #include "base/mac/scoped_nsautorelease_pool.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "chrome/browser/extensions/extension_service.h" 10 #include "chrome/browser/extensions/extension_service.h"
11 #include "chrome/browser/profiles/profile.h" 11 #include "chrome/browser/profiles/profile.h"
12 #include "chrome/browser/ui/browser.h" 12 #include "chrome/browser/ui/browser.h"
13 #include "chrome/browser/ui/panels/native_panel.h" 13 #include "chrome/browser/ui/panels/native_panel.h"
14 #include "chrome/browser/ui/panels/panel_manager.h" 14 #include "chrome/browser/ui/panels/panel_manager.h"
15 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 15 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
16 #include "chrome/common/chrome_switches.h" 16 #include "chrome/common/chrome_switches.h"
17 #include "chrome/test/base/ui_test_utils.h" 17 #include "chrome/test/base/ui_test_utils.h"
18 #include "content/browser/tab_contents/test_tab_contents.h" 18 #include "content/browser/tab_contents/test_tab_contents.h"
19 #include "content/common/url_constants.h" 19 #include "content/public/common/url_constants.h"
20 20
21 #if defined(OS_MACOSX) 21 #if defined(OS_MACOSX)
22 #include "chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h" 22 #include "chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h"
23 #endif 23 #endif
24 24
25 namespace { 25 namespace {
26 26
27 const int kTestingWorkAreaWidth = 800; 27 const int kTestingWorkAreaWidth = 800;
28 const int kTestingWorkAreaHeight = 600; 28 const int kTestingWorkAreaHeight = 600;
29 const int kDefaultAutoHidingDesktopBarThickness = 40; 29 const int kDefaultAutoHidingDesktopBarThickness = 40;
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 std::string error; 298 std::string error;
299 scoped_refptr<Extension> extension = Extension::Create( 299 scoped_refptr<Extension> extension = Extension::Create(
300 full_path, location, *input_value, 300 full_path, location, *input_value,
301 Extension::STRICT_ERROR_CHECKS, &error); 301 Extension::STRICT_ERROR_CHECKS, &error);
302 EXPECT_TRUE(extension.get()); 302 EXPECT_TRUE(extension.get());
303 EXPECT_STREQ("", error.c_str()); 303 EXPECT_STREQ("", error.c_str());
304 browser()->GetProfile()->GetExtensionService()->OnLoadSingleExtension( 304 browser()->GetProfile()->GetExtensionService()->OnLoadSingleExtension(
305 extension.get(), false); 305 extension.get(), false);
306 return extension; 306 return extension;
307 } 307 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/omnibox/omnibox_view.h ('k') | chrome/browser/ui/panels/panel_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698