Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2015 Google Inc. All rights reserved. | 2 * Copyright (C) 2015 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 30 matching lines...) Expand all Loading... | |
| 41 | 41 |
| 42 // The active selection region, containing compositing data for the selection | 42 // The active selection region, containing compositing data for the selection |
| 43 // end points as well as metadata for the selection region. | 43 // end points as well as metadata for the selection region. |
| 44 // See |WebSelection|. | 44 // See |WebSelection|. |
| 45 struct CompositedSelection { | 45 struct CompositedSelection { |
| 46 STACK_ALLOCATED(); | 46 STACK_ALLOCATED(); |
| 47 CompositedSelection() | 47 CompositedSelection() |
| 48 : type(NoSelection) | 48 : type(NoSelection) |
| 49 , isEditable(false) | 49 , isEditable(false) |
| 50 , isEmptyTextFormControl(false) | 50 , isEmptyTextFormControl(false) |
| 51 , isHandleVisible(true) | |
| 51 { | 52 { |
| 52 } | 53 } |
| 53 | 54 |
| 54 SelectionType type; | 55 SelectionType type; |
| 55 CompositedSelectionBound start; | 56 CompositedSelectionBound start; |
| 56 CompositedSelectionBound end; | 57 CompositedSelectionBound end; |
| 57 bool isEditable; | 58 bool isEditable; |
| 58 bool isEmptyTextFormControl; | 59 bool isEmptyTextFormControl; |
| 60 bool isHandleVisible; | |
|
aelias_OOO_until_Jul13
2016/08/02 18:30:33
I don't think this is needed. Just change FrameVi
| |
| 59 }; | 61 }; |
| 60 | 62 |
| 61 } // namespace blink | 63 } // namespace blink |
| 62 | 64 |
| 63 #endif // CompositedSelection_h | 65 #endif // CompositedSelection_h |
| OLD | NEW |