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

Unified Diff: chrome/browser/debugger/debugger_view.cc

Issue 101026: Change chrome-ui to chrome. I didn't go too far in converting existing string... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/browser_url_handler.cc ('k') | chrome/browser/debugger/devtools_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/debugger/debugger_view.cc
===================================================================
--- chrome/browser/debugger/debugger_view.cc (revision 15342)
+++ chrome/browser/debugger/debugger_view.cc (working copy)
@@ -21,6 +21,7 @@
#include "chrome/browser/views/standard_layout.h"
#include "chrome/browser/views/tab_contents_container_view.h"
#include "chrome/common/gfx/chrome_canvas.h"
+#include "chrome/common/url_constants.h"
#include "chrome/views/grid_layout.h"
#include "chrome/views/controls/scrollbar/native_scroll_bar.h"
#include "chrome/views/controls/scroll_view.h"
@@ -104,7 +105,8 @@
web_container_->SetTabContents(tab_contents_);
tab_contents_->render_view_host()->AllowDOMUIBindings();
- GURL contents("chrome-ui://inspector/debugger.html");
+ GURL contents(std::string(chrome::kChromeUIScheme) +
+ "//inspector/debugger.html");
tab_contents_->controller().LoadURL(contents, GURL(),
PageTransition::START_PAGE);
}
« no previous file with comments | « chrome/browser/browser_url_handler.cc ('k') | chrome/browser/debugger/devtools_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698