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

Side by Side Diff: trunk/src/chrome/browser/ui/apps/chrome_app_window_delegate.cc

Issue 225103004: Revert 261654 "Move some extension constants out of //chrome." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 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
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 "chrome/browser/ui/apps/chrome_app_window_delegate.h" 5 #include "chrome/browser/ui/apps/chrome_app_window_delegate.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "base/strings/stringprintf.h" 8 #include "base/strings/stringprintf.h"
9 #include "chrome/browser/favicon/favicon_tab_helper.h" 9 #include "chrome/browser/favicon/favicon_tab_helper.h"
10 #include "chrome/browser/file_select_helper.h" 10 #include "chrome/browser/file_select_helper.h"
11 #include "chrome/browser/media/media_capture_devices_dispatcher.h" 11 #include "chrome/browser/media/media_capture_devices_dispatcher.h"
12 #include "chrome/browser/platform_util.h" 12 #include "chrome/browser/platform_util.h"
13 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/browser/shell_integration.h" 14 #include "chrome/browser/shell_integration.h"
15 #include "chrome/browser/ui/browser.h" 15 #include "chrome/browser/ui/browser.h"
16 #include "chrome/browser/ui/browser_dialogs.h" 16 #include "chrome/browser/ui/browser_dialogs.h"
17 #include "chrome/browser/ui/browser_tabstrip.h" 17 #include "chrome/browser/ui/browser_tabstrip.h"
18 #include "chrome/browser/ui/browser_window.h" 18 #include "chrome/browser/ui/browser_window.h"
19 #include "chrome/browser/ui/scoped_tabbed_browser_displayer.h" 19 #include "chrome/browser/ui/scoped_tabbed_browser_displayer.h"
20 #include "chrome/common/render_messages.h" 20 #include "chrome/common/render_messages.h"
21 #include "content/public/browser/browser_context.h" 21 #include "content/public/browser/browser_context.h"
22 #include "content/public/browser/render_view_host.h" 22 #include "content/public/browser/render_view_host.h"
23 #include "content/public/browser/web_contents.h" 23 #include "content/public/browser/web_contents.h"
24 #include "content/public/browser/web_contents_delegate.h" 24 #include "content/public/browser/web_contents_delegate.h"
25 #include "content/public/browser/web_contents_view.h" 25 #include "content/public/browser/web_contents_view.h"
26 #include "extensions/common/constants.h"
27 26
28 #if defined(USE_ASH) 27 #if defined(USE_ASH)
29 #include "ash/shelf/shelf_constants.h" 28 #include "ash/shelf/shelf_constants.h"
30 #endif 29 #endif
31 30
32 #if defined(ENABLE_PRINTING) 31 #if defined(ENABLE_PRINTING)
33 #if defined(ENABLE_FULL_PRINTING) 32 #if defined(ENABLE_FULL_PRINTING)
34 #include "chrome/browser/printing/print_preview_message_handler.h" 33 #include "chrome/browser/printing/print_preview_message_handler.h"
35 #include "chrome/browser/printing/print_view_manager.h" 34 #include "chrome/browser/printing/print_view_manager.h"
36 #else 35 #else
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 if (host) { 239 if (host) {
241 host->Send(new ChromeViewMsg_SetVisuallyDeemphasized( 240 host->Send(new ChromeViewMsg_SetVisuallyDeemphasized(
242 host->GetRoutingID(), blocked)); 241 host->GetRoutingID(), blocked));
243 } 242 }
244 } 243 }
245 244
246 bool ChromeAppWindowDelegate::IsWebContentsVisible( 245 bool ChromeAppWindowDelegate::IsWebContentsVisible(
247 content::WebContents* web_contents) { 246 content::WebContents* web_contents) {
248 return platform_util::IsVisible(web_contents->GetView()->GetNativeView()); 247 return platform_util::IsVisible(web_contents->GetView()->GetNativeView());
249 } 248 }
OLDNEW
« no previous file with comments | « trunk/src/chrome/browser/tab_contents/background_contents.cc ('k') | trunk/src/chrome/browser/ui/browser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698