Home
last modified time | relevance | path

Searched refs:ViewState (Results 1 – 25 of 29) sorted by relevance

12

/external/chromium_org/chrome/browser/ui/translate/
Dtranslate_bubble_view_state_transition.h16 TranslateBubbleModel::ViewState view_state);
18 TranslateBubbleModel::ViewState view_state() const { return view_state_; } in view_state()
21 void SetViewState(TranslateBubbleModel::ViewState view_state);
28 TranslateBubbleModel::ViewState view_state_;
34 TranslateBubbleModel::ViewState view_state_before_advanced_view_;
Dtranslate_bubble_model.h17 enum ViewState { enum
38 virtual ViewState GetViewState() const = 0;
41 virtual void SetViewState(ViewState view_state) = 0;
Dtranslate_bubble_model_impl.h18 TranslateBubbleModelImpl(TranslateBubbleModel::ViewState view_type,
23 virtual TranslateBubbleModel::ViewState GetViewState() const OVERRIDE;
24 virtual void SetViewState(TranslateBubbleModel::ViewState view_state)
Dtranslate_bubble_model_impl.cc12 TranslateBubbleModel::ViewState view_type, in TranslateBubbleModelImpl()
21 TranslateBubbleModel::ViewState TranslateBubbleModelImpl::GetViewState() const { in GetViewState()
26 TranslateBubbleModel::ViewState view_state) { in SetViewState()
Dtranslate_bubble_view_state_transition.cc10 TranslateBubbleModel::ViewState view_state) in TranslateBubbleViewStateTransition()
18 TranslateBubbleModel::ViewState view_state) { in SetViewState()
Dtranslate_bubble_factory.h26 TranslateBubbleModel::ViewState view_state,
38 TranslateBubbleModel::ViewState view_state,
Dtranslate_bubble_factory.cc14 TranslateBubbleModel::ViewState view_state, in ShowDefault()
30 TranslateBubbleModel::ViewState view_state, in Show()
/external/chromium_org/ui/views/layout/
Dgrid_layout.h68 struct ViewState;
200 void AddViewState(ViewState* view_state);
208 void UpdateRemainingHeightFromRows(ViewState* state);
213 void DistributeRemainingHeight(ViewState* state);
247 std::vector<ViewState*> view_states_;
317 void AddViewState(ViewState* view_state);
328 void UpdateRemainingWidth(ViewState* view_state);
332 void DistributeRemainingWidth(ViewState* view_state);
359 std::vector<ViewState*> view_states_;
Dgrid_layout.cc318 struct ViewState { struct
319 ViewState(ColumnSet* column_set, View* view, int start_col, int start_row, in ViewState() function
370 static bool CompareByColumnSpan(const ViewState* v1, const ViewState* v2) { in CompareByColumnSpan()
374 static bool CompareByRowSpan(const ViewState* v1, const ViewState* v2) { in CompareByRowSpan()
429 void ColumnSet::AddViewState(ViewState* view_state) { in AddViewState()
431 std::vector<ViewState*>::iterator i = lower_bound(view_states_.begin(), in AddViewState()
524 void ColumnSet::UpdateRemainingWidth(ViewState* view_state) { in UpdateRemainingWidth()
532 void ColumnSet::DistributeRemainingWidth(ViewState* view_state) { in DistributeRemainingWidth()
608 for (std::vector<ViewState*>::iterator i = view_states_.begin(); in CalculateSize()
610 ViewState* view_state = *i; in CalculateSize()
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/autofill/
Dsimple_grid_layout.mm17 class ViewState {
19 ViewState(NSView* view, ColumnSet* column_set, int row, int column);
143 ViewState::ViewState(NSView* view, ColumnSet* column_set, int row, int column) function
149 float ViewState::GetColumnWidth() {
153 float ViewState::GetHeightForWidth(float width) {
280 new ViewState(view,
290 for (std::vector<ViewState*>::iterator i = view_states_.begin();
292 ViewState* view_state = *i;
313 // For each ViewState, obtain the preferred height
314 for (std::vector<ViewState*>::iterator i= view_states_.begin();
[all …]
Dsimple_grid_layout.h16 class ViewState; variable
95 ScopedVector<ViewState> view_states_;
/external/chromium_org/chrome/browser/ui/views/translate/
Dtranslate_bubble_view.h44 TranslateBubbleModel::ViewState type,
80 TranslateBubbleModel::ViewState GetViewState() const;
161 void SwitchView(TranslateBubbleModel::ViewState view_state);
Dtranslate_bubble_view_unittest.cc20 explicit MockTranslateBubbleModel(TranslateBubbleModel::ViewState view_state) in MockTranslateBubbleModel()
36 virtual TranslateBubbleModel::ViewState GetViewState() const OVERRIDE { in GetViewState()
40 virtual void SetViewState(TranslateBubbleModel::ViewState view_state) in SetViewState()
Dtranslate_bubble_view.cc141 TranslateBubbleModel::ViewState type, in ShowBubble()
309 TranslateBubbleModel::ViewState TranslateBubbleView::GetViewState() const { in GetViewState()
760 TranslateBubbleModel::ViewState view_state) { in SwitchView()
/external/chromium/chrome/browser/autocomplete/
Dautocomplete_edit_view_views.cc80 struct ViewState { struct
81 explicit ViewState(const ui::Range& selection_range) in ViewState() function
91 const ViewState& view_state) in AutocompleteEditState()
97 const ViewState view_state;
292 AutocompleteEditState(model_state, ViewState(selection))); in SaveStateToTab()
Dautocomplete_edit_view_gtk.cc80 struct ViewState { struct
81 explicit ViewState(const AutocompleteEditViewGtk::CharRange& selection_range) in ViewState() argument
91 const ViewState& view_state) in AutocompleteEditState()
97 const ViewState view_state;
463 AutocompleteEditState(model_state, ViewState(GetSelection()))); in SaveStateToTab()
/external/chromium_org/chrome/browser/translate/
Dtranslate_manager.h205 TranslateBubbleModel::ViewState view_state,
Dtranslate_manager.cc608 TranslateBubbleModel::ViewState view_state = in PageTranslated()
706 TranslateBubbleModel::ViewState view_state, in ShowBubble()
/external/chromium_org/chrome/browser/ui/
Dbrowser_window.h230 TranslateBubbleModel::ViewState view_state,
Dbrowser_commands.cc696 TranslateBubbleModel::ViewState view_state = in Translate()
/external/chromium_org/chrome/browser/ui/cocoa/
Dbrowser_window_cocoa.h106 TranslateBubbleModel::ViewState view_state,
/external/chromium_org/chrome/browser/ui/gtk/omnibox/
Domnibox_view_gtk.cc73 struct ViewState { struct
74 explicit ViewState(const OmniboxViewGtk::CharRange& selection_range) in ViewState() argument
86 const ViewState& view_state) in AutocompleteEditState()
93 const ViewState view_state;
435 new AutocompleteEditState(model_state, ViewState(GetSelection()))); in SaveStateToTab()
/external/chromium_org/chrome/test/base/
Dtest_browser_window.h107 TranslateBubbleModel::ViewState view_state, in ShowTranslateBubble()
/external/chromium_org/chrome/browser/ui/gtk/
Dbrowser_window_gtk.h141 TranslateBubbleModel::ViewState view_state,
/external/chromium_org/chrome/browser/ui/views/frame/
Dbrowser_view.h331 TranslateBubbleModel::ViewState view_state,

12