| OLD | NEW |
| 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 "base/lazy_instance.h" | 5 #include "base/lazy_instance.h" |
| 6 #include "base/location.h" | 6 #include "base/location.h" |
| 7 #include "chrome_frame/external_tab.h" | 7 #include "chrome_frame/external_tab.h" |
| 8 #include "base/task.h" | 8 #include "base/task.h" |
| 9 #include "base/synchronization/waitable_event.h" | 9 #include "base/synchronization/waitable_event.h" |
| 10 #include "chrome/common/automation_messages.h" | 10 #include "chrome/common/automation_messages.h" |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 } | 184 } |
| 185 | 185 |
| 186 void ExternalTabProxy::ConnectToExternalTab(uint64 external_tab_cookie) { | 186 void ExternalTabProxy::ConnectToExternalTab(uint64 external_tab_cookie) { |
| 187 proxy_->ConnectTab(this, m_hWnd, external_tab_cookie); | 187 proxy_->ConnectTab(this, m_hWnd, external_tab_cookie); |
| 188 } | 188 } |
| 189 | 189 |
| 190 void ExternalTabProxy::BlockExternalTab(uint64 cookie) { | 190 void ExternalTabProxy::BlockExternalTab(uint64 cookie) { |
| 191 proxy_->BlockTab(cookie); | 191 proxy_->BlockTab(cookie); |
| 192 } | 192 } |
| 193 | 193 |
| 194 void ExternalTabProxy::SetZoomLevel(PageZoom::Function zoom_level) { | 194 void ExternalTabProxy::SetZoomLevel(content::PageZoom zoom_level) { |
| 195 proxy_->Tab_Zoom(tab_, zoom_level); | 195 proxy_->Tab_Zoom(tab_, zoom_level); |
| 196 } | 196 } |
| 197 | 197 |
| 198 void ExternalTabProxy::NavigateToIndex(int index) { | 198 void ExternalTabProxy::NavigateToIndex(int index) { |
| 199 CHECK(0); | 199 CHECK(0); |
| 200 } | 200 } |
| 201 | 201 |
| 202 void ExternalTabProxy::ForwardMessageFromExternalHost( | 202 void ExternalTabProxy::ForwardMessageFromExternalHost( |
| 203 const std::string& message, const std::string& origin, | 203 const std::string& message, const std::string& origin, |
| 204 const std::string& target) { | 204 const std::string& target) { |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 } | 341 } |
| 342 | 342 |
| 343 void ExternalTabProxy::OnTabClosed() { | 343 void ExternalTabProxy::OnTabClosed() { |
| 344 // TODO(stoyan): | 344 // TODO(stoyan): |
| 345 } | 345 } |
| 346 | 346 |
| 347 void ExternalTabProxy::OnAttachTab( | 347 void ExternalTabProxy::OnAttachTab( |
| 348 const AttachExternalTabParams& attach_params) { | 348 const AttachExternalTabParams& attach_params) { |
| 349 // TODO(stoyan): | 349 // TODO(stoyan): |
| 350 } | 350 } |
| OLD | NEW |