Commit 441e4e93 authored by Cheick's avatar Cheick Committed by Chromium LUCI CQ

Shared Highlighting default color

This CL adds to the shared highlighting component a constant default color (light purple) code.

Bug: 1166249
Change-Id: Id4c56a010f3f2e80be6f1989b05ec3e0cb88a7e4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2633009Reviewed-by: default avatarSebastien Lalancette <seblalancette@chromium.org>
Reviewed-by: default avatarTommy Martino <tmartino@chromium.org>
Reviewed-by: default avatarsebsg <sebsg@chromium.org>
Commit-Queue: Cheick Cisse <cheickcisse@google.com>
Cr-Commit-Position: refs/heads/master@{#844531}
parent 1465618a
...@@ -15,4 +15,7 @@ const char kFragmentTextStartKey[] = "textStart"; ...@@ -15,4 +15,7 @@ const char kFragmentTextStartKey[] = "textStart";
const char kFragmentTextEndKey[] = "textEnd"; const char kFragmentTextEndKey[] = "textEnd";
const char kFragmentSuffixKey[] = "suffix"; const char kFragmentSuffixKey[] = "suffix";
// Light purple.
const int kSharedHighlightingColorRGB[] = {233, 210, 253};
} // namespace shared_highlighting } // namespace shared_highlighting
...@@ -20,6 +20,9 @@ extern const char kFragmentTextStartKey[]; ...@@ -20,6 +20,9 @@ extern const char kFragmentTextStartKey[];
extern const char kFragmentTextEndKey[]; extern const char kFragmentTextEndKey[];
extern const char kFragmentSuffixKey[]; extern const char kFragmentSuffixKey[];
// Default highlight color.
extern const int kSharedHighlightingColorRGB[];
} // namespace shared_highlighting } // namespace shared_highlighting
#endif // COMPONENTS_SHARED_HIGHLIGHTING_CORE_COMMON_TEXT_FRAGMENTS_CONSTANTS_H_ #endif // COMPONENTS_SHARED_HIGHLIGHTING_CORE_COMMON_TEXT_FRAGMENTS_CONSTANTS_H_
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment