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

Side by Side Diff: ui/views/widget/native_widget_mac.mm

Issue 307623002: MacViews: Replace NativeWidget::GetEventHandler() with RepostNativeEvent(..) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20140528-MacViews-examples_exe
Patch Set: address comments Created 6 years, 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "ui/views/widget/native_widget_mac.h" 5 #include "ui/views/widget/native_widget_mac.h"
6 6
7 #include <Cocoa/Cocoa.h> 7 #include <Cocoa/Cocoa.h>
8 8
9 #include "ui/gfx/font_list.h" 9 #include "ui/gfx/font_list.h"
10 10
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 348
349 ui::NativeTheme* NativeWidgetMac::GetNativeTheme() const { 349 ui::NativeTheme* NativeWidgetMac::GetNativeTheme() const {
350 NOTIMPLEMENTED(); 350 NOTIMPLEMENTED();
351 return NULL; 351 return NULL;
352 } 352 }
353 353
354 void NativeWidgetMac::OnRootViewLayout() const { 354 void NativeWidgetMac::OnRootViewLayout() const {
355 NOTIMPLEMENTED(); 355 NOTIMPLEMENTED();
356 } 356 }
357 357
358 void NativeWidgetMac::RepostNativeEvent(gfx::NativeEvent native_event) {
359 NOTIMPLEMENTED();
360 }
361
358 //////////////////////////////////////////////////////////////////////////////// 362 ////////////////////////////////////////////////////////////////////////////////
359 // NativeWidgetMac, NativeWidget implementation:
360
361 ui::EventHandler* NativeWidgetMac::GetEventHandler() {
362 return NULL;
363 }
364
365 ////////////////////////////////////////////////////////////////////////////////
366 // Widget, public: 363 // Widget, public:
367 364
368 bool Widget::ConvertRect(const Widget* source, 365 bool Widget::ConvertRect(const Widget* source,
369 const Widget* target, 366 const Widget* target,
370 gfx::Rect* rect) { 367 gfx::Rect* rect) {
371 return false; 368 return false;
372 } 369 }
373 370
374 namespace internal { 371 namespace internal {
375 372
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 } 432 }
436 433
437 // static 434 // static
438 gfx::FontList NativeWidgetPrivate::GetWindowTitleFontList() { 435 gfx::FontList NativeWidgetPrivate::GetWindowTitleFontList() {
439 NOTIMPLEMENTED(); 436 NOTIMPLEMENTED();
440 return gfx::FontList(); 437 return gfx::FontList();
441 } 438 }
442 439
443 } // namespace internal 440 } // namespace internal
444 } // namespace views 441 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698