ns_view_ids.cc 375 B

123456789101112131415
  1. // Copyright 2019 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "components/remote_cocoa/browser/ns_view_ids.h"
  5. namespace remote_cocoa {
  6. uint64_t GetNewNSViewId() {
  7. static uint64_t counter = 0;
  8. counter += 1;
  9. return counter;
  10. }
  11. } // namespace remote_cocoa