summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorben <ben@chromium.org>2015-11-03 22:29:49 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-04 06:30:30 +0000
commitd10a7c44563fad191a45ddbd35344170f1559dcd (patch)
tree30cad71b3beed16a512489da53da61798fa0c234 /ui
parent94257fe52d80f05b08e1694667182b42f6ec8fd2 (diff)
downloadchromium_src-d10a7c44563fad191a45ddbd35344170f1559dcd.zip
chromium_src-d10a7c44563fad191a45ddbd35344170f1559dcd.tar.gz
chromium_src-d10a7c44563fad191a45ddbd35344170f1559dcd.tar.bz2
Disable notimplementeds in a few files.
TBR=sky@chromium.org BUG=none Review URL: https://codereview.chromium.org/1407383009 Cr-Commit-Position: refs/heads/master@{#357772}
Diffstat (limited to 'ui')
-rw-r--r--ui/mojo/init/screen_mojo.cc6
-rw-r--r--ui/views/mus/native_widget_mus.cc98
-rw-r--r--ui/views/mus/surface_context_factory.cc14
-rw-r--r--ui/views/mus/window_tree_host_mus.cc10
4 files changed, 64 insertions, 64 deletions
diff --git a/ui/mojo/init/screen_mojo.cc b/ui/mojo/init/screen_mojo.cc
index 2590b6a..8839eff 100644
--- a/ui/mojo/init/screen_mojo.cc
+++ b/ui/mojo/init/screen_mojo.cc
@@ -13,17 +13,17 @@ ScreenMojo::ScreenMojo(const std::vector<gfx::Display>& displays)
ScreenMojo::~ScreenMojo() {}
gfx::Point ScreenMojo::GetCursorScreenPoint() {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
return gfx::Point();
}
gfx::NativeWindow ScreenMojo::GetWindowUnderCursor() {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
return nullptr;
}
gfx::NativeWindow ScreenMojo::GetWindowAtScreenPoint(const gfx::Point& point) {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
return nullptr;
}
diff --git a/ui/views/mus/native_widget_mus.cc b/ui/views/mus/native_widget_mus.cc
index 2b09db9..b035a18 100644
--- a/ui/views/mus/native_widget_mus.cc
+++ b/ui/views/mus/native_widget_mus.cc
@@ -120,22 +120,22 @@ void NativeWidgetMus::InitNativeWidget(const Widget::InitParams& params) {
}
NonClientFrameView* NativeWidgetMus::CreateNonClientFrameView() {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
return nullptr;
}
bool NativeWidgetMus::ShouldUseNativeFrame() const {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
return false;
}
bool NativeWidgetMus::ShouldWindowContentsBeTransparent() const {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
return true;
}
void NativeWidgetMus::FrameTypeChanged() {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
Widget* NativeWidgetMus::GetWidget() {
@@ -143,7 +143,7 @@ Widget* NativeWidgetMus::GetWidget() {
}
const Widget* NativeWidgetMus::GetWidget() const {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
return native_widget_delegate_->AsWidget();
}
@@ -168,26 +168,26 @@ const ui::Layer* NativeWidgetMus::GetLayer() const {
}
void NativeWidgetMus::ReorderNativeViews() {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void NativeWidgetMus::ViewRemoved(View* view) {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void NativeWidgetMus::SetNativeWindowProperty(const char* name, void* value) {
// TODO(beng): push properties to mus::Window.
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void* NativeWidgetMus::GetNativeWindowProperty(const char* name) const {
// TODO(beng): pull properties to mus::Window.
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
return nullptr;
}
TooltipManager* NativeWidgetMus::GetTooltipManager() const {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
return nullptr;
}
@@ -215,36 +215,36 @@ void NativeWidgetMus::CenterWindow(const gfx::Size& size) {
void NativeWidgetMus::GetWindowPlacement(
gfx::Rect* bounds,
ui::WindowShowState* maximized) const {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
bool NativeWidgetMus::SetWindowTitle(const base::string16& title) {
// TODO(beng): push title to window manager.
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
return false;
}
void NativeWidgetMus::SetWindowIcons(const gfx::ImageSkia& window_icon,
const gfx::ImageSkia& app_icon) {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void NativeWidgetMus::InitModalType(ui::ModalType modal_type) {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
gfx::Rect NativeWidgetMus::GetWindowBoundsInScreen() const {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
return gfx::Rect();
}
gfx::Rect NativeWidgetMus::GetClientAreaBoundsInScreen() const {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
return gfx::Rect();
}
gfx::Rect NativeWidgetMus::GetRestoredBounds() const {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
return gfx::Rect();
}
@@ -257,27 +257,27 @@ void NativeWidgetMus::SetSize(const gfx::Size& size) {
}
void NativeWidgetMus::StackAbove(gfx::NativeView native_view) {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void NativeWidgetMus::StackAtTop() {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void NativeWidgetMus::StackBelow(gfx::NativeView native_view) {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void NativeWidgetMus::SetShape(SkRegion* shape) {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void NativeWidgetMus::Close() {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void NativeWidgetMus::CloseNow() {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void NativeWidgetMus::Show() {
@@ -291,7 +291,7 @@ void NativeWidgetMus::Hide() {
void NativeWidgetMus::ShowMaximizedWithBounds(
const gfx::Rect& restored_bounds) {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void NativeWidgetMus::ShowWithWindowState(ui::WindowShowState state) {
@@ -300,34 +300,34 @@ void NativeWidgetMus::ShowWithWindowState(ui::WindowShowState state) {
}
bool NativeWidgetMus::IsVisible() const {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
return true;
}
void NativeWidgetMus::Activate() {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void NativeWidgetMus::Deactivate() {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
bool NativeWidgetMus::IsActive() const {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
return true;
}
void NativeWidgetMus::SetAlwaysOnTop(bool always_on_top) {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
bool NativeWidgetMus::IsAlwaysOnTop() const {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
return false;
}
void NativeWidgetMus::SetVisibleOnAllWorkspaces(bool always_visible) {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void NativeWidgetMus::Maximize() {
@@ -364,15 +364,15 @@ bool NativeWidgetMus::IsFullscreen() const {
}
void NativeWidgetMus::SetOpacity(unsigned char opacity) {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void NativeWidgetMus::SetUseDragFrame(bool use_drag_frame) {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void NativeWidgetMus::FlashFrame(bool flash_frame) {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void NativeWidgetMus::RunShellDrag(
@@ -381,28 +381,28 @@ void NativeWidgetMus::RunShellDrag(
const gfx::Point& location,
int operation,
ui::DragDropTypes::DragEventSource source) {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void NativeWidgetMus::SchedulePaintInRect(const gfx::Rect& rect) {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void NativeWidgetMus::SetCursor(gfx::NativeCursor cursor) {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
bool NativeWidgetMus::IsMouseEventsEnabled() const {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
return true;
}
void NativeWidgetMus::ClearNativeFocus() {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
gfx::Rect NativeWidgetMus::GetWorkAreaBoundsInScreen() const {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
return gfx::Rect();
}
@@ -410,26 +410,26 @@ Widget::MoveLoopResult NativeWidgetMus::RunMoveLoop(
const gfx::Vector2d& drag_offset,
Widget::MoveLoopSource source,
Widget::MoveLoopEscapeBehavior escape_behavior) {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
return Widget::MOVE_LOOP_CANCELED;
}
void NativeWidgetMus::EndMoveLoop() {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void NativeWidgetMus::SetVisibilityChangedAnimationsEnabled(bool value) {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void NativeWidgetMus::SetVisibilityAnimationDuration(
const base::TimeDelta& duration) {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void NativeWidgetMus::SetVisibilityAnimationTransition(
Widget::VisibilityTransition transition) {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
ui::NativeTheme* NativeWidgetMus::GetNativeTheme() const {
@@ -437,20 +437,20 @@ ui::NativeTheme* NativeWidgetMus::GetNativeTheme() const {
}
void NativeWidgetMus::OnRootViewLayout() {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
bool NativeWidgetMus::IsTranslucentWindowOpacitySupported() const {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
return true;
}
void NativeWidgetMus::OnSizeConstraintsChanged() {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void NativeWidgetMus::RepostNativeEvent(gfx::NativeEvent native_event) {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
////////////////////////////////////////////////////////////////////////////////
diff --git a/ui/views/mus/surface_context_factory.cc b/ui/views/mus/surface_context_factory.cc
index 17ee9f4..298f1fd 100644
--- a/ui/views/mus/surface_context_factory.cc
+++ b/ui/views/mus/surface_context_factory.cc
@@ -36,29 +36,29 @@ SurfaceContextFactory::~SurfaceContextFactory() {}
void SurfaceContextFactory::CreateOutputSurface(
base::WeakPtr<ui::Compositor> compositor) {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
compositor->SetOutputSurface(surface_binding_.CreateOutputSurface());
}
scoped_ptr<ui::Reflector> SurfaceContextFactory::CreateReflector(
ui::Compositor* mirroed_compositor,
ui::Layer* mirroring_layer) {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
return make_scoped_ptr(new FakeReflector);
}
void SurfaceContextFactory::RemoveReflector(ui::Reflector* reflector) {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
scoped_refptr<cc::ContextProvider>
SurfaceContextFactory::SharedMainThreadContextProvider() {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
return nullptr;
}
void SurfaceContextFactory::RemoveCompositor(ui::Compositor* compositor) {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
bool SurfaceContextFactory::DoesCreateTestContexts() {
@@ -72,7 +72,7 @@ uint32 SurfaceContextFactory::GetImageTextureTarget(gfx::BufferFormat format,
}
cc::SharedBitmapManager* SurfaceContextFactory::GetSharedBitmapManager() {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
return nullptr;
}
@@ -93,7 +93,7 @@ SurfaceContextFactory::CreateSurfaceIdAllocator() {
void SurfaceContextFactory::ResizeDisplay(ui::Compositor* compositor,
const gfx::Size& size) {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
} // namespace views
diff --git a/ui/views/mus/window_tree_host_mus.cc b/ui/views/mus/window_tree_host_mus.cc
index 0a593aa..fd7e1f1 100644
--- a/ui/views/mus/window_tree_host_mus.cc
+++ b/ui/views/mus/window_tree_host_mus.cc
@@ -99,23 +99,23 @@ gfx::Point WindowTreeHostMus::GetLocationOnNativeScreen() const {
}
void WindowTreeHostMus::SetCapture() {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void WindowTreeHostMus::ReleaseCapture() {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void WindowTreeHostMus::SetCursorNative(gfx::NativeCursor cursor) {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void WindowTreeHostMus::MoveCursorToNative(const gfx::Point& location) {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
void WindowTreeHostMus::OnCursorVisibilityChangedNative(bool show) {
- NOTIMPLEMENTED();
+ // NOTIMPLEMENTED();
}
////////////////////////////////////////////////////////////////////////////////