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

Unified Diff: chrome/browser/automation/automation_provider_json.h

Issue 9085006: Replace Browser::GetTabContentsAt with GetWebContentsAt and update all callers. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac yet again Created 8 years, 12 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 | « no previous file | chrome/browser/automation/automation_provider_json.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/automation_provider_json.h
===================================================================
--- chrome/browser/automation/automation_provider_json.h (revision 116244)
+++ chrome/browser/automation/automation_provider_json.h (working copy)
@@ -19,13 +19,16 @@
class Extension;
class Profile;
class RenderViewHost;
-class TabContents;
namespace base {
class DictionaryValue;
class Value;
}
+namespace content {
+class WebContents;
+}
+
namespace IPC {
class Message;
}
@@ -71,7 +74,7 @@
// and a key 'tab_index' which refers to the index of the tab in that browser.
// Returns true on success and sets |tab|. Otherwise, |error| will be set.
bool GetTabFromJSONArgs(base::DictionaryValue* args,
- TabContents** tab,
+ content::WebContents** tab,
std::string* error) WARN_UNUSED_RESULT;
// Gets the browser and tab specified by the given dictionary |args|. |args|
@@ -81,7 +84,7 @@
// will be set.
bool GetBrowserAndTabFromJSONArgs(base::DictionaryValue* args,
Browser** browser,
- TabContents** tab,
+ content::WebContents** tab,
std::string* error) WARN_UNUSED_RESULT;
// Gets an automation ID from the given value in the given dicitionary |args|.
« no previous file with comments | « no previous file | chrome/browser/automation/automation_provider_json.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698