HomeSort by relevance Sort by last modified time
    Searched refs:AutoReset (Results 1 - 25 of 90) sorted by null

1 2 3 4

  /external/chromium/base/
auto_reset.h 22 class AutoReset {
24 AutoReset(T* scoped_variable, T new_value)
30 ~AutoReset() { *scoped_variable_ = original_value_; }
36 DISALLOW_COPY_AND_ASSIGN(AutoReset);
  /external/chromium_org/base/
auto_reset.h 10 // base::AutoReset<> is useful for setting a variable to a new value only within
11 // a particular scope. An base::AutoReset<> object resets a variable to its
15 // This should be obvious, but note that an base::AutoReset<> instance should
17 // writes when the base::AutoReset<> object is destroyed.
22 class AutoReset {
24 AutoReset(T* scoped_variable, T new_value)
30 ~AutoReset() { *scoped_variable_ = original_value_; }
36 DISALLOW_COPY_AND_ASSIGN(AutoReset);
  /external/chromium_org/ash/wm/overview/
window_selector_item.cc 23 base::AutoReset<bool> auto_reset_in_bounds_update(&in_bounds_update_, true);
33 base::AutoReset<bool> auto_reset_in_bounds_update(&in_bounds_update_, true);
  /external/chromium_org/cc/test/
fake_painted_scrollbar_layer.cc 50 scoped_ptr<base::AutoReset<bool> >
53 new base::AutoReset<bool>(&ignore_set_needs_commit_, true));
fake_painted_scrollbar_layer.h 12 namespace base { template<typename T> class AutoReset; }
28 scoped_ptr<base::AutoReset<bool> > IgnoreSetNeedsCommit();
  /external/chromium_org/third_party/libjingle/source/talk/base/
event_unittest.cc 50 TEST(EventTest, AutoReset) {
  /external/chromium/chrome/browser/autocomplete/
autocomplete_classifier.cc 26 AutoReset<bool> reset(&inside_classify_, true);
  /external/chromium_org/ash/wm/
status_area_layout_manager.cc 76 base::AutoReset<bool> auto_reset_in_layout(&in_layout_, true);
  /external/chromium_org/chrome/browser/autocomplete/
autocomplete_classifier.cc 42 base::AutoReset<bool> reset(&inside_classify_, true);
  /external/chromium_org/ui/base/win/
mouse_wheel_util.cc 106 base::AutoReset<bool> auto_reset_recursion_break(&recursion_break, true);
  /external/chromium_org/ui/views/win/
appbar.cc 84 base::AutoReset<bool> in_callback_setter(&in_callback_, true);
  /external/chromium/chrome/browser/notifications/
notification_exceptions_table_model.cc 44 AutoReset<bool> tmp(&updates_disabled_, true);
62 AutoReset<bool> tmp(&updates_disabled_, true);
  /external/chromium/chrome/browser/
plugin_exceptions_table_model.cc 34 AutoReset<bool> tmp(&updates_disabled_, true);
67 AutoReset<bool> tmp(&updates_disabled_, true);
  /external/chromium_org/content/browser/dom_storage/
dom_storage_message_filter.cc 123 base::AutoReset<int> auto_reset(&connection_dispatching_message_for_,
143 base::AutoReset<int> auto_reset(&connection_dispatching_message_for_,
154 base::AutoReset<int> auto_reset(&connection_dispatching_message_for_,
  /external/chromium_org/ui/views/controls/menu/
menu_host.cc 78 base::AutoReset<bool> reseter(&ignore_capture_lost_, true);
  /external/chromium_org/cc/scheduler/
scheduler.cc 321 base::AutoReset<bool> mark_inside(&inside_process_scheduled_actions_, true);
332 base::AutoReset<SchedulerStateMachine::Action>
  /external/chromium_org/chrome/browser/ui/webui/
downloads_dom_handler_browsertest.cc 65 base::AutoReset<bool> reset_waiting(&waiting_list_, true);
72 base::AutoReset<bool> reset_waiting(&waiting_updated_, true);
  /external/chromium_org/content/browser/android/in_process/
synchronous_compositor_output_surface.cc 201 base::AutoReset<SkCanvas*> canvas_resetter(&current_sw_canvas_, canvas);
225 base::AutoReset<bool> invoking_composite_resetter(&invoking_composite_, true);
  /external/chromium_org/content/browser/renderer_host/input/
touch_input_browsertest.cc 90 base::AutoReset<base::Closure> reset_quit(&quit_, run_loop.QuitClosure());
91 base::AutoReset<WebInputEvent::Type> reset_type(&type_, type);
  /external/chromium_org/chrome/browser/ui/webui/ntp/
app_launcher_handler.cc 358 base::AutoReset<bool> auto_reset(&ignore_changes_, true);
405 base::AutoReset<bool> auto_reset(&ignore_changes_, true);
560 base::AutoReset<bool> auto_reset(&ignore_changes_, true);
591 base::AutoReset<bool> auto_reset(&ignore_changes_, true);
636 base::AutoReset<bool> auto_reset(&ignore_changes_, true);
655 base::AutoReset<bool> auto_reset(&ignore_changes_, true);
666 base::AutoReset<bool> auto_reset(&ignore_changes_, true);
  /external/chromium/chrome/browser/content_settings/
content_settings_policy_provider_unittest.cc 137 AutoReset<CommandLine> auto_reset(cmd, *cmd);
  /external/chromium_org/cc/layers/
content_layer.cc 93 base::AutoReset<bool> ignore_set_needs_commit(&ignore_set_needs_commit_,
  /external/chromium_org/chrome/browser/history/
scored_history_match_unittest.cc 221 base::AutoReset<int> reset(&ScoredHistoryMatch::bookmark_value_, 5);
244 base::AutoReset<bool> reset(
270 base::AutoReset<bool> reset(&ScoredHistoryMatch::allow_tld_matches_, true);
295 base::AutoReset<bool> reset(&ScoredHistoryMatch::allow_scheme_matches_, true);
  /external/chromium_org/chrome/browser/undo/
undo_manager.cc 148 base::AutoReset<bool> incoming_changes(performing_indicator, true);
  /external/chromium_org/ui/events/
event_dispatcher.cc 184 base::AutoReset<Event*> event_reset(&current_event_, event);

Completed in 1126 milliseconds

1 2 3 4