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

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: fixcaller 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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 // renderer. 421 // renderer.
422 bool pinch_zoom_enabled_; 422 bool pinch_zoom_enabled_;
423 423
424 private: 424 private:
425 void FlushInput(); 425 void FlushInput();
426 426
427 gfx::Rect current_display_area_; 427 gfx::Rect current_display_area_;
428 428
429 uint32 renderer_frame_number_; 429 uint32 renderer_frame_number_;
430 430
431 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; 431 base::OneShotTimer flush_input_timer_;
432 432
433 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; 433 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_;
434 434
435 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 435 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
436 }; 436 };
437 437
438 } // namespace content 438 } // namespace content
439 439
440 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 440 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/input/timeout_monitor.h ('k') | content/browser/renderer_host/websocket_dispatcher_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698