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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 2177333002: Move setWindowRect and windowRect calls from WebViewClient to WebWidgetClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change CHECK to a DCHECK Created 4 years, 4 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 const blink::WebFloatPoint& positionInViewport, 308 const blink::WebFloatPoint& positionInViewport,
309 const blink::WebFloatSize& velocityInViewport) override; 309 const blink::WebFloatSize& velocityInViewport) override;
310 void didUpdateTextOfFocusedElementByNonUserInput() override; 310 void didUpdateTextOfFocusedElementByNonUserInput() override;
311 void hasTouchEventHandlers(bool has_handlers) override; 311 void hasTouchEventHandlers(bool has_handlers) override;
312 blink::WebLayerTreeView* layerTreeView() override; 312 blink::WebLayerTreeView* layerTreeView() override;
313 void resetInputMethod() override; 313 void resetInputMethod() override;
314 blink::WebScreenInfo screenInfo() override; 314 blink::WebScreenInfo screenInfo() override;
315 void setToolTipText(const blink::WebString&, 315 void setToolTipText(const blink::WebString&,
316 blink::WebTextDirection hint) override; 316 blink::WebTextDirection hint) override;
317 void setTouchAction(blink::WebTouchAction touchAction) override; 317 void setTouchAction(blink::WebTouchAction touchAction) override;
318 void setWindowRect(const blink::WebRect& rect) override;
319 void showImeIfNeeded() override; 318 void showImeIfNeeded() override;
320 void showUnhandledTapUIIfNeeded(const blink::WebPoint& tappedPosition, 319 void showUnhandledTapUIIfNeeded(const blink::WebPoint& tappedPosition,
321 const blink::WebNode& tappedNode, 320 const blink::WebNode& tappedNode,
322 bool pageChanged) override; 321 bool pageChanged) override;
323 blink::WebRect windowRect() override;
324 blink::WebRect windowResizerRect() override; 322 blink::WebRect windowResizerRect() override;
325 blink::WebWidgetClient* widgetClient() override; 323 blink::WebWidgetClient* widgetClient() override;
326 324
327 // blink::WebViewClient implementation -------------------------------------- 325 // blink::WebViewClient implementation --------------------------------------
328 326
329 blink::WebView* createView(blink::WebLocalFrame* creator, 327 blink::WebView* createView(blink::WebLocalFrame* creator,
330 const blink::WebURLRequest& request, 328 const blink::WebURLRequest& request,
331 const blink::WebWindowFeatures& features, 329 const blink::WebWindowFeatures& features,
332 const blink::WebString& frame_name, 330 const blink::WebString& frame_name,
333 blink::WebNavigationPolicy policy, 331 blink::WebNavigationPolicy policy,
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 // use the Observer interface to filter IPC messages and receive frame change 925 // use the Observer interface to filter IPC messages and receive frame change
928 // notifications. 926 // notifications.
929 // --------------------------------------------------------------------------- 927 // ---------------------------------------------------------------------------
930 928
931 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 929 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
932 }; 930 };
933 931
934 } // namespace content 932 } // namespace content
935 933
936 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 934 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | third_party/WebKit/Source/core/page/ChromeClient.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698