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

Unified Diff: ui/views/controls/menu/display_change_listener_mac.cc

Issue 267593005: Refactor menu controller to isolate aura dependency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More fixes for sky Created 6 years, 7 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 | « no previous file | ui/views/controls/menu/menu_config_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/menu/display_change_listener_mac.cc
diff --git a/base/critical_closure_internal_ios.mm b/ui/views/controls/menu/display_change_listener_mac.cc
similarity index 53%
copy from base/critical_closure_internal_ios.mm
copy to ui/views/controls/menu/display_change_listener_mac.cc
index b8fec141b2198e53c2b8e2d4826a1fba7edc0212..d9dfeda5cfd8b2e303e7f6e0ce8c218d1ab1819b 100644
--- a/base/critical_closure_internal_ios.mm
+++ b/ui/views/controls/menu/display_change_listener_mac.cc
@@ -2,16 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "base/critical_closure.h"
+#include "ui/views/controls/menu/menu_runner.h"
-#import <UIKit/UIKit.h>
-
-namespace base {
+namespace views {
namespace internal {
-bool IsMultiTaskingSupported() {
- return [[UIDevice currentDevice] isMultitaskingSupported];
+// static
+DisplayChangeListener* DisplayChangeListener::Create(Widget*, MenuRunner*) {
+ return NULL;
}
} // namespace internal
-} // namespace base
+} // namespace views
« no previous file with comments | « no previous file | ui/views/controls/menu/menu_config_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698