OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WEBKIT_GLUE_WEBVIEW_IMPL_H_ | 5 #ifndef WEBKIT_GLUE_WEBVIEW_IMPL_H_ |
6 #define WEBKIT_GLUE_WEBVIEW_IMPL_H_ | 6 #define WEBKIT_GLUE_WEBVIEW_IMPL_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 virtual bool handleCompositionEvent(WebKit::WebCompositionCommand command, | 75 virtual bool handleCompositionEvent(WebKit::WebCompositionCommand command, |
76 int cursor_position, | 76 int cursor_position, |
77 int target_start, | 77 int target_start, |
78 int target_end, | 78 int target_end, |
79 const WebKit::WebString& text); | 79 const WebKit::WebString& text); |
80 virtual bool queryCompositionStatus(bool* enabled, | 80 virtual bool queryCompositionStatus(bool* enabled, |
81 WebKit::WebRect* caret_rect); | 81 WebKit::WebRect* caret_rect); |
82 virtual void setTextDirection(WebKit::WebTextDirection direction); | 82 virtual void setTextDirection(WebKit::WebTextDirection direction); |
83 | 83 |
84 // WebView methods: | 84 // WebView methods: |
85 virtual void InitializeMainFrame(); | 85 virtual void InitializeMainFrame(WebKit::WebFrameClient* frame_client); |
86 virtual bool ShouldClose(); | 86 virtual bool ShouldClose(); |
87 virtual void ClosePage(); | 87 virtual void ClosePage(); |
88 virtual WebViewDelegate* GetDelegate(); | 88 virtual WebViewDelegate* GetDelegate(); |
89 virtual void SetTabKeyCyclesThroughElements(bool value); | 89 virtual void SetTabKeyCyclesThroughElements(bool value); |
90 virtual WebKit::WebFrame* GetMainFrame(); | 90 virtual WebKit::WebFrame* GetMainFrame(); |
91 virtual WebKit::WebFrame* GetFocusedFrame(); | 91 virtual WebKit::WebFrame* GetFocusedFrame(); |
92 virtual void SetFocusedFrame(WebKit::WebFrame* frame); | 92 virtual void SetFocusedFrame(WebKit::WebFrame* frame); |
93 virtual WebKit::WebFrame* GetFrameWithName(const WebKit::WebString& name); | 93 virtual WebKit::WebFrame* GetFrameWithName(const WebKit::WebString& name); |
94 virtual WebKit::WebFrame* GetPreviousFrameBefore(WebKit::WebFrame* frame, | 94 virtual WebKit::WebFrame* GetPreviousFrameBefore(WebKit::WebFrame* frame, |
95 bool wrap); | 95 bool wrap); |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 static const WebKit::WebInputEvent* current_input_event() { | 409 static const WebKit::WebInputEvent* current_input_event() { |
410 return g_current_input_event; | 410 return g_current_input_event; |
411 } | 411 } |
412 private: | 412 private: |
413 static const WebKit::WebInputEvent* g_current_input_event; | 413 static const WebKit::WebInputEvent* g_current_input_event; |
414 | 414 |
415 DISALLOW_COPY_AND_ASSIGN(WebViewImpl); | 415 DISALLOW_COPY_AND_ASSIGN(WebViewImpl); |
416 }; | 416 }; |
417 | 417 |
418 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H_ | 418 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H_ |
OLD | NEW |