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

Unified Diff: ui/views/cocoa/bridged_content_view.h

Issue 1393233002: Mac Energy Test Harness/Framework Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Snapshot of scripts for http://crbug.com/391646 Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « run_a_bunch.sh ('k') | ui/views/cocoa/bridged_content_view.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/cocoa/bridged_content_view.h
diff --git a/ui/views/cocoa/bridged_content_view.h b/ui/views/cocoa/bridged_content_view.h
index 9f6fbb505661a5a84985412dbe16f3958c7957e7..eb2e8eff050a8e507855926bfdded201996cbb2f 100644
--- a/ui/views/cocoa/bridged_content_view.h
+++ b/ui/views/cocoa/bridged_content_view.h
@@ -7,6 +7,7 @@
#import <Cocoa/Cocoa.h>
+#import "base/mac/scoped_nsobject.h"
#include "base/strings/string16.h"
#import "ui/base/cocoa/tool_tip_base_view.h"
#import "ui/base/cocoa/tracking_area.h"
@@ -35,8 +36,8 @@ class View;
// A tracking area installed to enable mouseMoved events.
ui::ScopedCrTrackingArea cursorTrackingArea_;
- // Whether the view is reacting to a keyDown event on the view.
- BOOL inKeyDown_;
+ // A keyDown event on the view that it is currently processing.
+ base::scoped_nsobject<NSEvent> inKeyDown_;
// The last tooltip text, used to limit updates.
base::string16 lastTooltipText_;
« no previous file with comments | « run_a_bunch.sh ('k') | ui/views/cocoa/bridged_content_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698