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

Side by Side Diff: chrome/browser/automation/automation_provider_observers.cc

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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
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 #include "chrome/browser/automation/automation_provider_observers.h" 5 #include "chrome/browser/automation/automation_provider_observers.h"
6 6
7 #include <deque> 7 #include <deque>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 12 matching lines...) Expand all
23 #include "chrome/browser/browser_process.h" 23 #include "chrome/browser/browser_process.h"
24 #include "chrome/browser/dom_operation_notification_details.h" 24 #include "chrome/browser/dom_operation_notification_details.h"
25 #include "chrome/browser/dom_ui/most_visited_handler.h" 25 #include "chrome/browser/dom_ui/most_visited_handler.h"
26 #include "chrome/browser/dom_ui/new_tab_ui.h" 26 #include "chrome/browser/dom_ui/new_tab_ui.h"
27 #include "chrome/browser/download/download_item.h" 27 #include "chrome/browser/download/download_item.h"
28 #include "chrome/browser/download/save_package.h" 28 #include "chrome/browser/download/save_package.h"
29 #include "chrome/browser/extensions/extension_host.h" 29 #include "chrome/browser/extensions/extension_host.h"
30 #include "chrome/browser/extensions/extension_process_manager.h" 30 #include "chrome/browser/extensions/extension_process_manager.h"
31 #include "chrome/browser/extensions/extension_updater.h" 31 #include "chrome/browser/extensions/extension_updater.h"
32 #include "chrome/browser/history/top_sites.h" 32 #include "chrome/browser/history/top_sites.h"
33 #include "chrome/browser/login_prompt.h"
34 #include "chrome/browser/metrics/metric_event_duration_details.h" 33 #include "chrome/browser/metrics/metric_event_duration_details.h"
35 #include "chrome/browser/notifications/balloon.h" 34 #include "chrome/browser/notifications/balloon.h"
36 #include "chrome/browser/notifications/balloon_collection.h" 35 #include "chrome/browser/notifications/balloon_collection.h"
37 #include "chrome/browser/printing/print_job.h" 36 #include "chrome/browser/printing/print_job.h"
38 #include "chrome/browser/profile.h" 37 #include "chrome/browser/profiles/profile.h"
39 #include "chrome/browser/renderer_host/render_view_host.h" 38 #include "chrome/browser/renderer_host/render_view_host.h"
40 #include "chrome/browser/search_engines/template_url_model.h" 39 #include "chrome/browser/search_engines/template_url_model.h"
41 #include "chrome/browser/sessions/tab_restore_service.h" 40 #include "chrome/browser/sessions/tab_restore_service.h"
42 #include "chrome/browser/tab_contents/navigation_controller.h" 41 #include "chrome/browser/tab_contents/navigation_controller.h"
43 #include "chrome/browser/tab_contents/tab_contents.h" 42 #include "chrome/browser/tab_contents/tab_contents.h"
44 #include "chrome/browser/tab_contents/thumbnail_generator.h" 43 #include "chrome/browser/tab_contents/thumbnail_generator.h"
45 #include "chrome/browser/translate/page_translated_details.h" 44 #include "chrome/browser/translate/page_translated_details.h"
46 #include "chrome/browser/translate/translate_infobar_delegate.h" 45 #include "chrome/browser/translate/translate_infobar_delegate.h"
47 #include "chrome/browser/ui/browser.h" 46 #include "chrome/browser/ui/browser.h"
47 #include "chrome/browser/ui/login/login_prompt.h"
48 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 48 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
49 #include "chrome/common/automation_constants.h" 49 #include "chrome/common/automation_constants.h"
50 #include "chrome/common/extensions/extension.h" 50 #include "chrome/common/extensions/extension.h"
51 #include "chrome/common/notification_service.h" 51 #include "chrome/common/notification_service.h"
52 #include "gfx/codec/png_codec.h" 52 #include "gfx/codec/png_codec.h"
53 #include "gfx/rect.h" 53 #include "gfx/rect.h"
54 #include "googleurl/src/gurl.h" 54 #include "googleurl/src/gurl.h"
55 55
56 #if defined(OS_CHROMEOS) 56 #if defined(OS_CHROMEOS)
57 #include "chrome/browser/chromeos/login/authentication_notification_details.h" 57 #include "chrome/browser/chromeos/login/authentication_notification_details.h"
(...skipping 1470 matching lines...) Expand 10 before | Expand all | Expand 10 after
1528 this, &OnNotificationBalloonCountObserver::OnBalloonCollectionChanged)); 1528 this, &OnNotificationBalloonCountObserver::OnBalloonCollectionChanged));
1529 } 1529 }
1530 1530
1531 void OnNotificationBalloonCountObserver::OnBalloonCollectionChanged() { 1531 void OnNotificationBalloonCountObserver::OnBalloonCollectionChanged() {
1532 if (static_cast<int>(collection_->GetActiveBalloons().size()) == count_) { 1532 if (static_cast<int>(collection_->GetActiveBalloons().size()) == count_) {
1533 collection_->set_on_collection_changed_callback(NULL); 1533 collection_->set_on_collection_changed_callback(NULL);
1534 reply_.SendSuccess(NULL); 1534 reply_.SendSuccess(NULL);
1535 delete this; 1535 delete this;
1536 } 1536 }
1537 } 1537 }
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_provider.cc ('k') | chrome/browser/automation/automation_provider_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698