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

Side by Side Diff: chrome/browser/ui/cocoa/browser_window_controller_private.mm

Issue 9420007: Move RenderWidgetHostView into content namespace. Fix include paths. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux_chromeos_gtk build issue not caught by trybots. Created 8 years, 10 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 (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 #import "chrome/browser/ui/cocoa/browser_window_controller_private.h" 5 #import "chrome/browser/ui/cocoa/browser_window_controller_private.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #import "base/memory/scoped_nsobject.h" 10 #import "base/memory/scoped_nsobject.h"
(...skipping 12 matching lines...) Expand all
23 #import "chrome/browser/ui/cocoa/fullscreen_window.h" 23 #import "chrome/browser/ui/cocoa/fullscreen_window.h"
24 #import "chrome/browser/ui/cocoa/infobars/infobar_container_controller.h" 24 #import "chrome/browser/ui/cocoa/infobars/infobar_container_controller.h"
25 #import "chrome/browser/ui/cocoa/presentation_mode_controller.h" 25 #import "chrome/browser/ui/cocoa/presentation_mode_controller.h"
26 #import "chrome/browser/ui/cocoa/status_bubble_mac.h" 26 #import "chrome/browser/ui/cocoa/status_bubble_mac.h"
27 #import "chrome/browser/ui/cocoa/tab_contents/previewable_contents_controller.h" 27 #import "chrome/browser/ui/cocoa/tab_contents/previewable_contents_controller.h"
28 #import "chrome/browser/ui/cocoa/tabs/tab_strip_controller.h" 28 #import "chrome/browser/ui/cocoa/tabs/tab_strip_controller.h"
29 #import "chrome/browser/ui/cocoa/tabs/tab_strip_view.h" 29 #import "chrome/browser/ui/cocoa/tabs/tab_strip_view.h"
30 #import "chrome/browser/ui/cocoa/toolbar/toolbar_controller.h" 30 #import "chrome/browser/ui/cocoa/toolbar/toolbar_controller.h"
31 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 31 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
32 #include "chrome/common/pref_names.h" 32 #include "chrome/common/pref_names.h"
33 #include "content/browser/renderer_host/render_widget_host_view.h" 33 #include "content/public/browser/render_widget_host_view.h"
34 #include "content/public/browser/web_contents.h" 34 #include "content/public/browser/web_contents.h"
35 #include "content/public/browser/web_contents_view.h" 35 #include "content/public/browser/web_contents_view.h"
36 #import "ui/base/cocoa/focus_tracker.h" 36 #import "ui/base/cocoa/focus_tracker.h"
37 #include "ui/base/ui_base_types.h" 37 #include "ui/base/ui_base_types.h"
38 38
39 using content::RenderWidgetHostView;
39 using content::WebContents; 40 using content::WebContents;
40 41
41 // Forward-declare symbols that are part of the 10.6 SDK. 42 // Forward-declare symbols that are part of the 10.6 SDK.
42 #if !defined(MAC_OS_X_VERSION_10_6) || \ 43 #if !defined(MAC_OS_X_VERSION_10_6) || \
43 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_6 44 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_6
44 45
45 enum { 46 enum {
46 NSApplicationPresentationDefault = 0, 47 NSApplicationPresentationDefault = 0,
47 NSApplicationPresentationAutoHideDock = (1 << 0), 48 NSApplicationPresentationAutoHideDock = (1 << 0),
48 NSApplicationPresentationHideDock = (1 << 1), 49 NSApplicationPresentationHideDock = (1 << 1),
(...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after
905 - (void)disableBarVisibilityUpdates { 906 - (void)disableBarVisibilityUpdates {
906 // Early escape if there's nothing to do. 907 // Early escape if there's nothing to do.
907 if (!barVisibilityUpdatesEnabled_) 908 if (!barVisibilityUpdatesEnabled_)
908 return; 909 return;
909 910
910 barVisibilityUpdatesEnabled_ = NO; 911 barVisibilityUpdatesEnabled_ = NO;
911 [presentationModeController_ cancelAnimationAndTimers]; 912 [presentationModeController_ cancelAnimationAndTimers];
912 } 913 }
913 914
914 @end // @implementation BrowserWindowController(Private) 915 @end // @implementation BrowserWindowController(Private)
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_controller.mm ('k') | chrome/browser/ui/cocoa/extensions/extension_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698