Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(346)

Unified Diff: content/common/text_input_state.h

Issue 1889313002: Revert of Browser Side Text Input State Tracking for OOPIF (Manual). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/common/text_input_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/text_input_state.h
diff --git a/content/common/text_input_state.h b/content/common/text_input_state.h
deleted file mode 100644
index 0be6069be119fea78e5a40e2f511ee4ce8283a12..0000000000000000000000000000000000000000
--- a/content/common/text_input_state.h
+++ /dev/null
@@ -1,61 +0,0 @@
-// Copyright 2016 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 CONTENT_COMMON_TEXT_INPUT_STATE_H_
-#define CONTENT_COMMON_TEXT_INPUT_STATE_H_
-
-#include <string>
-
-#include "content/common/content_export.h"
-#include "ui/base/ime/text_input_mode.h"
-#include "ui/base/ime/text_input_type.h"
-
-namespace content {
-
-struct CONTENT_EXPORT TextInputState {
- TextInputState();
- TextInputState(const TextInputState& other);
-
- // Type of the input field.
- ui::TextInputType type;
-
- // The mode of input field.
- ui::TextInputMode mode;
-
- // The flags of input field (autocorrect, autocomplete, etc.)
- int flags;
-
- // The value of input field.
- std::string value;
-
- // The cursor position of the current selection start, or the caret position
- // if nothing is selected.
- int selection_start;
-
- // The cursor position of the current selection end, or the caret position if
- // nothing is selected.
- int selection_end;
-
- // The start position of the current composition, or -1 if there is none.
- int composition_start;
-
- // The end position of the current composition, or -1 if there is none.
- int composition_end;
-
- // Whether or not inline composition can be performed for the current input.
- bool can_compose_inline;
-
- // Whether or not the IME should be shown as a result of this update. Even if
- // true, the IME will only be shown if the input is appropriate (e.g. not
- // TEXT_INPUT_TYPE_NONE).
- bool show_ime_if_needed;
-
- // Whether this change is originated from non-IME (e.g., Javascript,
- // Autofill).
- bool is_non_ime_change;
-};
-
-} // namespace content
-
-#endif // CONTENT_COMMON_TEXT_INPUT_STATE_H_
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/common/text_input_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698