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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_base.h

Issue 1355063004: Template methods on Timer classes instead of the classes themselves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer: . Created 5 years, 3 months 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 // renderer. 424 // renderer.
425 bool pinch_zoom_enabled_; 425 bool pinch_zoom_enabled_;
426 426
427 private: 427 private:
428 void FlushInput(); 428 void FlushInput();
429 429
430 gfx::Rect current_display_area_; 430 gfx::Rect current_display_area_;
431 431
432 uint32 renderer_frame_number_; 432 uint32 renderer_frame_number_;
433 433
434 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; 434 base::OneShotTimer flush_input_timer_;
435 435
436 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; 436 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_;
437 437
438 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 438 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
439 }; 439 };
440 440
441 } // namespace content 441 } // namespace content
442 442
443 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 443 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698