Linux: Fix clang compile errors.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1485 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
c7d7b9fbbf
commit
4fa7a4d806
6
cef.gypi
6
cef.gypi
|
@ -6,6 +6,8 @@
|
|||
'variables': {
|
||||
'use_ash': 0,
|
||||
'use_aura': 0,
|
||||
# Don't use the chrome style plugin with CEF.
|
||||
'clang_use_chrome_plugins': 0,
|
||||
'conditions': [
|
||||
# Directory for CEF source files.
|
||||
[ 'OS=="win"', {
|
||||
|
@ -17,10 +19,6 @@
|
|||
}, { # OS!="win"
|
||||
'cef_directory' : '<!(echo $CEF_DIRECTORY)',
|
||||
}],
|
||||
[ 'OS=="mac"', {
|
||||
# Don't use the chrome style plugin with CEF.
|
||||
'clang_use_chrome_plugins': 0,
|
||||
}],
|
||||
]
|
||||
}, 'conditions': [
|
||||
['os_posix==1 and OS!="mac" and OS!="android"', {
|
||||
|
|
|
@ -213,10 +213,12 @@ void CefRenderWidgetHostViewOSR::TextInputTypeChanged(
|
|||
void CefRenderWidgetHostViewOSR::ImeCancelComposition() {
|
||||
}
|
||||
|
||||
#if defined(OS_WIN) || defined(USE_AURA)
|
||||
void CefRenderWidgetHostViewOSR::ImeCompositionRangeChanged(
|
||||
const gfx::Range& range,
|
||||
const std::vector<gfx::Rect>& character_bounds) {
|
||||
}
|
||||
#endif
|
||||
#endif // !defined(OS_MACOSX)
|
||||
|
||||
void CefRenderWidgetHostViewOSR::DidUpdateBackingStore(
|
||||
|
|
|
@ -122,9 +122,11 @@ class CefRenderWidgetHostViewOSR : public content::RenderWidgetHostViewBase {
|
|||
ui::TextInputMode mode,
|
||||
bool can_compose_inline) OVERRIDE;
|
||||
virtual void ImeCancelComposition() OVERRIDE;
|
||||
#if defined(OS_MACOSX) || defined(OS_WIN) || defined(USE_AURA)
|
||||
virtual void ImeCompositionRangeChanged(
|
||||
const gfx::Range& range,
|
||||
const std::vector<gfx::Rect>& character_bounds) OVERRIDE;
|
||||
#endif
|
||||
virtual void DidUpdateBackingStore(
|
||||
const gfx::Rect& scroll_rect,
|
||||
const gfx::Vector2d& scroll_delta,
|
||||
|
|
Loading…
Reference in New Issue