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

Side by Side Diff: sky/engine/web/WebViewImpl.h

Issue 928393003: Remove the concept of document.documentElement (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/web/WebRange.cpp ('k') | sky/engine/web/WebViewImpl.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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 virtual bool handleInputEvent(const WebInputEvent&) override; 74 virtual bool handleInputEvent(const WebInputEvent&) override;
75 virtual void setFocus(bool enable) override; 75 virtual void setFocus(bool enable) override;
76 virtual bool setComposition( 76 virtual bool setComposition(
77 const WebString& text, 77 const WebString& text,
78 const WebVector<WebCompositionUnderline>& underlines, 78 const WebVector<WebCompositionUnderline>& underlines,
79 int selectionStart, 79 int selectionStart,
80 int selectionEnd) override; 80 int selectionEnd) override;
81 virtual bool confirmComposition() override; 81 virtual bool confirmComposition() override;
82 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior ) override; 82 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior ) override;
83 virtual bool confirmComposition(const WebString& text) override; 83 virtual bool confirmComposition(const WebString& text) override;
84 virtual bool compositionRange(size_t* location, size_t* length) override;
85 virtual WebTextInputInfo textInputInfo() override; 84 virtual WebTextInputInfo textInputInfo() override;
86 virtual WebColor backgroundColor() const override;
87 85
88 // WebView methods: 86 // WebView methods:
89 virtual void setMainFrame(WebFrame*) override; 87 virtual void setMainFrame(WebFrame*) override;
90 virtual void injectModule(const WebString&) override; 88 virtual void injectModule(const WebString&) override;
91 virtual void setSpellCheckClient(WebSpellCheckClient*) override; 89 virtual void setSpellCheckClient(WebSpellCheckClient*) override;
92 virtual WebSettings* settings() override; 90 virtual WebSettings* settings() override;
93 virtual bool isTransparent() const override; 91 virtual bool isTransparent() const override;
94 virtual void setIsTransparent(bool value) override; 92 virtual void setIsTransparent(bool value) override;
95 virtual void setBaseBackgroundColor(WebColor) override; 93 virtual void setBaseBackgroundColor(WebColor) override;
96 virtual bool isActive() const override; 94 virtual bool isActive() const override;
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 WebColor m_backgroundColorOverride; 248 WebColor m_backgroundColorOverride;
251 }; 249 };
252 250
253 // We have no ways to check if the specified WebView is an instance of 251 // We have no ways to check if the specified WebView is an instance of
254 // WebViewImpl because WebViewImpl is the only implementation of WebView. 252 // WebViewImpl because WebViewImpl is the only implementation of WebView.
255 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 253 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
256 254
257 } // namespace blink 255 } // namespace blink
258 256
259 #endif // SKY_ENGINE_WEB_WEBVIEWIMPL_H_ 257 #endif // SKY_ENGINE_WEB_WEBVIEWIMPL_H_
OLDNEW
« no previous file with comments | « sky/engine/web/WebRange.cpp ('k') | sky/engine/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698