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

Side by Side Diff: sky/engine/core/page/ChromeClient.h

Issue 842113005: Delete a bunch of noop paint invalidation code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix comment Created 5 years, 11 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/Chrome.cpp ('k') | sky/engine/core/rendering/RenderLayerScrollableArea.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 Apple, Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 virtual void show(NavigationPolicy) = 0; 76 virtual void show(NavigationPolicy) = 0;
77 77
78 virtual bool shouldReportDetailedMessageForSource(const String& source) = 0; 78 virtual bool shouldReportDetailedMessageForSource(const String& source) = 0;
79 virtual void addMessageToConsole(LocalFrame*, MessageSource, MessageLevel, c onst String& message, unsigned lineNumber, const String& sourceID, const String& stackTrace) = 0; 79 virtual void addMessageToConsole(LocalFrame*, MessageSource, MessageLevel, c onst String& message, unsigned lineNumber, const String& sourceID, const String& stackTrace) = 0;
80 80
81 virtual bool tabsToLinks() = 0; 81 virtual bool tabsToLinks() = 0;
82 82
83 virtual void* webView() const = 0; 83 virtual void* webView() const = 0;
84 84
85 // Methods used by HostWindow. 85 // Methods used by HostWindow.
86 virtual void invalidateContentsAndRootView(const IntRect&) = 0;
87 virtual void invalidateContentsForSlowScroll(const IntRect&) = 0;
88 virtual IntRect rootViewToScreen(const IntRect&) const = 0; 86 virtual IntRect rootViewToScreen(const IntRect&) const = 0;
89 virtual blink::WebScreenInfo screenInfo() const = 0; 87 virtual blink::WebScreenInfo screenInfo() const = 0;
90 virtual void setCursor(const Cursor&) = 0; 88 virtual void setCursor(const Cursor&) = 0;
91 virtual void scheduleAnimation() = 0; 89 virtual void scheduleAnimation() = 0;
92 // End methods used by HostWindow. 90 // End methods used by HostWindow.
93 91
94 virtual void layoutUpdated(LocalFrame*) const { } 92 virtual void layoutUpdated(LocalFrame*) const { }
95 93
96 virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned modifier Flags) = 0; 94 virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned modifier Flags) = 0;
97 95
(...skipping 22 matching lines...) Expand all
120 virtual void willSetInputMethodState() { } 118 virtual void willSetInputMethodState() { }
121 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } 119 virtual void didUpdateTextOfFocusedElementByNonUserInput() { }
122 virtual void showImeIfNeeded() { } 120 virtual void showImeIfNeeded() { }
123 121
124 protected: 122 protected:
125 virtual ~ChromeClient() { } 123 virtual ~ChromeClient() { }
126 }; 124 };
127 125
128 } 126 }
129 #endif // SKY_ENGINE_CORE_PAGE_CHROMECLIENT_H_ 127 #endif // SKY_ENGINE_CORE_PAGE_CHROMECLIENT_H_
OLDNEW
« no previous file with comments | « sky/engine/core/page/Chrome.cpp ('k') | sky/engine/core/rendering/RenderLayerScrollableArea.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698