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

Side by Side Diff: chrome/browser/plugin_carbon_interpose_mac.cc

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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
« no previous file with comments | « chrome/browser/platform_util_win.cc ('k') | chrome/browser/plugin_download_helper.h » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #if !defined(__LP64__) 5 #if !defined(__LP64__)
6 6
7 #include <Carbon/Carbon.h> 7 #include <Carbon/Carbon.h>
8 8
9 #include "chrome/plugin/plugin_interpose_util_mac.h" 9 #include "chrome/plugin/plugin_interpose_util_mac.h"
10 #include "gfx/rect.h" 10 #include "ui/gfx/rect.h"
11 #include "webkit/plugins/npapi/carbon_plugin_window_tracker_mac.h" 11 #include "webkit/plugins/npapi/carbon_plugin_window_tracker_mac.h"
12 12
13 #pragma GCC diagnostic ignored "-Wdeprecated-declarations" 13 #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
14 14
15 // Returns true if the given window is modal. 15 // Returns true if the given window is modal.
16 static bool IsModalWindow(WindowRef window) { 16 static bool IsModalWindow(WindowRef window) {
17 WindowModality modality = kWindowModalityNone; 17 WindowModality modality = kWindowModalityNone;
18 WindowRef modal_target = NULL; 18 WindowRef modal_target = NULL;
19 OSStatus status = GetWindowModality(window, &modality, &modal_target); 19 OSStatus status = GetWindowModality(window, &modality, &modal_target);
20 return (status == noErr) && (modality != kWindowModalityNone); 20 return (status == noErr) && (modality != kWindowModalityNone);
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 INTERPOSE_FUNCTION(DisposeWindow), 184 INTERPOSE_FUNCTION(DisposeWindow),
185 INTERPOSE_FUNCTION(HideWindow), 185 INTERPOSE_FUNCTION(HideWindow),
186 INTERPOSE_FUNCTION(ReleaseWindow), 186 INTERPOSE_FUNCTION(ReleaseWindow),
187 INTERPOSE_FUNCTION(DisposeDialog), 187 INTERPOSE_FUNCTION(DisposeDialog),
188 INTERPOSE_FUNCTION(FindWindow), 188 INTERPOSE_FUNCTION(FindWindow),
189 INTERPOSE_FUNCTION(SetThemeCursor), 189 INTERPOSE_FUNCTION(SetThemeCursor),
190 INTERPOSE_FUNCTION(SetCursor), 190 INTERPOSE_FUNCTION(SetCursor),
191 }; 191 };
192 192
193 #endif // !__LP64__ 193 #endif // !__LP64__
OLDNEW
« no previous file with comments | « chrome/browser/platform_util_win.cc ('k') | chrome/browser/plugin_download_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698