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

Side by Side Diff: chrome/test/base/test_tab_strip_model_observer.cc

Issue 19569006: Use a direct include of the message_loop header in chrome/test/, chrome/tools/, chrome/utility/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « chrome/test/base/interactive_test_utils_views.cc ('k') | chrome/test/base/tracing.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/test/base/test_tab_strip_model_observer.h" 5 #include "chrome/test/base/test_tab_strip_model_observer.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "chrome/browser/printing/print_preview_dialog_controller.h" 9 #include "chrome/browser/printing/print_preview_dialog_controller.h"
10 #include "chrome/browser/ui/tabs/tab_strip_model.h" 10 #include "chrome/browser/ui/tabs/tab_strip_model.h"
11 #include "content/public/browser/notification_service.h" 11 #include "content/public/browser/notification_service.h"
12 #include "content/public/browser/notification_source.h" 12 #include "content/public/browser/notification_source.h"
13 #include "content/public/browser/notification_types.h" 13 #include "content/public/browser/notification_types.h"
14 #include "content/public/browser/render_view_host_observer.h" 14 #include "content/public/browser/render_view_host_observer.h"
15 #include "content/public/browser/web_contents.h" 15 #include "content/public/browser/web_contents.h"
16 #include "content/public/test/js_injection_ready_observer.h" 16 #include "content/public/test/js_injection_ready_observer.h"
17 17
18 class TestTabStripModelObserver::RenderViewHostInitializedObserver 18 class TestTabStripModelObserver::RenderViewHostInitializedObserver
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 printing::PrintPreviewDialogController* dialog_controller = 74 printing::PrintPreviewDialogController* dialog_controller =
75 printing::PrintPreviewDialogController::GetInstance(); 75 printing::PrintPreviewDialogController::GetInstance();
76 if (!dialog_controller) 76 if (!dialog_controller)
77 return; 77 return;
78 content::WebContents* preview_dialog = 78 content::WebContents* preview_dialog =
79 dialog_controller->GetPrintPreviewForContents(contents); 79 dialog_controller->GetPrintPreviewForContents(contents);
80 if (!preview_dialog) 80 if (!preview_dialog)
81 return; 81 return;
82 RegisterAsObserver(preview_dialog); 82 RegisterAsObserver(preview_dialog);
83 } 83 }
OLDNEW
« no previous file with comments | « chrome/test/base/interactive_test_utils_views.cc ('k') | chrome/test/base/tracing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698