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

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

Issue 763013002: Get rid of the remaining uses of GraphicsLayer. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix diff Created 6 years 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/loader/EmptyClients.h ('k') | sky/engine/core/rendering/RenderLayer.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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 virtual void setCursor(const Cursor&) = 0; 92 virtual void setCursor(const Cursor&) = 0;
93 virtual void scheduleAnimation() = 0; 93 virtual void scheduleAnimation() = 0;
94 // End methods used by HostWindow. 94 // End methods used by HostWindow.
95 95
96 virtual void layoutUpdated(LocalFrame*) const { } 96 virtual void layoutUpdated(LocalFrame*) const { }
97 97
98 virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned modifier Flags) = 0; 98 virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned modifier Flags) = 0;
99 99
100 virtual void setToolTip(const String&, TextDirection) = 0; 100 virtual void setToolTip(const String&, TextDirection) = 0;
101 101
102 // Allows ports to customize the type of graphics layers created by this pag e.
103 virtual GraphicsLayerFactory* graphicsLayerFactory() const { return 0; }
104
105 // Pass 0 as the GraphicsLayer to detatch the root layer.
106 virtual void attachRootGraphicsLayer(GraphicsLayer*) = 0;
107
108 virtual void setTouchAction(TouchAction) = 0; 102 virtual void setTouchAction(TouchAction) = 0;
109 103
110 virtual String acceptLanguages() = 0; 104 virtual String acceptLanguages() = 0;
111 105
112 enum DialogType { 106 enum DialogType {
113 AlertDialog = 0, 107 AlertDialog = 0,
114 ConfirmDialog = 1, 108 ConfirmDialog = 1,
115 PromptDialog = 2, 109 PromptDialog = 2,
116 HTMLDialog = 3 110 HTMLDialog = 3
117 }; 111 };
(...skipping 10 matching lines...) Expand all
128 virtual void willSetInputMethodState() { } 122 virtual void willSetInputMethodState() { }
129 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } 123 virtual void didUpdateTextOfFocusedElementByNonUserInput() { }
130 virtual void showImeIfNeeded() { } 124 virtual void showImeIfNeeded() { }
131 125
132 protected: 126 protected:
133 virtual ~ChromeClient() { } 127 virtual ~ChromeClient() { }
134 }; 128 };
135 129
136 } 130 }
137 #endif // SKY_ENGINE_CORE_PAGE_CHROMECLIENT_H_ 131 #endif // SKY_ENGINE_CORE_PAGE_CHROMECLIENT_H_
OLDNEW
« no previous file with comments | « sky/engine/core/loader/EmptyClients.h ('k') | sky/engine/core/rendering/RenderLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698