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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_mac.mm

Issue 24649002: Clean up a few more unused globals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: thestig comment Created 7 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 | 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 #include "content/browser/renderer_host/render_widget_host_view_mac.h" 5 #include "content/browser/renderer_host/render_widget_host_view_mac.h"
6 6
7 #import <objc/runtime.h> 7 #import <objc/runtime.h>
8 #include <QuartzCore/QuartzCore.h> 8 #include <QuartzCore/QuartzCore.h>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 - (void)windowDidChangeBackingProperties:(NSNotification*)notification; 182 - (void)windowDidChangeBackingProperties:(NSNotification*)notification;
183 - (void)windowChangedGlobalFrame:(NSNotification*)notification; 183 - (void)windowChangedGlobalFrame:(NSNotification*)notification;
184 - (void)drawBackingStore:(BackingStoreMac*)backingStore 184 - (void)drawBackingStore:(BackingStoreMac*)backingStore
185 dirtyRect:(CGRect)dirtyRect 185 dirtyRect:(CGRect)dirtyRect
186 inContext:(CGContextRef)context; 186 inContext:(CGContextRef)context;
187 - (void)updateSoftwareLayerScaleFactor; 187 - (void)updateSoftwareLayerScaleFactor;
188 - (void)checkForPluginImeCancellation; 188 - (void)checkForPluginImeCancellation;
189 - (void)updateTabBackingStoreScaleFactor; 189 - (void)updateTabBackingStoreScaleFactor;
190 @end 190 @end
191 191
192 // NSEvent subtype for scroll gestures events.
193 static const short kIOHIDEventTypeScroll = 6;
194
195 // A window subclass that allows the fullscreen window to become main and gain 192 // A window subclass that allows the fullscreen window to become main and gain
196 // keyboard focus. This is only used for pepper flash. Normal fullscreen is 193 // keyboard focus. This is only used for pepper flash. Normal fullscreen is
197 // handled by the browser. 194 // handled by the browser.
198 @interface PepperFlashFullscreenWindow : UnderlayOpenGLHostingWindow 195 @interface PepperFlashFullscreenWindow : UnderlayOpenGLHostingWindow
199 @end 196 @end
200 197
201 @implementation PepperFlashFullscreenWindow 198 @implementation PepperFlashFullscreenWindow
202 199
203 - (BOOL)canBecomeKeyWindow { 200 - (BOOL)canBecomeKeyWindow {
204 return YES; 201 return YES;
(...skipping 3641 matching lines...) Expand 10 before | Expand all | Expand 10 after
3846 return YES; 3843 return YES;
3847 } 3844 }
3848 3845
3849 - (BOOL)isOpaque { 3846 - (BOOL)isOpaque {
3850 if (renderWidgetHostView_->use_core_animation_) 3847 if (renderWidgetHostView_->use_core_animation_)
3851 return YES; 3848 return YES;
3852 return [super isOpaque]; 3849 return [super isOpaque];
3853 } 3850 }
3854 3851
3855 @end 3852 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698