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

Side by Side Diff: Source/WebKit/chromium/src/WebViewImpl.h

Issue 6532004: DO NOT SUBMIT (Closed) Base URL: git://git.webkit.org/WebKit.git@master
Patch Set: Migrate WebTextHelper Created 9 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
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 16 matching lines...) Expand all
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef WebViewImpl_h 31 #ifndef WebViewImpl_h
32 #define WebViewImpl_h 32 #define WebViewImpl_h
33 33
34 #include "WebNavigationPolicy.h" 34 #include "WebNavigationPolicy.h"
35 #include "WebPoint.h" 35 #include "WebPoint.h"
36 #include "WebRect.h" 36 #include "WebRect.h"
37 #include "WebRect.h"
37 #include "WebSize.h" 38 #include "WebSize.h"
38 #include "WebString.h" 39 #include "WebString.h"
39 #include "WebView.h" 40 #include "WebView.h"
40 41
41 #include "ChromeClientImpl.h" 42 #include "ChromeClientImpl.h"
42 #include "ContextMenuClientImpl.h" 43 #include "ContextMenuClientImpl.h"
43 #include "DragClientImpl.h" 44 #include "DragClientImpl.h"
44 #include "EditorClientImpl.h" 45 #include "EditorClientImpl.h"
45 #include "GraphicsContext3D.h" 46 #include "GraphicsContext3D.h"
46 #include "GraphicsLayer.h" 47 #include "GraphicsLayer.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 virtual bool handleInputEvent(const WebInputEvent&); 101 virtual bool handleInputEvent(const WebInputEvent&);
101 virtual void mouseCaptureLost(); 102 virtual void mouseCaptureLost();
102 virtual void setFocus(bool enable); 103 virtual void setFocus(bool enable);
103 virtual bool setComposition( 104 virtual bool setComposition(
104 const WebString& text, 105 const WebString& text,
105 const WebVector<WebCompositionUnderline>& underlines, 106 const WebVector<WebCompositionUnderline>& underlines,
106 int selectionStart, 107 int selectionStart,
107 int selectionEnd); 108 int selectionEnd);
108 virtual bool confirmComposition(); 109 virtual bool confirmComposition();
109 virtual bool confirmComposition(const WebString& text); 110 virtual bool confirmComposition(const WebString& text);
111 virtual WebRange compositionRange();
110 virtual WebTextInputType textInputType(); 112 virtual WebTextInputType textInputType();
111 virtual WebRect caretOrSelectionBounds(); 113 virtual WebRect caretOrSelectionBounds();
114 virtual WebRange caretOrSelectionRange();
112 virtual void setTextDirection(WebTextDirection direction); 115 virtual void setTextDirection(WebTextDirection direction);
113 virtual bool isAcceleratedCompositingActive() const; 116 virtual bool isAcceleratedCompositingActive() const;
114 117
115 // WebView methods: 118 // WebView methods:
116 virtual void initializeMainFrame(WebFrameClient*); 119 virtual void initializeMainFrame(WebFrameClient*);
117 virtual WebSettings* settings(); 120 virtual WebSettings* settings();
118 virtual WebString pageEncoding() const; 121 virtual WebString pageEncoding() const;
119 virtual void setPageEncoding(const WebString& encoding); 122 virtual void setPageEncoding(const WebString& encoding);
120 virtual bool isTransparent() const; 123 virtual bool isTransparent() const;
121 virtual void setIsTransparent(bool value); 124 virtual void setIsTransparent(bool value);
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 // the compositor has been turned on, we need to instantiate it 549 // the compositor has been turned on, we need to instantiate it
547 // early. This member holds on to the GC3D in this case. 550 // early. This member holds on to the GC3D in this case.
548 RefPtr<WebCore::GraphicsContext3D> m_temporaryOnscreenGraphicsContext3D; 551 RefPtr<WebCore::GraphicsContext3D> m_temporaryOnscreenGraphicsContext3D;
549 OwnPtr<DeviceOrientationClientProxy> m_deviceOrientationClientProxy; 552 OwnPtr<DeviceOrientationClientProxy> m_deviceOrientationClientProxy;
550 OwnPtr<GeolocationClientProxy> m_geolocationClientProxy; 553 OwnPtr<GeolocationClientProxy> m_geolocationClientProxy;
551 }; 554 };
552 555
553 } // namespace WebKit 556 } // namespace WebKit
554 557
555 #endif 558 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698