1. 19 Sep, 2014 6 commits
    • tapted's avatar
      MacViews: Implement NativeViewHostMac (take 3) · 5ee3db98
      tapted authored
      This is done in a comparable way to NativeViewHostAura, but using a
      ReparentNSView helper function which reparents an NSView to a
      NativeWidgetMac's BridgedContentView (or to `nil`).
      
      Earlier attempts tried to use NativeWidgetPrivate::ReparentNativeView()
      which turns out to be a bad idea, since it's really designed to reparent
      windows (aura::Windows or HWNDs). Mac's child window support is
      insufficient for what toolkit-views expects, and WebContents on Mac are
      managed by an NSView in any case, not an NSWindow.
      
      Along with logic currently in render_widget_host_view_mac.mm and
      web_contents_view_mac.mm, reparenting renderer views needs to be done in
      the native view hierarchy, not the window hierarchy.
      
      This CL no longer tries to enable the current
      native_view_host_unittest.cc (tests there assume ReparentNativeView is
      used), but adds native_view_host_mac_unittest.mm to give test coverage,
      and to inspect properties at the Cocoa layer. Common parts of the 3
      _unittest.* files are refactored into a NativeViewHostTestBase class.
      
      Some other views_unittests are also made passing by implementing a
      NativeViewHost::CreateWrapper that doesn't just return NULL:
      4xFocusTraverslTest and NativeWidgetTest.GetTopLevelNativeWidget2
      
      Before: 455 tests run 22 tests failed 21 tests crashed. After: 458 tests
      run 22 tests failed 16 tests crashed.
      
      BUG=378134, 415024
      
      Review URL: https://codereview.chromium.org/530933002
      
      Cr-Commit-Position: refs/heads/master@{#295618}
      5ee3db98
    • mukai's avatar
      Simply remove dummy app icons from the home card. · f78b37a6
      mukai authored
      BUG=415745
      R=oshima@chromium.org
      TEST=manually
      
      Review URL: https://codereview.chromium.org/583503003
      
      Cr-Commit-Position: refs/heads/master@{#295617}
      f78b37a6
    • mukai's avatar
      Update gesture logic. · deb67ab9
      mukai authored
      - record the original state when the gesture starts
      - changes the height condition for the closest state based on the
        original state
      - limit the fling handling only when the closest state ends up with
        the original state. This will save the most of the case, however
        it may cause unexpected results if the user makes complicated
        gestures (like moves up from minimized, up to the full-screen,
        then fling-down). I think this is a rare case and we don't
        have to care about.
      
      BUG=415211
      R=pkotwicz@chromium.org
      TEST=athena_unittests && manually
      
      Review URL: https://codereview.chromium.org/581933004
      
      Cr-Commit-Position: refs/heads/master@{#295616}
      deb67ab9
    • dbeam's avatar
      Split revision into separate field on about:version. · 3530cf95
      dbeam authored
      R=agable@chromium.org
      BUG=414994
      
      Review URL: https://codereview.chromium.org/582003003
      
      Cr-Commit-Position: refs/heads/master@{#295615}
      3530cf95
    • samli's avatar
      CC: Add fill mode to compositor animations · f6711179
      samli authored
      BUG=415241
      
      Review URL: https://codereview.chromium.org/579863004
      
      Cr-Commit-Position: refs/heads/master@{#295614}
      f6711179
    • jackhou's avatar
      [Win] Convert min|max window size to screen pixels. · 336bb313
      jackhou authored
      BUG=413294
      
      Review URL: https://codereview.chromium.org/574283002
      
      Cr-Commit-Position: refs/heads/master@{#295613}
      336bb313
  2. 18 Sep, 2014 34 commits