Add support for favicon scale factor.
[chromium-blink-merge.git] / webkit / support / drt_application_mac.mm
blob9b6a5ea1346e34ebebc779a60ce0ef4e554da7f3
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
3 // found in the LICENSE file.
5 #include "webkit/support/drt_application_mac.h"
7 #include "base/auto_reset.h"
9 @implementation CrDrtApplication
11 - (BOOL)isHandlingSendEvent {
12   return handlingSendEvent_;
15 - (void)sendEvent:(NSEvent*)event {
16   AutoReset<BOOL> scoper(&handlingSendEvent_, YES);
17   [super sendEvent:event];
20 - (void)setHandlingSendEvent:(BOOL)handlingSendEvent {
21   handlingSendEvent_ = handlingSendEvent;
24 @end