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

Unified Diff: ash/mus/bridge/wm_window_mus.cc

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month 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 | « ash/mus/bridge/wm_window_mus.h ('k') | ash/mus/root_window_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/bridge/wm_window_mus.cc
diff --git a/ash/mus/bridge/wm_window_mus.cc b/ash/mus/bridge/wm_window_mus.cc
index d327bc70be53b11be3624374275fd2cfe5d39c04..b35cad1fd4bd3de46a038bc37038175c43b06441 100644
--- a/ash/mus/bridge/wm_window_mus.cc
+++ b/ash/mus/bridge/wm_window_mus.cc
@@ -9,7 +9,6 @@
#include "ash/common/wm/window_positioning_utils.h"
#include "ash/common/wm/window_state.h"
#include "ash/common/wm_layout_manager.h"
-#include "ash/common/wm_lookup.h"
#include "ash/common/wm_transient_window_observer.h"
#include "ash/common/wm_window_observer.h"
#include "ash/common/wm_window_property.h"
@@ -377,10 +376,6 @@ bool WmWindowMus::GetBoolProperty(WmWindowProperty key) {
case WmWindowProperty::ALWAYS_ON_TOP:
return IsAlwaysOnTop();
- case WmWindowProperty::DRAW_ATTENTION:
- NOTIMPLEMENTED();
- return false;
-
case WmWindowProperty::EXCLUDE_FROM_MRU:
return GetExcludeFromMru(window_);
@@ -496,26 +491,6 @@ void WmWindowMus::SetIntProperty(WmWindowProperty key, int value) {
NOTREACHED();
}
-std::string WmWindowMus::GetStringProperty(WmWindowProperty key) {
- NOTIMPLEMENTED();
- return std::string();
-}
-
-void WmWindowMus::SetStringProperty(WmWindowProperty key,
- const std::string& value) {
- NOTIMPLEMENTED();
-}
-
-gfx::ImageSkia WmWindowMus::GetWindowIcon() {
- NOTIMPLEMENTED();
- return gfx::ImageSkia();
-}
-
-gfx::ImageSkia WmWindowMus::GetAppIcon() {
- NOTIMPLEMENTED();
- return gfx::ImageSkia();
-}
-
const wm::WindowState* WmWindowMus::GetWindowState() const {
return window_state_.get();
}
@@ -555,20 +530,6 @@ std::vector<WmWindow*> WmWindowMus::GetTransientChildren() {
return FromMusWindows(window_->transient_children());
}
-bool WmWindowMus::MoveToEventRoot(const ui::Event& event) {
- views::View* target = static_cast<views::View*>(event.target());
- if (!target)
- return false;
- WmWindow* target_root =
- WmLookup::Get()->GetWindowForWidget(target->GetWidget())->GetRootWindow();
- if (!target_root || target_root == GetRootWindow())
- return false;
- WmWindow* window_container =
- target_root->GetChildByShellWindowId(GetParent()->GetShellWindowId());
- window_container->AddChild(this);
- return true;
-}
-
void WmWindowMus::SetLayoutManager(
std::unique_ptr<WmLayoutManager> layout_manager) {
if (layout_manager) {
« no previous file with comments | « ash/mus/bridge/wm_window_mus.h ('k') | ash/mus/root_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698