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

Side by Side Diff: athena/extensions/chrome/athena_chrome_app_delegate.cc

Issue 657463002: Remove include of browser.h in Athena (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "athena/extensions/chrome/athena_chrome_app_delegate.h" 5 #include "athena/extensions/chrome/athena_chrome_app_delegate.h"
6 6
7 #include "chrome/browser/extensions/chrome_extension_web_contents_observer.h" 7 #include "chrome/browser/extensions/chrome_extension_web_contents_observer.h"
8 #include "chrome/browser/favicon/favicon_tab_helper.h" 8 #include "chrome/browser/favicon/favicon_tab_helper.h"
9 #include "chrome/browser/file_select_helper.h" 9 #include "chrome/browser/file_select_helper.h"
10 #include "chrome/browser/media/media_capture_devices_dispatcher.h" 10 #include "chrome/browser/media/media_capture_devices_dispatcher.h"
11 #include "chrome/browser/platform_util.h" 11 #include "chrome/browser/platform_util.h"
12 #include "chrome/browser/ui/browser.h"
13 #include "chrome/browser/ui/browser_dialogs.h" 12 #include "chrome/browser/ui/browser_dialogs.h"
14 #include "chrome/common/extensions/chrome_extension_messages.h" 13 #include "chrome/common/extensions/chrome_extension_messages.h"
15 #include "content/public/browser/render_view_host.h" 14 #include "content/public/browser/render_view_host.h"
16 #include "content/public/browser/web_contents.h" 15 #include "content/public/browser/web_contents.h"
17 16
18 #if defined(ENABLE_PRINTING) 17 #if defined(ENABLE_PRINTING)
19 #if defined(ENABLE_FULL_PRINTING) 18 #if defined(ENABLE_FULL_PRINTING)
20 #include "chrome/browser/printing/print_preview_message_handler.h" 19 #include "chrome/browser/printing/print_preview_message_handler.h"
21 #include "chrome/browser/printing/print_view_manager.h" 20 #include "chrome/browser/printing/print_view_manager.h"
22 #else 21 #else
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 bool blocked) { 83 bool blocked) {
85 // RenderViewHost may be NULL during shutdown. 84 // RenderViewHost may be NULL during shutdown.
86 content::RenderViewHost* host = web_contents->GetRenderViewHost(); 85 content::RenderViewHost* host = web_contents->GetRenderViewHost();
87 if (host) { 86 if (host) {
88 host->Send(new ChromeViewMsg_SetVisuallyDeemphasized(host->GetRoutingID(), 87 host->Send(new ChromeViewMsg_SetVisuallyDeemphasized(host->GetRoutingID(),
89 blocked)); 88 blocked));
90 } 89 }
91 } 90 }
92 91
93 } // namespace athena 92 } // namespace athena
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698