summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/tests
diff options
context:
space:
mode:
authormsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-23 19:33:26 +0000
committermsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-23 19:33:26 +0000
commitaa4d9e4710dca9f41f2fcea256b996421b10912f (patch)
tree13c509800a7ef9d53a0d3c69f0d5375583ccc87a /chrome/browser/ui/tests
parentd8542e8f5aa58387ba148606d55f7b8e078a60f5 (diff)
downloadchromium_src-aa4d9e4710dca9f41f2fcea256b996421b10912f.zip
chromium_src-aa4d9e4710dca9f41f2fcea256b996421b10912f.tar.gz
chromium_src-aa4d9e4710dca9f41f2fcea256b996421b10912f.tar.bz2
Re-reland Propagate OnNativeWidgetMove to delegate/observers, etc.
Continuation of reverted CL http://codereview.chromium.org/10025039 Relanding this patch exposed a new issues on cros: 1) KioskModeTest.EnableKioskModeTest fails (did unrelated cleanup). 2) Some bubbles crash OnWidgetMove (make |move_with_anchor_| opt-in). 3) Some bubbles crash OnWidgetClosing (cache |anchor_widget_|). 2nd patch description: Continuation of reverted CL http://codereview.chromium.org/10021029 The original CL was reverted due to a naming conflict between: WidgetDelegate::OnWidgetMove and Widget::Observer::OnWidgetMove. I renamed the new Observer method to OnWidgetMoved. Original description: Propagate OnNativeWidgetMove to delegate/observers, etc. NativeWidget[Aura|Win] calls new Widget::OnNativeWidgetMove. Widgets alert delegates and new Widget::Observer::OnWidgetMove. TabDragController2: consume new observer method, simplify. Nix BrowserWindowMoveObserver; use Widget::Observer instead. Replace move_loop_browser_view_ with move_loop_widget. Replace GetAttachedBrowserView with GetAttachedBrowserWidget. BubbleDelegateView: consume new observer method. Make bubbles move with their anchor_view's Widgets. SchedulePaint on BubbleFrameView when mirroring its arrow. BUG=105151,116336,124310,124324,124352,chromium-os:29747 TEST=Bubbles can move with the browser window (inspecting extension popups, etc.); no Ash / --enable-tab-browser-dragging regressions. Review URL: http://codereview.chromium.org/10162017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133495 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/tests')
-rw-r--r--chrome/browser/ui/tests/browser_uitest.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/ui/tests/browser_uitest.cc b/chrome/browser/ui/tests/browser_uitest.cc
index b1ecb7d..ac30eee 100644
--- a/chrome/browser/ui/tests/browser_uitest.cc
+++ b/chrome/browser/ui/tests/browser_uitest.cc
@@ -112,10 +112,6 @@ class KioskModeTest : public UITest {
};
TEST_F(KioskModeTest, EnableKioskModeTest) {
- // Load a local file.
- FilePath test_file(test_data_directory_);
- test_file = test_file.AppendASCII("title1.html");
-
// Verify that the window is present.
scoped_refptr<BrowserProxy> browser(automation()->GetBrowserWindow(0));
ASSERT_TRUE(browser.get());