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

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

Issue 7693019: Enable smooth scrolling on mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 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 | Annotate | Revision Log
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 CONTENT_RENDERER_RENDER_VIEW_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_H_ 6 #define CONTENT_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 653 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, ShowPopupThenNavigate); 664 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, ShowPopupThenNavigate);
665 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, DontIgnoreBackAfterNavEntryLimit); 665 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, DontIgnoreBackAfterNavEntryLimit);
666 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, ImeComposition); 666 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, ImeComposition);
667 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, InsertCharacters); 667 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, InsertCharacters);
668 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, JSBlockSentAfterPageLoad); 668 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, JSBlockSentAfterPageLoad);
669 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, LastCommittedUpdateState); 669 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, LastCommittedUpdateState);
670 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, OnHandleKeyboardEvent); 670 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, OnHandleKeyboardEvent);
671 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, OnImeStateChanged); 671 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, OnImeStateChanged);
672 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, OnNavStateChanged); 672 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, OnNavStateChanged);
673 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, OnSetTextDirection); 673 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, OnSetTextDirection);
674 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, OnUpdateWebPreferences);
674 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, StaleNavigationsIgnored); 675 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, StaleNavigationsIgnored);
675 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, UpdateTargetURLWithInvalidURL); 676 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, UpdateTargetURLWithInvalidURL);
676 #if defined(OS_MACOSX) 677 #if defined(OS_MACOSX)
677 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, MacTestCmdUp); 678 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, MacTestCmdUp);
678 #endif 679 #endif
679 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, SetHistoryLengthAndPrune); 680 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, SetHistoryLengthAndPrune);
680 681
681 typedef std::map<GURL, double> HostZoomLevels; 682 typedef std::map<GURL, double> HostZoomLevels;
682 683
683 // Identifies an accessibility notification from webkit. 684 // Identifies an accessibility notification from webkit.
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
1245 // bunch of stuff, you should probably create a helper class and put your 1246 // bunch of stuff, you should probably create a helper class and put your
1246 // data and methods on that to avoid bloating RenderView more. You can use 1247 // data and methods on that to avoid bloating RenderView more. You can use
1247 // the Observer interface to filter IPC messages and receive frame change 1248 // the Observer interface to filter IPC messages and receive frame change
1248 // notifications. 1249 // notifications.
1249 // --------------------------------------------------------------------------- 1250 // ---------------------------------------------------------------------------
1250 1251
1251 DISALLOW_COPY_AND_ASSIGN(RenderView); 1252 DISALLOW_COPY_AND_ASSIGN(RenderView);
1252 }; 1253 };
1253 1254
1254 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ 1255 #endif // CONTENT_RENDERER_RENDER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698