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

Side by Side Diff: third_party/WebKit/Source/core/layout/compositing/CompositedSelection.h

Issue 2201853002: Blink handle selection handle visibility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixing aura problems Created 4 years, 4 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 unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/web/WebSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698