diff options
author | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-16 21:44:28 +0000 |
---|---|---|
committer | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-16 21:44:28 +0000 |
commit | 44254d57fc5ff8f96e3227d8c421819516470286 (patch) | |
tree | 21969ef09d5b522090104aeab2440d7c25c22fc7 /chrome/browser/extensions/extension_omnibox_api.h | |
parent | 1a3efc6ae8008e83e1d5e909eac23fdb6600822a (diff) | |
download | chromium_src-44254d57fc5ff8f96e3227d8c421819516470286.zip chromium_src-44254d57fc5ff8f96e3227d8c421819516470286.tar.gz chromium_src-44254d57fc5ff8f96e3227d8c421819516470286.tar.bz2 |
More changes to extension omnibox API for styles.
- Overlapping styles are now bitwise-ORed together (instead of replacing
previous ones).
- The "length" parameter for style ranges is optional and can be 0.
BUG=63077,63078
TEST=covered by tests
Review URL: http://codereview.chromium.org/5064001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66327 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_omnibox_api.h')
-rw-r--r-- | chrome/browser/extensions/extension_omnibox_api.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/chrome/browser/extensions/extension_omnibox_api.h b/chrome/browser/extensions/extension_omnibox_api.h index 98758cb..d9a083c 100644 --- a/chrome/browser/extensions/extension_omnibox_api.h +++ b/chrome/browser/extensions/extension_omnibox_api.h @@ -61,11 +61,6 @@ struct ExtensionOmniboxSuggestion { // Contains style ranges for the description. ACMatchClassifications description_styles; - - private: - // Helper function to add the given style to the running list of - // |description_styles|. - void InsertNewStyle(int type, size_t offset, size_t length); }; struct ExtensionOmniboxSuggestions { |