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

Side by Side Diff: chrome/browser/automation/automation_provider.h

Issue 3014001: ChromeFrame tabs would hang at times while closing. This would randomly occur... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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 | « no previous file | chrome/browser/automation/automation_provider.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // This implements a browser-side endpoint for UI automation activity. 5 // This implements a browser-side endpoint for UI automation activity.
6 // The client-side endpoint is implemented by AutomationProxy. 6 // The client-side endpoint is implemented by AutomationProxy.
7 // The entire lifetime of this object should be contained within that of 7 // The entire lifetime of this object should be contained within that of
8 // the BrowserProcess, and in particular the NotificationService that's 8 // the BrowserProcess, and in particular the NotificationService that's
9 // hung off of it. 9 // hung off of it.
10 10
(...skipping 811 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 const std::string& target); 822 const std::string& target);
823 823
824 // Determine if the message from the external host represents a browser 824 // Determine if the message from the external host represents a browser
825 // event, and if so dispatch it. 825 // event, and if so dispatch it.
826 bool InterceptBrowserEventMessageFromExternalHost(const std::string& message, 826 bool InterceptBrowserEventMessageFromExternalHost(const std::string& message,
827 const std::string& origin, 827 const std::string& origin,
828 const std::string& target); 828 const std::string& target);
829 829
830 void OnBrowserMoved(int handle); 830 void OnBrowserMoved(int handle);
831 831
832 void OnRunUnloadHandlers(int handle, gfx::NativeWindow notification_window,
833 int notification_message);
834
832 ExternalTabContainer* GetExternalTabForHandle(int handle); 835 ExternalTabContainer* GetExternalTabForHandle(int handle);
833 #endif // defined(OS_WIN) 836 #endif // defined(OS_WIN)
834 837
835 typedef ObserverList<NotificationObserver> NotificationObserverList; 838 typedef ObserverList<NotificationObserver> NotificationObserverList;
836 typedef std::map<NavigationController*, LoginHandler*> LoginHandlerMap; 839 typedef std::map<NavigationController*, LoginHandler*> LoginHandlerMap;
837 typedef std::map<int, ExtensionPortContainer*> PortContainerMap; 840 typedef std::map<int, ExtensionPortContainer*> PortContainerMap;
838 841
839 scoped_ptr<IPC::ChannelProxy> channel_; 842 scoped_ptr<IPC::ChannelProxy> channel_;
840 scoped_ptr<InitialLoadObserver> initial_load_observer_; 843 scoped_ptr<InitialLoadObserver> initial_load_observer_;
841 scoped_ptr<NotificationObserver> new_tab_ui_load_observer_; 844 scoped_ptr<NotificationObserver> new_tab_ui_load_observer_;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
907 virtual void Observe(NotificationType type, 910 virtual void Observe(NotificationType type,
908 const NotificationSource& source, 911 const NotificationSource& source,
909 const NotificationDetails& details); 912 const NotificationDetails& details);
910 913
911 void OnRemoveProvider(); // Called via PostTask 914 void OnRemoveProvider(); // Called via PostTask
912 915
913 NotificationRegistrar registrar_; 916 NotificationRegistrar registrar_;
914 }; 917 };
915 918
916 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ 919 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/automation/automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698