1. 30 Dec, 2019 1 commit
    • Santosh Mahto's avatar
      Implement transparency in browser · 56f93a18
      Santosh Mahto authored
      Fix transparency of main window.
      
      By default, chromium doesn't assume that window can be transparent.
      So changed the code to let chromium allow transparency.
      56f93a18
  2. 18 Oct, 2019 1 commit
    • Marshall Greenblatt's avatar
      Don't set "always on top" style for child CefWindows. · a4b6ef57
      Marshall Greenblatt authored
      As of https://crrev.com/9e653328e3 the Views framework will apply the "always
      on top" (WS_EX_TOPMOST) style by default to widgets created with TYPE_MENU. CEF
      uses this type in CefWindowView::CreateWidget to support child windows that are
      not clipped to the parent window bounds (currently indicated by returning a
      parent window from CefWindowDelegate::GetParentWindow and setting |is_menu| to
      true).
      
      Not setting "always on top" shouldn't be a problem except in cases where some
      other window is already "always on top" and the child CefWindow is expected to
      overlay that window. For this reason any menus created using ShowMenu will
      continue to have the "always on top" style.
      a4b6ef57
  3. 04 Oct, 2019 1 commit
  4. 01 Oct, 2019 1 commit
  5. 23 Apr, 2019 1 commit
    • santosh mahto's avatar
      Linux: Add support for ozone builds (fixes issue #2296). · 491253fa
      santosh mahto authored
      Ozone builds can run with different platform backends (Wayland, X11, etc). Usage of the Views framework is required, and the cefclient sample application is not supported.
      
      Example usage:
      
      $ export GN_DEFINES="use_ozone=true"
      $ cd /path/to/chromium/src/cef
      $ ./cef_create_projects.sh
      $ cd /path/to/chromium/src
      $ ninja -C out/Release_GN_x64 cefsimple
      $ ./out/Release_GN_x64/cefsimple --use-views --ozone-platform=wayland
      
      Binary distributions can be created by passing the `--ozone` flag to make_distrib.py.
      491253fa
  6. 16 Apr, 2019 1 commit
  7. 18 Jan, 2019 1 commit
  8. 06 Sep, 2018 1 commit
  9. 25 Aug, 2017 2 commits
  10. 28 Jul, 2017 1 commit
  11. 18 May, 2017 1 commit
  12. 17 Feb, 2017 1 commit
  13. 24 Jan, 2017 1 commit
  14. 14 Dec, 2016 1 commit
    • Marshall Greenblatt's avatar
      Windows: Fix behavior of frameless windows with Views. · 9928036f
      Marshall Greenblatt authored
      - Don't set InitParams::TRANSLUCENT_WINDOW. Setting this resulted in
        the WS_EX_COMPOSITED style being added and the WS_THICKFRAME style
        being removed, which disabled Aero Snap.
      - Remove the non-client border to get a completely frameless window.
        Having a border is problematic because the top is drawn by Windows
        while the rest is drawn black. Having Windows draw part of the
        border is required to enable the window drop shadow (see
        HWNDMessageHandler::SetDwmFrameExtension).
      - Delete the remove_caption patches which are no longer required.
      9928036f
  15. 25 May, 2016 1 commit
  16. 26 Apr, 2016 1 commit
    • Marshall Greenblatt's avatar
      Implement Views framework on Windows and Linux (issue #1749). · 06e73fff
      Marshall Greenblatt authored
      - Add Views header files in a new include/views directory.
      - Add initial top-level window (CefWindow), control (CefBrowserView,
        CefLabelButton, CefMenuButton, CefPanel, CefScrollView,
        CefTextfield) and layout (CefBoxLayout, CefFlowLayout) support.
        See libcef/browser/views/view_impl.h comments for implementation
        details.
      - Add Views example usage in cefclient and cefsimple and Views unit
        tests in cef_unittests. Pass the `--use-views` command-line flag to
        cefclient, cefsimple and cef_unittests to run using the Views
        framework instead of platform APIs. For cefclient and cefsimple
        this will create the browser window and all related functionality
        using the Views framework. For cef_unittests this will run all
        tests (except OSR tests) in a Views-based browser window. Views-
        specific unit tests (`--gtest_filter=Views*`) will be run even if
        the the `--use-views` flag is not specified.
      - Pass the `--hide-frame` command-line flag to cefclient to demo a
        frameless Views-based browser window.
      - Pass the `--hide-controls` command-line flag to cefclient to demo a
        browser window without top controls. This also works in non-Views
        mode.
      - Pass the `--enable-high-dpi-support` command-line flag to
        cef_unittests on Windows to test high-DPI support on a display
        that supports it.
      - Add CefImage for reading/writing image file formats.
      - Add CefBrowser::DownloadImage() for downloading image URLs as a
        CefImage representation. This is primarily for loading favicons.
      - Add CefMenuModel::CreateMenuModel() and CefMenuModelDelegate for
        creating custom menus. This is primarily for use with
        CefMenuButton.
      - Add CefBrowser::TryCloseBrowser() helper for closing a browser.
        Also improve related documentation in cef_life_span_handler.h.
      - Rename cef_page_range_t to cef_range_t. It is now also used by
        CefTextfield.
      - Remove CefLifeSpanHandler::RunModal() which is never called.
      - Add draggable regions example to cefclient.
      06e73fff