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

Unified Diff: chrome/test/automation/automation_proxy.cc

Issue 12220101: Minimal Chrome Frame with Aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed inclusion of web_contents_view.h from automation_provider_win.h. see patch set 5 for trybot… Created 7 years, 10 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
Index: chrome/test/automation/automation_proxy.cc
diff --git a/chrome/test/automation/automation_proxy.cc b/chrome/test/automation/automation_proxy.cc
index 8371d74f1d90be434a2d969712d70787d30a44d8..8a0ed365d6905cd0d8f777562dfa2cc25d6628cc 100644
--- a/chrome/test/automation/automation_proxy.cc
+++ b/chrome/test/automation/automation_proxy.cc
@@ -376,31 +376,6 @@ bool AutomationProxy::OpenNewBrowserWindow(Browser::Type type, bool show) {
show));
}
-scoped_refptr<TabProxy> AutomationProxy::CreateExternalTab(
- const ExternalTabSettings& settings,
- gfx::NativeWindow* external_tab_container,
- gfx::NativeWindow* tab) {
- int handle = 0;
- int session_id = 0;
- bool succeeded =
- Send(new AutomationMsg_CreateExternalTab(settings,
- external_tab_container,
- tab,
- &handle,
- &session_id));
- if (!succeeded) {
- return NULL;
- }
-
-#if defined(OS_WIN) && !defined(USE_AURA)
- DCHECK(IsWindow(*external_tab_container));
-#else // defined(OS_WIN)
- DCHECK(*external_tab_container);
-#endif // defined(OS_WIN)
- DCHECK(tracker_->GetResource(handle) == NULL);
- return new TabProxy(this, tracker_.get(), handle);
-}
-
template <class T> scoped_refptr<T> AutomationProxy::ProxyObjectFromHandle(
int handle) {
if (!handle)

Powered by Google App Engine
This is Rietveld 408576698