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

Side by Side Diff: chrome/renderer/render_view.h

Issue 6532012: Set the minimum timer interval on a per-page basis, and adjust it when... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_RENDERER_RENDER_VIEW_H_ 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_
6 #define CHROME_RENDERER_RENDER_VIEW_H_ 6 #define CHROME_RENDERER_RENDER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 virtual void DidInitiatePaint(); 645 virtual void DidInitiatePaint();
646 virtual webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint( 646 virtual webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint(
647 const gfx::Rect& paint_bounds, 647 const gfx::Rect& paint_bounds,
648 TransportDIB** dib, 648 TransportDIB** dib,
649 gfx::Rect* location, 649 gfx::Rect* location,
650 gfx::Rect* clip); 650 gfx::Rect* clip);
651 virtual gfx::Point GetScrollOffset(); 651 virtual gfx::Point GetScrollOffset();
652 virtual void DidHandleKeyEvent(); 652 virtual void DidHandleKeyEvent();
653 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event); 653 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event);
654 virtual void OnSetFocus(bool enable); 654 virtual void OnSetFocus(bool enable);
655 #if OS_MACOSX
656 virtual void OnWasHidden(); 655 virtual void OnWasHidden();
657 virtual void OnWasRestored(bool needs_repainting); 656 virtual void OnWasRestored(bool needs_repainting);
658 #endif
659 657
660 private: 658 private:
661 // For unit tests. 659 // For unit tests.
662 friend class ExternalPopupMenuTest; 660 friend class ExternalPopupMenuTest;
663 friend class PepperDeviceTest; 661 friend class PepperDeviceTest;
664 friend class RenderViewTest; 662 friend class RenderViewTest;
665 663
666 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, NormalCase); 664 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, NormalCase);
667 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, ShowPopupThenNavigate); 665 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, ShowPopupThenNavigate);
668 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuRemoveTest, RemoveOnChange); 666 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuRemoveTest, RemoveOnChange);
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after
1428 // bunch of stuff, you should probably create a helper class and put your 1426 // bunch of stuff, you should probably create a helper class and put your
1429 // data and methods on that to avoid bloating RenderView more. You can use 1427 // data and methods on that to avoid bloating RenderView more. You can use
1430 // the Observer interface to filter IPC messages and receive frame change 1428 // the Observer interface to filter IPC messages and receive frame change
1431 // notifications. 1429 // notifications.
1432 // --------------------------------------------------------------------------- 1430 // ---------------------------------------------------------------------------
1433 1431
1434 DISALLOW_COPY_AND_ASSIGN(RenderView); 1432 DISALLOW_COPY_AND_ASSIGN(RenderView);
1435 }; 1433 };
1436 1434
1437 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 1435 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698