Skip to content
This repository has been archived by the owner on Aug 20, 2020. It is now read-only.

Commit

Permalink
impl: Track upstream API changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagovignatti committed Sep 11, 2013
1 parent 40c0722 commit 2dd781e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions impl/desktop_root_window_host_wayland.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
#include "ui/base/events/event_utils.h"
#include "ui/base/ozone/surface_factory_ozone.h"
#include "ui/gfx/insets.h"
#include "ui/linux_ui/linux_ui.h"
#include "ui/native_theme/native_theme.h"
#include "ui/views/corewm/compound_event_filter.h"
#include "ui/views/corewm/corewm_switches.h"
#include "ui/views/corewm/cursor_manager.h"
#include "ui/views/corewm/focus_controller.h"
#include "ui/views/linux_ui/linux_ui.h"
#include "ui/views/widget/desktop_aura/desktop_dispatcher_client.h"
#include "ui/views/widget/desktop_aura/desktop_focus_rules.h"
#include "ui/views/widget/desktop_aura/desktop_layout_manager.h"
Expand Down Expand Up @@ -57,7 +57,7 @@ DesktopRootWindowHostWayland::~DesktopRootWindowHostWayland() {

// static
ui::NativeTheme* DesktopRootWindowHost::GetNativeTheme(aura::Window* window) {
const ui::LinuxUI* linux_ui = ui::LinuxUI::instance();
const views::LinuxUI* linux_ui = views::LinuxUI::instance();
if (linux_ui) {
ui::NativeTheme* native_theme = linux_ui->GetNativeTheme();
if (native_theme)
Expand Down Expand Up @@ -431,6 +431,10 @@ void DesktopRootWindowHostWayland::SetInactiveRenderingDisabled(
bool disable_inactive) {
}

void DesktopRootWindowHostWayland::OnRootViewLayout() const {
NOTIMPLEMENTED();
}

void DesktopRootWindowHostWayland::OnNativeWidgetFocus() {
NOTIMPLEMENTED();
}
Expand Down
1 change: 1 addition & 0 deletions impl/desktop_root_window_host_wayland.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ class VIEWS_EXPORT DesktopRootWindowHostWayland :
virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE;
virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
virtual void PrepareForShutdown() OVERRIDE;
virtual void OnRootViewLayout() const OVERRIDE;
virtual void OnNativeWidgetFocus() OVERRIDE;
virtual void OnNativeWidgetBlur() OVERRIDE;

Expand Down

0 comments on commit 2dd781e

Please sign in to comment.