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

Side by Side Diff: content/common/view_message_enums.h

Issue 8586032: Remove the flags to RenderViewHost::EnablePreferredSizeMode since it's not used after http://crbu... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « content/browser/renderer_host/render_view_host.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_COMMON_VIEW_MESSAGES_ENUMS_H_ 5 #ifndef CONTENT_COMMON_VIEW_MESSAGES_ENUMS_H_
6 #define CONTENT_COMMON_VIEW_MESSAGES_ENUMS_H_ 6 #define CONTENT_COMMON_VIEW_MESSAGES_ENUMS_H_
7 7
8 struct ViewHostMsg_AccEvent { 8 struct ViewHostMsg_AccEvent {
9 enum Value { 9 enum Value {
10 // The active descendant of a node has changed. 10 // The active descendant of a node has changed.
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 TEXT_INSERTED, 62 TEXT_INSERTED,
63 63
64 // Text was removed in a node with text content. 64 // Text was removed in a node with text content.
65 TEXT_REMOVED, 65 TEXT_REMOVED,
66 66
67 // The node value has changed. 67 // The node value has changed.
68 VALUE_CHANGED, 68 VALUE_CHANGED,
69 }; 69 };
70 }; 70 };
71 71
72 // Values that may be OR'd together to form the 'flags' parameter of the
73 // ViewMsg_EnablePreferredSizeChangedMode message.
74 enum ViewHostMsg_EnablePreferredSizeChangedMode_Flags {
75 kPreferredSizeNothing,
76 kPreferredSizeWidth = 1 << 0,
77 // Requesting the height currently requires a polling loop in render_view.cc.
78 kPreferredSizeHeightThisIsSlow = 1 << 1,
79 };
80
81 struct ViewHostMsg_RunFileChooser_Mode { 72 struct ViewHostMsg_RunFileChooser_Mode {
82 public: 73 public:
83 enum Value { 74 enum Value {
84 // Requires that the file exists before allowing the user to pick it. 75 // Requires that the file exists before allowing the user to pick it.
85 Open, 76 Open,
86 77
87 // Like Open, but allows picking multiple files to open. 78 // Like Open, but allows picking multiple files to open.
88 OpenMultiple, 79 OpenMultiple,
89 80
90 // Like Open, but selects a folder. 81 // Like Open, but selects a folder.
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 kActivateSelection 136 kActivateSelection
146 }; 137 };
147 138
148 ViewMsg_StopFinding_Params() : action(kClearSelection) {} 139 ViewMsg_StopFinding_Params() : action(kClearSelection) {}
149 140
150 // The action that should be taken when the find is completed. 141 // The action that should be taken when the find is completed.
151 Action action; 142 Action action;
152 }; 143 };
153 144
154 #endif // CONTENT_COMMON_VIEW_MESSAGES_ENUMS_H_ 145 #endif // CONTENT_COMMON_VIEW_MESSAGES_ENUMS_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698