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

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

Issue 783393006: Remove relayout due to scrollbars taking up width (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 : public WebLocalFrame 58 : public WebLocalFrame
59 , public RefCounted<WebLocalFrameImpl> { 59 , public RefCounted<WebLocalFrameImpl> {
60 public: 60 public:
61 // WebFrame methods: 61 // WebFrame methods:
62 virtual bool isWebLocalFrame() const override; 62 virtual bool isWebLocalFrame() const override;
63 virtual WebLocalFrame* toWebLocalFrame() override; 63 virtual WebLocalFrame* toWebLocalFrame() override;
64 virtual void close() override; 64 virtual void close() override;
65 virtual WebSize contentsSize() const override; 65 virtual WebSize contentsSize() const override;
66 virtual bool hasVisibleContent() const override; 66 virtual bool hasVisibleContent() const override;
67 virtual WebRect visibleContentRect() const override; 67 virtual WebRect visibleContentRect() const override;
68 virtual bool hasHorizontalScrollbar() const override;
69 virtual bool hasVerticalScrollbar() const override;
70 virtual WebView* view() const override; 68 virtual WebView* view() const override;
71 virtual WebDocument document() const override; 69 virtual WebDocument document() const override;
72 virtual void executeScript(const WebScriptSource&) override; 70 virtual void executeScript(const WebScriptSource&) override;
73 virtual void addMessageToConsole(const WebConsoleMessage&) override; 71 virtual void addMessageToConsole(const WebConsoleMessage&) override;
74 virtual void collectGarbage() override; 72 virtual void collectGarbage() override;
75 virtual v8::Handle<v8::Value> executeScriptAndReturnValue( 73 virtual v8::Handle<v8::Value> executeScriptAndReturnValue(
76 const WebScriptSource&) override; 74 const WebScriptSource&) override;
77 virtual v8::Handle<v8::Value> callFunctionEvenIfScriptDisabled( 75 virtual v8::Handle<v8::Value> callFunctionEvenIfScriptDisabled(
78 v8::Handle<v8::Function>, 76 v8::Handle<v8::Function>,
79 v8::Handle<v8::Value>, 77 v8::Handle<v8::Value>,
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 // Stores the additional input events offset and scale when device metrics e mulation is enabled. 165 // Stores the additional input events offset and scale when device metrics e mulation is enabled.
168 IntSize m_inputEventsOffsetForEmulation; 166 IntSize m_inputEventsOffsetForEmulation;
169 float m_inputEventsScaleFactorForEmulation; 167 float m_inputEventsScaleFactorForEmulation;
170 }; 168 };
171 169
172 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 170 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
173 171
174 } // namespace blink 172 } // namespace blink
175 173
176 #endif // SKY_ENGINE_WEB_WEBLOCALFRAMEIMPL_H_ 174 #endif // SKY_ENGINE_WEB_WEBLOCALFRAMEIMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698