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

Side by Side Diff: Source/core/page/Page.cpp

Issue 145003002: [DevTools] Switch from blink-based to content-based touch emulation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: another rebase Created 6 years, 8 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 | « Source/core/page/Page.h ('k') | Source/core/testing/InternalSettings.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 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 430
431 if (!isInitialState && m_mainFrame) 431 if (!isInitialState && m_mainFrame)
432 m_mainFrame->didChangeVisibilityState(); 432 m_mainFrame->didChangeVisibilityState();
433 } 433 }
434 434
435 PageVisibilityState Page::visibilityState() const 435 PageVisibilityState Page::visibilityState() const
436 { 436 {
437 return m_visibilityState; 437 return m_visibilityState;
438 } 438 }
439 439
440 bool Page::isCursorVisible() const
441 {
442 return m_isCursorVisible && settings().deviceSupportsMouse();
443 }
444
440 void Page::addMultisamplingChangedObserver(MultisamplingChangedObserver* observe r) 445 void Page::addMultisamplingChangedObserver(MultisamplingChangedObserver* observe r)
441 { 446 {
442 m_multisamplingChangedObservers.add(observer); 447 m_multisamplingChangedObservers.add(observer);
443 } 448 }
444 449
445 void Page::removeMultisamplingChangedObserver(MultisamplingChangedObserver* obse rver) 450 void Page::removeMultisamplingChangedObserver(MultisamplingChangedObserver* obse rver)
446 { 451 {
447 m_multisamplingChangedObservers.remove(observer); 452 m_multisamplingChangedObservers.remove(observer);
448 } 453 }
449 454
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 , spellCheckerClient(0) 583 , spellCheckerClient(0)
579 , storageClient(0) 584 , storageClient(0)
580 { 585 {
581 } 586 }
582 587
583 Page::PageClients::~PageClients() 588 Page::PageClients::~PageClients()
584 { 589 {
585 } 590 }
586 591
587 } // namespace WebCore 592 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/page/Page.h ('k') | Source/core/testing/InternalSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698