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

Side by Side Diff: chrome/browser/devtools/browser_list_tabcontents_provider.cc

Issue 12472004: Provide DevToolsHttpHandlerDelegate with an ability to provide additional page info (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Hopefully, cover all delegate implementations Created 7 years, 9 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) 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/devtools/browser_list_tabcontents_provider.h" 5 #include "chrome/browser/devtools/browser_list_tabcontents_provider.h"
6 6
7 #include "base/path_service.h" 7 #include "base/path_service.h"
8 #include "chrome/browser/history/top_sites.h" 8 #include "chrome/browser/history/top_sites.h"
9 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/profiles/profile_manager.h" 10 #include "chrome/browser/profiles/profile_manager.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 } 100 }
101 101
102 content::DevToolsHttpHandlerDelegate::TargetType 102 content::DevToolsHttpHandlerDelegate::TargetType
103 BrowserListTabContentsProvider::GetTargetType(content::RenderViewHost* rvh) { 103 BrowserListTabContentsProvider::GetTargetType(content::RenderViewHost* rvh) {
104 for (TabContentsIterator it; !it.done(); it.Next()) 104 for (TabContentsIterator it; !it.done(); it.Next())
105 if (rvh == it->GetRenderViewHost()) 105 if (rvh == it->GetRenderViewHost())
106 return kTargetTypeTab; 106 return kTargetTypeTab;
107 107
108 return kTargetTypeOther; 108 return kTargetTypeOther;
109 } 109 }
110
111 std::string BrowserListTabContentsProvider::GetViewDescription(
112 content::RenderViewHost*) {
113 return "";
114 }
OLDNEW
« no previous file with comments | « chrome/browser/devtools/browser_list_tabcontents_provider.h ('k') | content/browser/devtools/devtools_http_handler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698