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

Side by Side Diff: sky/engine/core/page/Page.cpp

Issue 880713003: Rename scheduleAnimation() to scheduleVisualUpdate(). (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: rebase. Created 5 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
« no previous file with comments | « sky/engine/core/page/ChromeClient.h ('k') | sky/engine/core/page/PageAnimator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All R ights Reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All R ights Reserved.
3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 Page* page = frame->page(); 56 Page* page = frame->page();
57 if (!page) 57 if (!page)
58 return 1; 58 return 1;
59 return page->deviceScaleFactor(); 59 return page->deviceScaleFactor();
60 } 60 }
61 61
62 Page::Page(PageClients& pageClients, ServiceProvider& services) 62 Page::Page(PageClients& pageClients, ServiceProvider& services)
63 : SettingsDelegate(Settings::create()) 63 : SettingsDelegate(Settings::create())
64 , m_animator(this) 64 , m_animator(this)
65 , m_autoscrollController(AutoscrollController::create(*this)) 65 , m_autoscrollController(AutoscrollController::create(*this))
66 , m_chrome(Chrome::create(this, pageClients.chromeClient)) 66 , m_chrome(Chrome::create(pageClients.chromeClient))
67 , m_dragCaretController(DragCaretController::create()) 67 , m_dragCaretController(DragCaretController::create())
68 , m_focusController(FocusController::create(this)) 68 , m_focusController(FocusController::create(this))
69 , m_undoStack(UndoStack::create()) 69 , m_undoStack(UndoStack::create())
70 , m_mainFrame(0) 70 , m_mainFrame(0)
71 , m_editorClient(pageClients.editorClient) 71 , m_editorClient(pageClients.editorClient)
72 , m_spellCheckerClient(pageClients.spellCheckerClient) 72 , m_spellCheckerClient(pageClients.spellCheckerClient)
73 , m_deviceScaleFactor(1) 73 , m_deviceScaleFactor(1)
74 , m_timerAlignmentInterval(DOMTimer::visiblePageAlignmentInterval()) 74 , m_timerAlignmentInterval(DOMTimer::visiblePageAlignmentInterval())
75 , m_visibilityState(PageVisibilityStateVisible) 75 , m_visibilityState(PageVisibilityStateVisible)
76 , m_isCursorVisible(true) 76 , m_isCursorVisible(true)
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 , editorClient(0) 279 , editorClient(0)
280 , spellCheckerClient(0) 280 , spellCheckerClient(0)
281 { 281 {
282 } 282 }
283 283
284 Page::PageClients::~PageClients() 284 Page::PageClients::~PageClients()
285 { 285 {
286 } 286 }
287 287
288 } // namespace blink 288 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/page/ChromeClient.h ('k') | sky/engine/core/page/PageAnimator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698