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

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

Issue 880643007: Merge WebWidgetClient into WebViewClient. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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/loader/EmptyClients.h ('k') | sky/engine/public/BUILD.gn » ('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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 scheduleAnimation() = 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 void setTouchAction(TouchAction) = 0;
93
94 virtual String acceptLanguages() = 0; 92 virtual String acceptLanguages() = 0;
95 93
96 enum DialogType { 94 enum DialogType {
97 AlertDialog = 0, 95 AlertDialog = 0,
98 ConfirmDialog = 1, 96 ConfirmDialog = 1,
99 PromptDialog = 2, 97 PromptDialog = 2,
100 HTMLDialog = 3 98 HTMLDialog = 3
101 }; 99 };
102 100
103 virtual FloatSize minimumWindowSize() const { return FloatSize(100, 100); }; 101 virtual FloatSize minimumWindowSize() const { return FloatSize(100, 100); };
104 102
105 virtual bool isChromeClientImpl() const { return false; } 103 virtual bool isChromeClientImpl() const { return false; }
106 104
107 // Input mehtod editor related functions. 105 // Input mehtod editor related functions.
108 virtual void willSetInputMethodState() { } 106 virtual void willSetInputMethodState() { }
109 virtual void didUpdateTextOfFocusedElementByNonUserInput() { }
110 virtual void showImeIfNeeded() { }
111 107
112 protected: 108 protected:
113 virtual ~ChromeClient() { } 109 virtual ~ChromeClient() { }
114 }; 110 };
115 111
116 } 112 }
117 #endif // SKY_ENGINE_CORE_PAGE_CHROMECLIENT_H_ 113 #endif // SKY_ENGINE_CORE_PAGE_CHROMECLIENT_H_
OLDNEW
« no previous file with comments | « sky/engine/core/loader/EmptyClients.h ('k') | sky/engine/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698