Home
last modified time | relevance | path

Searched refs:delegate1 (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/ui/aura/
Droot_window_host_x11_unittest.cc187 scoped_ptr<TestRootWindowHostDelegate> delegate1( in TEST_F() local
189 root_window_host1->set_delegate(delegate1.get()); in TEST_F()
203 EXPECT_EQ(ui::ET_UNKNOWN, delegate1->last_touch_type()); in TEST_F()
204 EXPECT_EQ(-1, delegate1->last_touch_id()); in TEST_F()
214 EXPECT_EQ(ui::ET_UNKNOWN, delegate1->last_touch_type()); in TEST_F()
215 EXPECT_EQ(-1, delegate1->last_touch_id()); in TEST_F()
216 EXPECT_EQ(gfx::Point(0, 0), delegate1->last_touch_location()); in TEST_F()
226 EXPECT_EQ(ui::ET_UNKNOWN, delegate1->last_touch_type()); in TEST_F()
227 EXPECT_EQ(-1, delegate1->last_touch_id()); in TEST_F()
228 EXPECT_EQ(gfx::Point(0, 0), delegate1->last_touch_location()); in TEST_F()
[all …]
Droot_window_unittest.cc103 scoped_ptr<NonClientDelegate> delegate1(new NonClientDelegate()); in TEST_F() local
110 delegate1.get(), -1234, bounds1, root_window())); in TEST_F()
121 EXPECT_EQ(1, delegate1->non_client_count()); in TEST_F()
124 EXPECT_EQ(gfx::Point(1, 1), delegate1->non_client_location()); in TEST_F()
126 EXPECT_EQ(1, delegate1->mouse_event_count()); in TEST_F()
129 EXPECT_EQ(gfx::Point(1, 1), delegate1->mouse_event_location()); in TEST_F()
131 EXPECT_TRUE(delegate1->mouse_event_flags() & ui::EF_IS_NON_CLIENT); in TEST_F()
Dwindow_unittest.cc880 CaptureWindowDelegateImpl delegate1; in TEST_F() local
882 &delegate1, 0, gfx::Rect(0, 0, 50, 50), root_window())); in TEST_F()
892 EXPECT_EQ(2, delegate1.gesture_event_count()); in TEST_F()
893 delegate1.ResetCounts(); in TEST_F()
897 EXPECT_EQ(1, delegate1.touch_event_count()); in TEST_F()
899 delegate1.ResetCounts(); in TEST_F()
905 EXPECT_EQ(0, delegate1.gesture_event_count()); in TEST_F()
906 EXPECT_EQ(0, delegate1.touch_event_count()); in TEST_F()
913 EXPECT_EQ(0, delegate1.gesture_event_count()); in TEST_F()
920 EXPECT_EQ(0, delegate1.gesture_event_count()); in TEST_F()
[all …]
/external/chromium_org/content/renderer/media/
Dvideo_capture_message_filter_unittest.cc110 StrictMock<MockVideoCaptureDelegate> delegate1; in TEST() local
113 filter->AddDelegate(&delegate1); in TEST()
115 ASSERT_EQ(1, delegate1.device_id()); in TEST()
119 EXPECT_CALL(delegate1, OnStateChanged(VIDEO_CAPTURE_STATE_STARTED)); in TEST()
121 VideoCaptureMsg_StateChanged(delegate1.device_id(), in TEST()
123 Mock::VerifyAndClearExpectations(&delegate1); in TEST()
132 filter->RemoveDelegate(&delegate1); in TEST()
134 VideoCaptureMsg_StateChanged(delegate1.device_id(), in TEST()
Daudio_message_filter_unittest.cc126 MockAudioDelegate delegate1; in TEST() local
133 ipc1->CreateStream(&delegate1, media::AudioParameters(), kSessionId); in TEST()
137 EXPECT_EQ(&delegate1, filter->delegates_.Lookup(kStreamId1)); in TEST()
141 EXPECT_FALSE(delegate1.state_changed_received()); in TEST()
146 EXPECT_TRUE(delegate1.state_changed_received()); in TEST()
148 delegate1.Reset(); in TEST()
150 EXPECT_FALSE(delegate1.state_changed_received()); in TEST()
155 EXPECT_FALSE(delegate1.state_changed_received()); in TEST()
/external/chromium_org/ash/wm/workspace/
Dmulti_window_resize_controller_unittest.cc101 aura::test::TestWindowDelegate delegate1; in TEST_F() local
103 CreateTestWindow(&delegate1, gfx::Rect(0, 0, 100, 100))); in TEST_F()
104 delegate1.set_window_component(HTRIGHT); in TEST_F()
132 aura::test::TestWindowDelegate delegate1; in TEST_F() local
134 CreateTestWindow(&delegate1, gfx::Rect(0, 0, 100, 100))); in TEST_F()
135 delegate1.set_window_component(HTRIGHT); in TEST_F()
175 aura::test::TestWindowDelegate delegate1; in TEST_F() local
177 CreateTestWindow(&delegate1, gfx::Rect(0, 0, 100, 100))); in TEST_F()
178 delegate1.set_window_component(HTRIGHT); in TEST_F()
218 aura::test::TestWindowDelegate delegate1; in TEST_F() local
[all …]
/external/chromium_org/ui/gfx/animation/
Danimation_container_unittest.cc82 TestAnimationDelegate delegate1; in TEST_F() local
86 TestAnimation animation1(&delegate1); in TEST_F()
101 EXPECT_TRUE(delegate1.finished()); in TEST_F()
111 TestAnimationDelegate delegate1; in TEST_F() local
115 TestAnimation animation1(&delegate1); in TEST_F()
128 EXPECT_TRUE(delegate1.finished()); in TEST_F()
/external/chromium/chrome/browser/download/
Ddownload_status_updater_unittest.cc122 scoped_ptr<MockDelegate> delegate1(new MockDelegate(&updater_)); in TEST_F() local
132 delegate1->set_in_progress_download_count(1); in TEST_F()
133 delegate1->set_received_bytes(14); in TEST_F()
134 delegate1->set_total_bytes(21); in TEST_F()
147 delegate1->set_is_download_progress_known(false); in TEST_F()
156 delegate1.reset(); in TEST_F()
/external/chromium_org/net/spdy/
Dspdy_session_unittest.cc386 test::StreamDelegateDoNothing delegate1(spdy_stream1); in TEST_P() local
387 spdy_stream1->SetDelegate(&delegate1); in TEST_P()
470 test::StreamDelegateDoNothing delegate1(spdy_stream1); in TEST_P() local
471 spdy_stream1->SetDelegate(&delegate1); in TEST_P()
552 test::StreamDelegateDoNothing delegate1(spdy_stream1); in TEST_P() local
553 spdy_stream1->SetDelegate(&delegate1); in TEST_P()
1519 test::StreamDelegateDoNothing delegate1(spdy_stream1); in TEST_P() local
1520 spdy_stream1->SetDelegate(&delegate1); in TEST_P()
1546 EXPECT_EQ(0u, delegate1.stream_id()); in TEST_P()
1550 EXPECT_EQ(0u, delegate1.stream_id()); in TEST_P()
[all …]
/external/chromium_org/ash/wm/dock/
Ddocked_window_layout_manager_unittest.cc654 aura::test::TestWindowDelegate delegate1; in TEST_P() local
655 delegate1.set_maximum_size(gfx::Size(240, 0)); in TEST_P()
657 gfx::Rect(0, 0, 201, 201), &delegate1)); in TEST_P()
779 aura::test::TestWindowDelegate delegate1; in TEST_P() local
780 delegate1.set_minimum_size(gfx::Size(0, 300)); in TEST_P()
781 delegate1.set_maximum_size(gfx::Size(0, 300)); in TEST_P()
783 gfx::Rect(0, 0, 201, 300), &delegate1)); in TEST_P()
/external/chromium/chrome/browser/ui/cocoa/extensions/
Dextension_install_dialog_controller_unittest.mm189 scoped_ptr<MockExtensionInstallUIDelegate> delegate1(
206 delegate:delegate1.get()
/external/chromium_org/base/files/
Dfile_path_watcher_browsertest.cc322 scoped_ptr<TestDelegate> delegate1(new TestDelegate(collector())); in TEST_F() local
324 ASSERT_TRUE(SetupWatch(test_file(), &watcher1, delegate1.get(), false)); in TEST_F()
329 DeleteDelegateOnFileThread(delegate1.release()); in TEST_F()
/external/chromium/base/files/
Dfile_path_watcher_browsertest.cc298 scoped_refptr<TestDelegate> delegate1(new TestDelegate(collector())); in TEST_F() local
300 ASSERT_TRUE(SetupWatch(test_file(), &watcher1, delegate1.get())); in TEST_F()
/external/chromium_org/chrome/browser/ui/cocoa/extensions/
Dextension_install_view_controller_unittest.mm118 chrome::MockExtensionInstallPromptDelegate delegate1;
142 delegate:&delegate1
/external/chromium_org/ash/
Droot_window_controller_unittest.cc527 aura::test::TestWindowDelegate delegate1; in TEST_F() local
528 aura::Window* window1 = new aura::Window(&delegate1); in TEST_F()
/external/chromium_org/chrome/browser/favicon/
Dfavicon_handler_unittest.cc1006 TestFaviconHandlerDelegate delegate1; in TEST_F() local
1008 &delegate1, FaviconHandler::FAVICON); in TEST_F()