Home
last modified time | relevance | path

Searched refs:top_inset (Results 1 – 25 of 26) sorted by relevance

12

/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/views/frame/
H A Dbrowser_non_client_frame_view_unittest.cc65 const int top_inset = frame_view_->GetTopInset(false); in TEST_F() local
66 EXPECT_FALSE(frame_view_->HitTestRect(gfx::Rect(4, top_inset, 1, 1))); in TEST_F()
67 if (top_inset > 0) in TEST_F()
68 EXPECT_TRUE(frame_view_->HitTestRect(gfx::Rect(4, top_inset - 1, 1, 1))); in TEST_F()
H A Dbrowser_non_client_frame_view_mac.mm158 int top_inset = kTabstripTopInset;
160 top_inset =
161 std::max(top_inset, BrowserNonClientFrameView::kMinimumDragHeight +
174 FullscreenBackingBarHeight() + top_inset + y_offset;
181 return y_offset + top_inset;
246 int top_inset = GetTopInset(false);
254 top_inset += window.frame.size.height -
257 return gfx::Rect(client_bounds.x(), client_bounds.y() - top_inset,
258 client_bounds.width(), client_bounds.height() + top_inset);
H A Dbrowser_non_client_frame_view_ash.cc263 const int top_inset = GetTopInset(false); in GetWindowBoundsForClientBounds() local
265 std::max(0, client_bounds.y() - top_inset), in GetWindowBoundsForClientBounds()
266 client_bounds.width(), client_bounds.height() + top_inset); in GetWindowBoundsForClientBounds()
H A Dglass_browser_frame_view.cc254 const int top_inset = GetTopInset(false); in GetWindowBoundsForClientBounds() local
256 std::max(0, client_bounds.y() - top_inset), in GetWindowBoundsForClientBounds()
257 client_bounds.width(), client_bounds.height() + top_inset); in GetWindowBoundsForClientBounds()
H A Dbrowser_view_layout.cc298 int top_inset = delegate_->GetTopInsetInBrowserView(); in Layout() local
299 int top = LayoutTabStripRegion(top_inset); in Layout()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/views/controls/native/
H A Dnative_view_host.cc71 void NativeViewHost::SetHitTestTopInset(int top_inset) { in SetHitTestTopInset() argument
72 native_wrapper_->SetHitTestTopInset(top_inset); in SetHitTestTopInset()
H A Dnative_view_host_aura.cc178 void NativeViewHostAura::SetHitTestTopInset(int top_inset) { in SetHitTestTopInset() argument
179 if (top_inset_ == top_inset) in SetHitTestTopInset()
181 top_inset_ = top_inset; in SetHitTestTopInset()
H A Dnative_view_host_wrapper.h53 virtual void SetHitTestTopInset(int top_inset) = 0;
H A Dnative_view_host.h63 void SetHitTestTopInset(int top_inset);
H A Dnative_view_host_mac.h45 void SetHitTestTopInset(int top_inset) override;
H A Dnative_view_host_aura.h39 void SetHitTestTopInset(int top_inset) override;
H A Dnative_view_host_mac.mm161 void NativeViewHostMac::SetHitTestTopInset(int top_inset) {
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/views/controls/native/
H A Dnative_view_host.cc74 void NativeViewHost::SetHitTestTopInset(int top_inset) { in SetHitTestTopInset() argument
75 native_wrapper_->SetHitTestTopInset(top_inset); in SetHitTestTopInset()
H A Dnative_view_host_aura.cc185 void NativeViewHostAura::SetHitTestTopInset(int top_inset) { in SetHitTestTopInset() argument
186 if (top_inset_ == top_inset) in SetHitTestTopInset()
188 top_inset_ = top_inset; in SetHitTestTopInset()
H A Dnative_view_host_wrapper.h62 virtual void SetHitTestTopInset(int top_inset) = 0;
H A Dnative_view_host.h69 void SetHitTestTopInset(int top_inset);
H A Dnative_view_host_mac.h50 void SetHitTestTopInset(int top_inset) override;
H A Dnative_view_host_aura.h41 void SetHitTestTopInset(int top_inset) override;
H A Dnative_view_host_mac.mm167 void NativeViewHostMac::SetHitTestTopInset(int top_inset) {
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/wm/
H A Dwindow_util.cc418 int top_inset) { in GetTransformedBounds() argument
436 if (top_inset > 0) { in GetTransformedBounds()
438 header_bounds.set_height(top_inset); in GetTransformedBounds()
H A Dwindow_util.h144 int top_inset);
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/wm/overview/
H A Dscoped_overview_transform_window.cc400 const int top_inset = GetTopInset(); in SetClipping() local
401 if (top_inset > 0) in SetClipping()
402 clip_rect.Inset(gfx::Insets(top_inset + 1, 0, 0, 0)); in SetClipping()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ios/chrome/browser/ui/fullscreen/
H A Dfullscreen_model.h130 void SetTopContentInset(CGFloat top_inset);
H A Dfullscreen_model.mm147 void FullscreenModel::SetTopContentInset(CGFloat top_inset) {
148 top_inset_ = top_inset;
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/viz/service/display/
H A Dskia_renderer.cc116 float top_inset = scissor.y() - vis_rect->y(); in ApplyExplicitScissor() local
125 if (top_inset >= kAAEpsilon) { in ApplyExplicitScissor()
128 top_inset = 0; in ApplyExplicitScissor()
141 vis_rect->Inset(left_inset, top_inset, right_inset, bottom_inset); in ApplyExplicitScissor()

12