Searched defs:in_enable_area (Results 1 - 5 of 5) sorted by relevance

/external/chromium/chrome/browser/ui/tabs/
H A Ddock_info_unittest.cc20 bool in_enable_area; local
46 screen_loc[i], hotspot[i].x(), hotspot[i].y(), &in_enable_area);
48 EXPECT_EQ(expected_in_enable_area[i], in_enable_area);
53 bool in_enable_area; local
96 screen_loc[i], hotspot.x(), hotspot.y(), type[i], &in_enable_area);
98 EXPECT_EQ(expected_in_enable_area[i], in_enable_area);
H A Ddock_info.cc33 bool* in_enable_area) {
36 *in_enable_area = (delta_x < kPopupWidth / 2 && delta_y < kPopupHeight / 2);
37 return *in_enable_area || (delta_x < kHotSpotDeltaX &&
46 bool* in_enable_area) {
85 *in_enable_area = (delta_x < enable_delta_x && delta_y < enable_delta_y);
86 bool result = (*in_enable_area || (delta_x < hot_spot_delta_x &&
94 *in_enable_area = (*in_enable_area || (max_delta_y < enable_delta_y));
95 return *in_enable_area || (max_delta_y < hot_spot_delta_y);
30 IsCloseToPoint(const gfx::Point& screen_loc, int x, int y, bool* in_enable_area) argument
42 IsCloseToMonitorPoint(const gfx::Point& screen_loc, int x, int y, DockInfo::Type type, bool* in_enable_area) argument
H A Ddock_info.h65 // point is close enough to the hotspot true is returned and |in_enable_area|
70 bool* in_enable_area);
77 bool* in_enable_area);
110 // resets in_enable_area based on the new location.
150 // result. This corresponds to a value of false for in_enable_area.
153 // in_enable_area.
154 void set_in_enable_area(bool in_enable_area) { argument
155 in_enable_area_ = in_enable_area;
157 bool in_enable_area() const { return in_enable_area_; } function in class:DockInfo
H A Ddock_info_win.cc244 bool in_enable_area; local
245 if (DockInfo::IsCloseToPoint(screen_loc_, x, y, &in_enable_area)) {
246 result_.set_in_enable_area(in_enable_area);
/external/chromium/chrome/browser/ui/views/tabs/
H A Ddragged_tab_controller.cc194 // the state of DockInfo::in_enable_area.
204 in_enable_area_(info.in_enable_area()) {
214 if (info.in_enable_area())
230 // Updates the state based on |in_enable_area|.
231 void UpdateInEnabledArea(bool in_enable_area) { argument
232 if (in_enable_area != in_enable_area_) {
233 in_enable_area_ = in_enable_area;
303 // Value of DockInfo::in_enable_area.
572 if (dock_info_.type() != DockInfo::NONE && dock_info_.in_enable_area()) {
628 // in_enable_area stat
[all...]

Completed in 42 milliseconds