Skip to content

Commit

Permalink
Merge pull request #869 from uazo/create-pull-request/patch-d62bb78
Browse files Browse the repository at this point in the history
New files under control
  • Loading branch information
uazo authored Mar 10, 2024
2 parents d62bb78 + dbacbb5 commit 6348da2
Show file tree
Hide file tree
Showing 2,219 changed files with 98,926 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tools/under-control/src/RELEASE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
none
122.0.6261.111
1,362 changes: 1,362 additions & 0 deletions tools/under-control/src/chrome/android/java/AndroidManifest.xml

Large diffs are not rendered by default.

1,848 changes: 1,848 additions & 0 deletions tools/under-control/src/chrome/browser/chrome_browser_interface_binders.cc

Large diffs are not rendered by default.

2,613 changes: 2,613 additions & 0 deletions tools/under-control/src/chrome/browser/prefs/browser_prefs.cc

Large diffs are not rendered by default.

803 changes: 803 additions & 0 deletions tools/under-control/src/chrome/browser/ui/tab_helpers.cc

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// API which provides support for ChromeOS Accessibility features in the
// browser.

[platforms=("chromeos", "lacros"),
implemented_in="chrome/browser/chromeos/extensions/accessibility_service_private.h"]

namespace accessibilityServicePrivate {
callback VoidCallback = void();

interface Functions {
// Called when Select to Speak in ChromeOS should speak the current
// text selection; fired when the context menu option was clicked in
// a selection context.
[supportsPromises] static void speakSelectedText(
optional VoidCallback callback);
};

interface Events {
// Called when Select to Speak in ChromeOS wants a clipboard copy
// event to be performed on the active and focused tab with the
// given URL. This is fired when Select to Speak is trying to speak
// with search+s but cannot find a selection and the focused node
// is in a Google Docs page.
static void clipboardCopyInActiveGoogleDoc(DOMString url);
};
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Use the <code>appview</code> tag to embed other Chrome Apps within your
// Chrome App. (see <a href=#usage>Usage</a>).
[documentation_title="<appview> Tag",
documentation_namespace="<appview>",
documented_in="tags/appview"]
namespace appviewTag {
// This object specifies details and operations to perform on the embedding
// request. The app to be embedded can make a decision on whether or not to
// allow the embedding and what to embed based on the embedder making the
// request.
dictionary EmbedRequest {
// The ID of the app that sent the embedding request.
DOMString embedderId;

// Optional developer specified data that the app to be embedded can use
// when making an embedding decision.
object data;

// Allows the embedding request.
//
// |url| : Specifies the content to be embedded.
static void allow(DOMString url);

// Prevents the embedding request.
static void deny();
};

// An optional function that's called after the embedding request is
// completed.
//
// |success| : True if the embedding request succeded.
callback EmbeddingCallback = void (boolean success);

interface Functions {
// Requests another app to be embedded.
//
// |app| : The extension id of the app to be embedded.
// |data| : Optional developer specified data that the app to be embedded
// can use when making an embedding decision.
// |callback| : An optional function that's called after the embedding
// request is completed.
static void connect(DOMString app, optional any data,
optional EmbeddingCallback callback);
};
};
Loading

0 comments on commit 6348da2

Please sign in to comment.