Home
last modified time | relevance | path

Searched refs:AutoReset (Results 1 – 25 of 104) sorted by relevance

12345

/external/chromium/base/
Dauto_reset.h22 class AutoReset {
24 AutoReset(T* scoped_variable, T new_value) in AutoReset() function
30 ~AutoReset() { *scoped_variable_ = original_value_; } in ~AutoReset()
36 DISALLOW_COPY_AND_ASSIGN(AutoReset);
/external/chromium_org/base/
Dauto_reset.h22 class AutoReset {
24 AutoReset(T* scoped_variable, T new_value) in AutoReset() function
30 ~AutoReset() { *scoped_variable_ = original_value_; } in ~AutoReset()
36 DISALLOW_COPY_AND_ASSIGN(AutoReset);
/external/chromium_org/ash/wm/overview/
Dwindow_selector_item.cc23 base::AutoReset<bool> auto_reset_in_bounds_update(&in_bounds_update_, true); in SetBounds()
33 base::AutoReset<bool> auto_reset_in_bounds_update(&in_bounds_update_, true); in RecomputeWindowTransforms()
/external/chromium_org/cc/test/
Dfake_painted_scrollbar_layer.cc50 scoped_ptr<base::AutoReset<bool> >
53 new base::AutoReset<bool>(&ignore_set_needs_commit_, true)); in IgnoreSetNeedsCommit()
Dfake_painted_scrollbar_layer.h12 namespace base { template<typename T> class AutoReset; } variable
28 scoped_ptr<base::AutoReset<bool> > IgnoreSetNeedsCommit();
/external/chromium_org/content/browser/dom_storage/
Ddom_storage_message_filter.cc123 base::AutoReset<int> auto_reset(&connection_dispatching_message_for_, in OnSetItem()
143 base::AutoReset<int> auto_reset(&connection_dispatching_message_for_, in OnRemoveItem()
154 base::AutoReset<int> auto_reset(&connection_dispatching_message_for_, in OnClear()
/external/chromium/chrome/browser/notifications/
Dnotification_exceptions_table_model.cc44 AutoReset<bool> tmp(&updates_disabled_, true); in RemoveRows()
62 AutoReset<bool> tmp(&updates_disabled_, true); in RemoveAll()
/external/chromium_org/chrome/browser/ui/webui/ntp/
Dapp_launcher_handler.cc358 base::AutoReset<bool> auto_reset(&ignore_changes_, true); in FillAppDictionary()
405 base::AutoReset<bool> auto_reset(&ignore_changes_, true); in GetAppInfo()
560 base::AutoReset<bool> auto_reset(&ignore_changes_, true); in HandleSetLaunchType()
591 base::AutoReset<bool> auto_reset(&ignore_changes_, true); in HandleUninstallApp()
636 base::AutoReset<bool> auto_reset(&ignore_changes_, true); in HandleReorderApps()
655 base::AutoReset<bool> auto_reset(&ignore_changes_, true); in HandleSetPageIndex()
666 base::AutoReset<bool> auto_reset(&ignore_changes_, true); in HandleSaveAppPageName()
/external/chromium_org/third_party/libjingle/source/talk/base/
Devent_unittest.cc50 TEST(EventTest, AutoReset) { in TEST() argument
/external/chromium/chrome/browser/
Dplugin_exceptions_table_model.cc34 AutoReset<bool> tmp(&updates_disabled_, true); in RemoveRows()
67 AutoReset<bool> tmp(&updates_disabled_, true); in RemoveAll()
/external/chromium/chrome/browser/autocomplete/
Dautocomplete_classifier.cc26 AutoReset<bool> reset(&inside_classify_, true); in Classify()
/external/chromium_org/ash/wm/
Dstatus_area_layout_manager.cc76 base::AutoReset<bool> auto_reset_in_layout(&in_layout_, true); in LayoutStatusArea()
/external/chromium_org/chrome/browser/history/
Dscored_history_match_unittest.cc221 base::AutoReset<int> reset(&ScoredHistoryMatch::bookmark_value_, 5); in TEST_F()
244 base::AutoReset<bool> reset( in TEST_F()
270 base::AutoReset<bool> reset(&ScoredHistoryMatch::allow_tld_matches_, true); in TEST_F()
295 base::AutoReset<bool> reset(&ScoredHistoryMatch::allow_scheme_matches_, true); in TEST_F()
/external/chromium_org/content/browser/renderer_host/input/
Dtouch_input_browsertest.cc90 base::AutoReset<base::Closure> reset_quit(&quit_, run_loop.QuitClosure()); in WaitForAck()
91 base::AutoReset<WebInputEvent::Type> reset_type(&type_, type); in WaitForAck()
/external/chromium_org/content/browser/android/in_process/
Dsynchronous_compositor_output_surface.cc201 base::AutoReset<SkCanvas*> canvas_resetter(&current_sw_canvas_, canvas); in DemandDrawSw()
225 base::AutoReset<bool> invoking_composite_resetter(&invoking_composite_, true); in InvokeComposite()
/external/chromium_org/chrome/browser/ui/webui/
Ddownloads_dom_handler_browsertest.cc65 base::AutoReset<bool> reset_waiting(&waiting_list_, true); in WaitForDownloadsList()
72 base::AutoReset<bool> reset_waiting(&waiting_updated_, true); in WaitForDownloadUpdated()
/external/chromium_org/chrome/browser/autocomplete/
Dautocomplete_classifier.cc42 base::AutoReset<bool> reset(&inside_classify_, true); in Classify()
/external/chromium_org/base/test/
Dmock_chrome_application_mac.mm24 base::AutoReset<BOOL> scoper(&handlingSendEvent_, YES);
/external/chromium_org/ui/base/win/
Dmouse_wheel_util.cc106 base::AutoReset<bool> auto_reset_recursion_break(&recursion_break, true); in RerouteMouseWheel()
/external/chromium_org/content/shell/browser/
Dshell_application_mac.mm21 base::AutoReset<BOOL> scoper(&handlingSendEvent_, YES);
/external/chromium_org/ui/views/win/
Dappbar.cc84 base::AutoReset<bool> in_callback_setter(&in_callback_, true); in OnGotEdges()
/external/chromium_org/cc/scheduler/
Dscheduler.cc321 base::AutoReset<bool> mark_inside(&inside_process_scheduled_actions_, true); in ProcessScheduledActions()
332 base::AutoReset<SchedulerStateMachine::Action> in ProcessScheduledActions()
/external/chromium/chrome/browser/content_settings/
Dhost_content_settings_map_unittest.cc65 AutoReset<CommandLine> auto_reset(cmd, *cmd); in TEST_F()
493 AutoReset<CommandLine> auto_reset(cmd, *cmd); in TEST_F()
577 AutoReset<CommandLine> auto_reset(cmd, *cmd); in TEST_F()
627 AutoReset<CommandLine> auto_reset(cmd, *cmd); in TEST_F()
663 AutoReset<CommandLine> auto_reset(cmd, *cmd); in TEST_F()
/external/chromium_org/ui/views/controls/menu/
Dmenu_host.cc78 base::AutoReset<bool> reseter(&ignore_capture_lost_, true); in ShowMenuHost()
/external/chromium_org/content/child/npapi/
Dnp_channel_base.cc219 base::AutoReset<scoped_refptr<NPChannelBase> > keep_alive( in OnMessageReceived()
282 base::AutoReset<bool> auto_reset_in_remove_route(&in_remove_route_, true); in RemoveRoute()

12345