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

Side by Side Diff: chrome/browser/external_tab_container.cc

Issue 39206: NO CODE CHANGE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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
« no previous file with comments | « chrome/browser/extensions/extension.cc ('k') | chrome/browser/history/download_database.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/external_tab_container.h" 5 #include "chrome/browser/external_tab_container.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/win_util.h" 8 #include "base/win_util.h"
9 #include "chrome/browser/automation/automation_provider.h" 9 #include "chrome/browser/automation/automation_provider.h"
10 #include "chrome/browser/profile.h" 10 #include "chrome/browser/profile.h"
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 } 204 }
205 205
206 void ExternalTabContainer::NavigationStateChanged(const TabContents* source, 206 void ExternalTabContainer::NavigationStateChanged(const TabContents* source,
207 unsigned changed_flags) { 207 unsigned changed_flags) {
208 if (automation_) { 208 if (automation_) {
209 automation_->Send( 209 automation_->Send(
210 new AutomationMsg_NavigationStateChanged(0, changed_flags)); 210 new AutomationMsg_NavigationStateChanged(0, changed_flags));
211 } 211 }
212 } 212 }
213 213
214 void ExternalTabContainer::ReplaceContents(TabContents* source, TabContents* new _contents) { 214 void ExternalTabContainer::ReplaceContents(TabContents* source,
215 TabContents* new_contents) {
215 } 216 }
216 217
217 void ExternalTabContainer::AddNewContents(TabContents* source, 218 void ExternalTabContainer::AddNewContents(TabContents* source,
218 TabContents* new_contents, 219 TabContents* new_contents,
219 WindowOpenDisposition disposition, 220 WindowOpenDisposition disposition,
220 const gfx::Rect& initial_pos, 221 const gfx::Rect& initial_pos,
221 bool user_gesture) { 222 bool user_gesture) {
222 } 223 }
223 224
224 void ExternalTabContainer::ActivateContents(TabContents* contents) { 225 void ExternalTabContainer::ActivateContents(TabContents* contents) {
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 if (!::IsWindow(parent_window)) { 414 if (!::IsWindow(parent_window)) {
414 return NULL; 415 return NULL;
415 } 416 }
416 if (!IsExternalTabContainer(parent_window)) { 417 if (!IsExternalTabContainer(parent_window)) {
417 return NULL; 418 return NULL;
418 } 419 }
419 ExternalTabContainer* container = reinterpret_cast<ExternalTabContainer*>( 420 ExternalTabContainer* container = reinterpret_cast<ExternalTabContainer*>(
420 GetProp(parent_window, kWindowObjectKey)); 421 GetProp(parent_window, kWindowObjectKey));
421 return container; 422 return container;
422 } 423 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension.cc ('k') | chrome/browser/history/download_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698