/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/ui/events/platform/ |
scoped_event_dispatcher.h | 33 base::AutoReset<PlatformEventDispatcher*> restore_;
|
/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_org/third_party/webrtc/base/ |
event_unittest.cc | 33 TEST(EventTest, AutoReset) {
|
/external/chromium_org/ash/wm/ |
status_area_layout_manager.cc | 75 base::AutoReset<bool> auto_reset_in_layout(&in_layout_, true);
|
/external/chromium_org/chrome/browser/autocomplete/ |
autocomplete_classifier.cc | 45 base::AutoReset<bool> reset(&inside_classify_, true);
|
/external/chromium_org/components/dom_distiller/core/ |
fake_distiller.cc | 84 base::AutoReset<bool> dont_delete_this_in_callback(&destruction_allowed_,
|
/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/events/gesture_detection/ |
filtered_gesture_provider.cc | 23 base::AutoReset<bool> handling_event(&handling_event_, true);
|
/external/chromium_org/chrome/browser/undo/ |
undo_manager.cc | 189 base::AutoReset<bool> incoming_changes(performing_indicator, true); 191 base::AutoReset<UndoGroup*> action_context(&undo_in_progress_action_,
|
/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/cc/layers/ |
content_layer.cc | 77 base::AutoReset<bool> ignore_set_needs_commit(&ignore_set_needs_commit_,
|
/external/chromium_org/ui/events/gestures/ |
gesture_provider_aura.cc | 56 base::AutoReset<bool> handling_event(&handling_event_, true);
|
/external/chromium_org/ui/views/controls/menu/ |
menu_host.cc | 68 base::AutoReset<bool> reseter(&ignore_capture_lost_, true);
|
menu_message_loop_aura.cc | 137 base::AutoReset<base::Closure> reset_quit_closure(&message_loop_quit_,
|
/external/chromium_org/base/message_loop/ |
message_pump_libevent.cc | 220 AutoReset<bool> auto_reset_keep_running(&keep_running_, true); 221 AutoReset<bool> auto_reset_in_run(&in_run_, true);
|
/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 | 188 base::AutoReset<SkCanvas*> canvas_resetter(¤t_sw_canvas_, canvas); 216 base::AutoReset<bool> invoking_composite_resetter(&invoking_composite_, true);
|
/external/chromium_org/content/browser/renderer_host/input/ |
touch_input_browsertest.cc | 92 base::AutoReset<base::Closure> reset_quit(&quit_, run_loop.QuitClosure()); 93 base::AutoReset<WebInputEvent::Type> reset_type(&type_, type);
|
/external/chromium_org/chrome/browser/ui/webui/ntp/ |
app_launcher_handler.cc | 365 base::AutoReset<bool> auto_reset(&ignore_changes_, true); 402 base::AutoReset<bool> auto_reset(&ignore_changes_, true); 562 base::AutoReset<bool> auto_reset(&ignore_changes_, true); 592 base::AutoReset<bool> auto_reset(&ignore_changes_, true); 637 base::AutoReset<bool> auto_reset(&ignore_changes_, true); 657 base::AutoReset<bool> auto_reset(&ignore_changes_, true); 668 base::AutoReset<bool> auto_reset(&ignore_changes_, true);
|
/external/chromium_org/ash/wm/maximize_mode/ |
workspace_backdrop_delegate.cc | 114 base::AutoReset<bool> lock(&in_restacking_, true);
|
/external/chromium_org/mojo/services/view_manager/ |
root_view_manager.cc | 137 base::AutoReset<bool> resetter(&in_setup_, true);
|
/external/chromium_org/ui/events/ |
event_dispatcher.cc | 188 base::AutoReset<Event*> event_reset(¤t_event_, event);
|