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

Side by Side Diff: content/public/browser/web_contents.h

Issue 10979019: [gtk] fix zoom bubble showing up on wrong window (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PUBLIC_BROWSER_WEB_CONTENTS_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback_forward.h" 9 #include "base/callback_forward.h"
10 #include "base/process_util.h" 10 #include "base/process_util.h"
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 // such as closing the window. The setter is maintained by TabStripModel, and 327 // such as closing the window. The setter is maintained by TabStripModel, and
328 // the getter only useful from within TAB_CLOSED notification 328 // the getter only useful from within TAB_CLOSED notification
329 virtual void SetClosedByUserGesture(bool value) = 0; 329 virtual void SetClosedByUserGesture(bool value) = 0;
330 virtual bool GetClosedByUserGesture() const = 0; 330 virtual bool GetClosedByUserGesture() const = 0;
331 331
332 // Gets the zoom level for this tab. 332 // Gets the zoom level for this tab.
333 virtual double GetZoomLevel() const = 0; 333 virtual double GetZoomLevel() const = 0;
334 334
335 // Gets the zoom percent for this tab. 335 // Gets the zoom percent for this tab.
336 virtual int GetZoomPercent(bool* enable_increment, 336 virtual int GetZoomPercent(bool* enable_increment,
337 bool* enable_decrement) = 0; 337 bool* enable_decrement) const = 0;
338 338
339 // Opens view-source tab for this contents. 339 // Opens view-source tab for this contents.
340 virtual void ViewSource() = 0; 340 virtual void ViewSource() = 0;
341 341
342 virtual void ViewFrameSource(const GURL& url, 342 virtual void ViewFrameSource(const GURL& url,
343 const std::string& content_state)= 0; 343 const std::string& content_state)= 0;
344 344
345 // Gets the minimum/maximum zoom percent. 345 // Gets the minimum/maximum zoom percent.
346 virtual int GetMinimumZoomPercent() const = 0; 346 virtual int GetMinimumZoomPercent() const = 0;
347 virtual int GetMaximumZoomPercent() const = 0; 347 virtual int GetMaximumZoomPercent() const = 0;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 // Focuses the location bar. 379 // Focuses the location bar.
380 virtual void SetFocusToLocationBar(bool select_all) = 0; 380 virtual void SetFocusToLocationBar(bool select_all) = 0;
381 381
382 // Does this have an opener associated with it? 382 // Does this have an opener associated with it?
383 virtual bool HasOpener() const = 0; 383 virtual bool HasOpener() const = 0;
384 }; 384 };
385 385
386 } // namespace content 386 } // namespace content
387 387
388 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 388 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698