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

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

Issue 880713003: Rename scheduleAnimation() to scheduleVisualUpdate(). (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: rebase. 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/page/Page.cpp » ('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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 void* webView() const = 0; 81 virtual void* webView() const = 0;
82 82
83 // Methods used by HostWindow. 83 // Methods used by HostWindow.
84 virtual IntRect rootViewToScreen(const IntRect&) const = 0; 84 virtual IntRect rootViewToScreen(const IntRect&) const = 0;
85 virtual blink::WebScreenInfo screenInfo() const = 0; 85 virtual blink::WebScreenInfo screenInfo() const = 0;
86 virtual void setCursor(const Cursor&) = 0; 86 virtual void setCursor(const Cursor&) = 0;
87 virtual void scheduleAnimation() = 0; 87 virtual void scheduleVisualUpdate() = 0;
88 // End methods used by HostWindow. 88 // End methods used by HostWindow.
89 89
90 virtual void layoutUpdated(LocalFrame*) const { } 90 virtual void layoutUpdated(LocalFrame*) const { }
91 91
92 virtual String acceptLanguages() = 0; 92 virtual String acceptLanguages() = 0;
93 93
94 enum DialogType { 94 enum DialogType {
95 AlertDialog = 0, 95 AlertDialog = 0,
96 ConfirmDialog = 1, 96 ConfirmDialog = 1,
97 PromptDialog = 2, 97 PromptDialog = 2,
98 HTMLDialog = 3 98 HTMLDialog = 3
99 }; 99 };
100 100
101 virtual FloatSize minimumWindowSize() const { return FloatSize(100, 100); }; 101 virtual FloatSize minimumWindowSize() const { return FloatSize(100, 100); };
102 102
103 virtual bool isChromeClientImpl() const { return false; } 103 virtual bool isChromeClientImpl() const { return false; }
104 104
105 // Input mehtod editor related functions. 105 // Input mehtod editor related functions.
106 virtual void willSetInputMethodState() { } 106 virtual void willSetInputMethodState() { }
107 107
108 protected: 108 protected:
109 virtual ~ChromeClient() { } 109 virtual ~ChromeClient() { }
110 }; 110 };
111 111
112 } 112 }
113 #endif // SKY_ENGINE_CORE_PAGE_CHROMECLIENT_H_ 113 #endif // SKY_ENGINE_CORE_PAGE_CHROMECLIENT_H_
OLDNEW
« no previous file with comments | « sky/engine/core/page/Chrome.cpp ('k') | sky/engine/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698