diff options
author | tonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-04 15:48:39 +0000 |
---|---|---|
committer | tonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-04 15:48:39 +0000 |
commit | ce833284bfd1b0a5db62e0f3c25f48af70ae8784 (patch) | |
tree | 641d0e058901b544626b3503ff5ce06da08ba926 /chrome/renderer/searchbox.h | |
parent | 26cce058ecd57c1da05a9a95a277da91e9be8f43 (diff) | |
download | chromium_src-ce833284bfd1b0a5db62e0f3c25f48af70ae8784.zip chromium_src-ce833284bfd1b0a5db62e0f3c25f48af70ae8784.tar.gz chromium_src-ce833284bfd1b0a5db62e0f3c25f48af70ae8784.tar.bz2 |
Implement new SearchBox API along side existing API.
Add some tests.
BUG=none
TEST=interactive_ui_tests --gtest_filter=InstantTest.*
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65061 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/searchbox.h')
-rw-r--r-- | chrome/renderer/searchbox.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/chrome/renderer/searchbox.h b/chrome/renderer/searchbox.h new file mode 100644 index 0000000..d09c73a --- /dev/null +++ b/chrome/renderer/searchbox.h @@ -0,0 +1,25 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef CHROME_RENDERER_SEARCHBOX_H_ +#define CHROME_RENDERER_SEARCHBOX_H_ +#pragma once + +#include "base/string16.h" + +struct SearchBox { + SearchBox(); + ~SearchBox(); + + string16 value; + bool verbatim; + uint32 selection_start; + uint32 selection_end; + uint32 x; + uint32 y; + uint32 width; + uint32 height; +}; + +#endif // CHROME_RENDERER_SEARCHBOX_H_ |