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

Unified Diff: ui/wm/core/window_modality_controller.cc

Issue 2172363002: Created min size for print preview dialog and modified to allow the Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix ifdef logic, return deps to normal Created 4 years, 4 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
Index: ui/wm/core/window_modality_controller.cc
diff --git a/ui/wm/core/window_modality_controller.cc b/ui/wm/core/window_modality_controller.cc
index 094acc49189b86f2d21d4dbade56e7b8b7e1486d..c372a63a25254a97e5b2d620082e53e949fc17a0 100644
--- a/ui/wm/core/window_modality_controller.cc
+++ b/ui/wm/core/window_modality_controller.cc
@@ -22,6 +22,7 @@
#include "ui/wm/core/window_util.h"
namespace wm {
+const char kHasIndependentBoundsKey[] = "__INDEPENDENT_BOUNDS__";
// Transient child's modal parent.
extern const aura::WindowProperty<aura::Window*>* const kModalParentKey;
@@ -128,7 +129,7 @@ void WindowModalityController::OnKeyEvent(ui::KeyEvent* event) {
void WindowModalityController::OnMouseEvent(ui::MouseEvent* event) {
aura::Window* target = static_cast<aura::Window*>(event->target());
if (ProcessLocatedEvent(target, event))
- event->SetHandled();
+ event->SetHandled();
}
void WindowModalityController::OnTouchEvent(ui::TouchEvent* event) {

Powered by Google App Engine
This is Rietveld 408576698